19 #ifndef RQT_MULTIPLOT_MESSAGE_FIELD_WIDGET_H 20 #define RQT_MULTIPLOT_MESSAGE_FIELD_WIDGET_H 22 #include <QGridLayout> 32 class MessageFieldWidget;
43 QString getCurrentMessageType()
const;
44 variant_topic_tools::MessageDataType getCurrentMessageDataType()
const;
45 void setCurrentField(
const QString& field);
46 QString getCurrentField()
const;
47 variant_topic_tools::DataType getCurrentFieldDataType()
const;
48 bool isLoading()
const;
49 bool isConnecting()
const;
50 bool isCurrentFieldDefined()
const;
52 void loadFields(
const QString& type);
53 void connectTopic(
const QString& topic,
double timeout = 0.0);
56 void loadingStarted();
57 void loadingFinished();
58 void loadingFailed(
const QString& error);
60 void connecting(
const QString& topic);
61 void connected(
const QString& topic);
62 void connectionTimeout(
const QString& topic,
double timeout);
64 void currentFieldChanged(
const QString& field);
67 Ui::MessageFieldWidget*
ui_;
82 void loaderLoadingStarted();
83 void loaderLoadingFinished();
84 void loaderLoadingFailed(
const QString& error);
86 void subscriberMessageReceived(
const QString& topic,
const Message&
89 void connectionTimerTimeout();
91 void lineEditCurrentFieldChanged(
const QString& field);
92 void treeWidgetCurrentFieldChanged(
const QString& field);