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:

Public Member Functions

 ROSAspect ()
 Constructor. More...
 
virtual ~ROSAspect ()
 Virtual empty destructor. More...
 
- 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. More...
 

Protected Attributes

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

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. More...
 

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

◆ ROSAspect()

fawkes::ROSAspect::ROSAspect ( )

Constructor.

Definition at line 47 of file ros.cpp.

References fawkes::Aspect::add_aspect().

◆ ~ROSAspect()

fawkes::ROSAspect::~ROSAspect ( )
virtual

Virtual empty destructor.

Definition at line 54 of file ros.cpp.

References fawkes::LockPtr< T_CppObject >::clear(), and rosnode.

Member Data Documentation

◆ rosnode


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