Fawkes API
Fawkes Development Version
|
Thread aspect to get access to a ROS node handle. More...
#include <>>
Public Member Functions | |
ROSAspect () | |
Constructor. | |
virtual | ~ROSAspect () |
Virtual empty destructor. | |
Protected Attributes | |
LockPtr< ros::NodeHandle > | rosnode |
Central ROS node handle. | |
Friends | |
class | ROSAspectIniFin |
Thread aspect to get access to a ROS node handle.
Give this aspect to your thread to interact with the central ROS node handle.
fawkes::ROSAspect::~ROSAspect | ( | ) | [virtual] |
fawkes:LockPtr< ros::NodeHandle > fawkes::ROSAspect::rosnode [protected] |
Central ROS node handle.
Make sure you use proper locking in your application when using the class, or chaos and havoc will come upon you.
Definition at line 48 of file ros.h.
Referenced by RosImagesThread::init(), TabletopVisualizationThread::init(), RobotinoRosJointsThread::init(), ROSCmdVelThread::init(), RosLaserScanThread::init(), ROSOdometryThread::init(), RosPointCloudThread::init(), ROSTalkerPubThread::init(), RosTfThread::init(), and ROSWebviewThread::init().