#include <listener.hpp>
Public Member Functions | |
Listener (int argc, char **argv) | |
void | ros_comms_init () |
void | run () |
virtual | ~Listener () |
Public Member Functions inherited from QNode | |
QStringListModel * | loggingModel () |
const std::string & | nodeName () |
bool | on_init () |
bool | on_init (const std::string &master_url, const std::string &host_url) |
QNode (int argc, char **argv, const std::string &name) | |
void | shutdown () |
virtual | ~QNode () |
Private Member Functions | |
void | chatterCallback (const std_msgs::String::ConstPtr &msg) |
Private Attributes | |
ros::Subscriber | chatter_subscriber |
Additional Inherited Members | |
Signals inherited from QNode | |
void | loggingUpdated () |
void | rosShutdown () |
Protected Attributes inherited from QNode | |
int | init_argc |
char ** | init_argv |
QStringListModel | logging |
const std::string | node_name |
Definition at line 31 of file listener.hpp.
Listener::Listener | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 23 of file listener.cpp.
|
inlinevirtual |
Definition at line 35 of file listener.hpp.
|
private |
Definition at line 32 of file listener.cpp.
|
virtual |
Implements QNode.
Definition at line 27 of file listener.cpp.
|
virtual |
Implements QNode.
Definition at line 41 of file listener.cpp.
|
private |
Definition at line 40 of file listener.hpp.