Fawkes API  Fawkes Development Version
fawkes::ROSAspect Class Reference

Thread aspect to get access to a ROS node handle. More...

#include <>>

Inheritance diagram for fawkes::ROSAspect:

List of all members.

Public Member Functions

 ROSAspect ()
 Constructor.
virtual ~ROSAspect ()
 Virtual empty destructor.

Protected Attributes

LockPtr< ros::NodeHandle > rosnode
 Central ROS node handle.

Friends

class ROSAspectIniFin

Detailed Description

Thread aspect to get access to a ROS node handle.

Give this aspect to your thread to interact with the central ROS node handle.

Author:
Tim Niemueller

Constructor & Destructor Documentation

fawkes::ROSAspect::ROSAspect ( )

Constructor.

Definition at line 47 of file ros.cpp.

fawkes::ROSAspect::~ROSAspect ( ) [virtual]

Virtual empty destructor.

Definition at line 54 of file ros.cpp.


Member Data Documentation

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().


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