Public Member Functions | Private Member Functions | Private Attributes | List of all members
Listener Class Reference

#include <listener.hpp>

Inheritance diagram for Listener:
Inheritance graph
[legend]

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
 

Detailed Description

Definition at line 31 of file listener.hpp.

Constructor & Destructor Documentation

Listener::Listener ( int  argc,
char **  argv 
)

Definition at line 23 of file listener.cpp.

virtual Listener::~Listener ( )
inlinevirtual

Definition at line 35 of file listener.hpp.

Member Function Documentation

void Listener::chatterCallback ( const std_msgs::String::ConstPtr &  msg)
private

Definition at line 32 of file listener.cpp.

void Listener::ros_comms_init ( )
virtual

Implements QNode.

Definition at line 27 of file listener.cpp.

void Listener::run ( )
virtual

Implements QNode.

Definition at line 41 of file listener.cpp.

Member Data Documentation

ros::Subscriber Listener::chatter_subscriber
private

Definition at line 40 of file listener.hpp.


The documentation for this class was generated from the following files:


qt_tutorials
Author(s): Daniel Stonier
autogenerated on Wed Mar 11 2020 03:12:20