Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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.
- Public Member Functions inherited from fawkes::Aspect
const std::list< const char * > & get_aspects () const
 Get list of aspect names attached to a aspected thread.

Protected Attributes

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

Friends

class ROSAspectIniFin

Additional Inherited Members

- Protected Member Functions inherited from fawkes::Aspect
void add_aspect (const char *name)
 Add an aspect to a thread.

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

Definition at line 39 of file ros.h.


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 ROSTalkerPubThread::init(), ROSCmdVelThread::init(), ROSOdometryThread::init(), RobotinoRosJointsThread::init(), TabletopVisualizationThread::init(), ROSWebviewThread::init(), RosImagesThread::init(), RosLaserScanThread::init(), RosPointCloudThread::init(), and RosTfThread::init().


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