Fawkes API
Fawkes Development Version
|
Thread aspect to get access to a ROS node handle. More...
#include <>>
Public Member Functions | |
ROSAspect () | |
Constructor. More... | |
virtual | ~ROSAspect () |
Virtual empty destructor. More... | |
![]() | |
const std::list< const char * > & | get_aspects () const |
Get list of aspect names attached to a aspected thread. More... | |
Protected Attributes | |
LockPtr< ros::NodeHandle > | rosnode |
Central ROS node handle. More... | |
Friends | |
class | ROSAspectIniFin |
Additional Inherited Members | |
![]() | |
void | add_aspect (const char *name) |
Add an aspect to a thread. More... | |
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 |
Virtual empty destructor.
Definition at line 54 of file ros.cpp.
References fawkes::LockPtr< T_CppObject >::clear(), and 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 RosLaserScanThread::bb_interface_created(), RosClockThread::finalize(), NavGraphGeneratorVisualizationThread::init(), RosClockThread::init(), ROSTalkerPubThread::init(), NavGraphVisualizationThread::init(), ROSOdometryThread::init(), ROSCmdVelThread::init(), RobotinoRosJointsThread::init(), NavGraphROSPubThread::init(), TabletopVisualizationThread::init(), RosJointThread::init(), ROSWebviewThread::init(), RosPosition3DThread::init(), RosImagesThread::init(), RosLaserScanThread::init(), RosMoveBaseThread::init(), AmclROSThread::init(), RosSkillerThread::init(), PointCloudDBROSCommThread::init(), RosTfThread::init(), ROSWebviewThread::loop(), RosPointCloudThread::loop(), and ~ROSAspect().