Go to the documentation of this file.
18 #ifndef GZ_GUI_PLUGINS_PUBLISHER_HH_
19 #define GZ_GUI_PLUGINS_PUBLISHER_HH_
26 # define Publisher_EXPORTS_API
28 # if (defined(Publisher_EXPORTS))
29 # define Publisher_EXPORTS_API __declspec(dllexport)
31 # define Publisher_EXPORTS_API __declspec(dllimport)
41 class PublisherPrivate;
80 NOTIFY FrequencyChanged
90 public: virtual
void LoadConfig(const
tinyxml2::XMLElement *_pluginElem);
94 public slots:
void OnPublish(const
bool _checked);
99 public: Q_INVOKABLE
QString MsgType() const;
104 public: Q_INVOKABLE
void SetMsgType(const
QString &_msgType);
107 signals:
void MsgTypeChanged();
112 public: Q_INVOKABLE
QString MsgData() const;
117 public: Q_INVOKABLE
void SetMsgData(const
QString &_msgData);
120 signals:
void MsgDataChanged();
125 public: Q_INVOKABLE
QString Topic() const;
130 public: Q_INVOKABLE
void SetTopic(const
QString &_topic);
133 signals:
void TopicChanged();
137 public: Q_INVOKABLE
double Frequency() const;
141 public: Q_INVOKABLE
void SetFrequency(const
double _frequency);
144 signals:
void FrequencyChanged();
148 private:
std::unique_ptr<PublisherPrivate> dataPtr;
Widget which publishes a custom Gazebo transport message.
Definition: Publisher.hh:47
#define Publisher_EXPORTS_API
Definition: Publisher.hh:26
Base class for Gazebo GUI plugins.
Definition: gz/gui/Plugin.hh:54
Definition: gz/gui/Application.hh:35