#include <MessageFieldWidget.h>
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_ |
MessageDefinitionLoader * | loader_ |
MessageSubscriberRegistry * | registry_ |
QString | subscribedTopic_ |
Ui::MessageFieldWidget * | ui_ |
Definition at line 36 of file MessageFieldWidget.h.
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.
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 | ( | ) | [private, slot] |
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.
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 | ) | [private, slot] |
Definition at line 223 of file MessageFieldWidget.cpp.
void rqt_multiplot::MessageFieldWidget::loaderLoadingFailed | ( | const QString & | error | ) | [private, slot] |
Definition at line 184 of file MessageFieldWidget.cpp.
void rqt_multiplot::MessageFieldWidget::loaderLoadingFinished | ( | ) | [private, slot] |
Definition at line 168 of file MessageFieldWidget.cpp.
void rqt_multiplot::MessageFieldWidget::loaderLoadingStarted | ( | ) | [private, slot] |
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 | ||
) | [private, slot] |
Definition at line 191 of file MessageFieldWidget.cpp.
void rqt_multiplot::MessageFieldWidget::treeWidgetCurrentFieldChanged | ( | const QString & | field | ) | [private, slot] |
Definition at line 227 of file MessageFieldWidget.cpp.
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.
Definition at line 71 of file MessageFieldWidget.h.
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.