#include <statepublisher_rostopic.h>
Public Slots | |
virtual void | setEnabled (bool enabled) override |
Public Member Functions | |
virtual bool | enabled () const override |
virtual const char * | name () const override |
void | setParentMenu (QMenu *menu) |
TopicPublisherROS () | |
virtual void | updateState (PlotDataMap *datamap, double current_time) override |
virtual | ~TopicPublisherROS () |
Private Attributes | |
QAction * | _current_time |
ros::NodeHandlePtr | _node |
bool | enabled_ |
std::map< std::string, ros::Publisher > | publishers_ |
Definition at line 11 of file statepublisher_rostopic.h.
Definition at line 8 of file statepublisher_rostopic.cpp.
TopicPublisherROS::~TopicPublisherROS | ( | ) | [virtual] |
Definition at line 15 of file statepublisher_rostopic.cpp.
virtual bool TopicPublisherROS::enabled | ( | ) | const [inline, override, virtual] |
Implements StatePublisher.
Definition at line 24 of file statepublisher_rostopic.h.
virtual const char* TopicPublisherROS::name | ( | ) | const [inline, override, virtual] |
Implements StatePublisher.
Definition at line 22 of file statepublisher_rostopic.h.
void TopicPublisherROS::setEnabled | ( | bool | enabled | ) | [override, virtual, slot] |
Implements StatePublisher.
Definition at line 29 of file statepublisher_rostopic.cpp.
void TopicPublisherROS::setParentMenu | ( | QMenu * | menu | ) | [virtual] |
Reimplemented from StatePublisher.
Definition at line 20 of file statepublisher_rostopic.cpp.
void TopicPublisherROS::updateState | ( | PlotDataMap * | datamap, |
double | current_time | ||
) | [override, virtual] |
Implements StatePublisher.
Definition at line 39 of file statepublisher_rostopic.cpp.
QAction* TopicPublisherROS::_current_time [private] |
Definition at line 36 of file statepublisher_rostopic.h.
ros::NodeHandlePtr TopicPublisherROS::_node [private] |
Definition at line 34 of file statepublisher_rostopic.h.
bool TopicPublisherROS::enabled_ [private] |
Definition at line 33 of file statepublisher_rostopic.h.
std::map<std::string, ros::Publisher> TopicPublisherROS::publishers_ [private] |
Definition at line 32 of file statepublisher_rostopic.h.