Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
rqt_multiplot::MessageFieldWidget Class Reference

#include <MessageFieldWidget.h>

Inheritance diagram for rqt_multiplot::MessageFieldWidget:
Inheritance graph
[legend]

Signals

void connected (const QString &topic)
 
void connecting (const QString &topic)
 
void connectionTimeout (const QString &topic, double timeout)
 
void currentFieldChanged (const QString &field)
 
void loadingFailed (const QString &error)
 
void loadingFinished ()
 
void loadingStarted ()
 

Public Member Functions

void connectTopic (const QString &topic, double timeout=0.0)
 
QString getCurrentField () const
 
variant_topic_tools::DataType getCurrentFieldDataType () const
 
variant_topic_tools::MessageDataType getCurrentMessageDataType () const
 
QString getCurrentMessageType () const
 
bool isConnecting () const
 
bool isCurrentFieldDefined () const
 
bool isLoading () const
 
void loadFields (const QString &type)
 
 MessageFieldWidget (QWidget *parent=0)
 
void setCurrentField (const QString &field)
 
virtual ~MessageFieldWidget ()
 

Private Slots

void connectionTimerTimeout ()
 
void lineEditCurrentFieldChanged (const QString &field)
 
void loaderLoadingFailed (const QString &error)
 
void loaderLoadingFinished ()
 
void loaderLoadingStarted ()
 
void subscriberMessageReceived (const QString &topic, const Message &message)
 
void treeWidgetCurrentFieldChanged (const QString &field)
 

Private Member Functions

void disconnect ()
 

Private Attributes

QTimer * connectionTimer_
 
QString currentField_
 
bool isConnecting_
 
bool isLoading_
 
MessageDefinitionLoaderloader_
 
MessageSubscriberRegistryregistry_
 
QString subscribedTopic_
 
Ui::MessageFieldWidget * ui_
 

Detailed Description

Definition at line 36 of file MessageFieldWidget.h.

Constructor & Destructor Documentation

rqt_multiplot::MessageFieldWidget::MessageFieldWidget ( QWidget *  parent = 0)

Definition at line 29 of file MessageFieldWidget.cpp.

rqt_multiplot::MessageFieldWidget::~MessageFieldWidget ( )
virtual

Definition at line 57 of file MessageFieldWidget.cpp.

Member Function Documentation

void rqt_multiplot::MessageFieldWidget::connected ( const QString &  topic)
signal
void rqt_multiplot::MessageFieldWidget::connecting ( const QString &  topic)
signal
void rqt_multiplot::MessageFieldWidget::connectionTimeout ( const QString &  topic,
double  timeout 
)
signal
void rqt_multiplot::MessageFieldWidget::connectionTimerTimeout ( )
privateslot

Definition at line 209 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::connectTopic ( const QString &  topic,
double  timeout = 0.0 
)

Definition at line 120 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::currentFieldChanged ( const QString &  field)
signal
void rqt_multiplot::MessageFieldWidget::disconnect ( )
private

Definition at line 147 of file MessageFieldWidget.cpp.

QString rqt_multiplot::MessageFieldWidget::getCurrentField ( ) const

Definition at line 84 of file MessageFieldWidget.cpp.

variant_topic_tools::DataType rqt_multiplot::MessageFieldWidget::getCurrentFieldDataType ( ) const

Definition at line 89 of file MessageFieldWidget.cpp.

variant_topic_tools::MessageDataType rqt_multiplot::MessageFieldWidget::getCurrentMessageDataType ( ) const

Definition at line 69 of file MessageFieldWidget.cpp.

QString rqt_multiplot::MessageFieldWidget::getCurrentMessageType ( ) const

Definition at line 64 of file MessageFieldWidget.cpp.

bool rqt_multiplot::MessageFieldWidget::isConnecting ( ) const

Definition at line 97 of file MessageFieldWidget.cpp.

bool rqt_multiplot::MessageFieldWidget::isCurrentFieldDefined ( ) const

Definition at line 101 of file MessageFieldWidget.cpp.

bool rqt_multiplot::MessageFieldWidget::isLoading ( ) const

Definition at line 93 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::lineEditCurrentFieldChanged ( const QString &  field)
privateslot

Definition at line 223 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::loaderLoadingFailed ( const QString &  error)
privateslot

Definition at line 184 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::loaderLoadingFinished ( )
privateslot

Definition at line 168 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::loaderLoadingStarted ( )
privateslot

Definition at line 159 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::loadFields ( const QString &  type)

Definition at line 109 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::loadingFailed ( const QString &  error)
signal
void rqt_multiplot::MessageFieldWidget::loadingFinished ( )
signal
void rqt_multiplot::MessageFieldWidget::loadingStarted ( )
signal
void rqt_multiplot::MessageFieldWidget::setCurrentField ( const QString &  field)

Definition at line 73 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::subscriberMessageReceived ( const QString &  topic,
const Message message 
)
privateslot

Definition at line 191 of file MessageFieldWidget.cpp.

void rqt_multiplot::MessageFieldWidget::treeWidgetCurrentFieldChanged ( const QString &  field)
privateslot

Definition at line 227 of file MessageFieldWidget.cpp.

Member Data Documentation

QTimer* rqt_multiplot::MessageFieldWidget::connectionTimer_
private

Definition at line 77 of file MessageFieldWidget.h.

QString rqt_multiplot::MessageFieldWidget::currentField_
private

Definition at line 69 of file MessageFieldWidget.h.

bool rqt_multiplot::MessageFieldWidget::isConnecting_
private

Definition at line 75 of file MessageFieldWidget.h.

bool rqt_multiplot::MessageFieldWidget::isLoading_
private

Definition at line 72 of file MessageFieldWidget.h.

MessageDefinitionLoader* rqt_multiplot::MessageFieldWidget::loader_
private

Definition at line 71 of file MessageFieldWidget.h.

MessageSubscriberRegistry* rqt_multiplot::MessageFieldWidget::registry_
private

Definition at line 74 of file MessageFieldWidget.h.

QString rqt_multiplot::MessageFieldWidget::subscribedTopic_
private

Definition at line 76 of file MessageFieldWidget.h.

Ui::MessageFieldWidget* rqt_multiplot::MessageFieldWidget::ui_
private

Definition at line 67 of file MessageFieldWidget.h.


The documentation for this class was generated from the following files:


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Wed Jul 10 2019 03:49:44