Fawkes API
Fawkes Development Version
|
GazeboAspect initializer/finalizer. More...
#include <>>
Public Member Functions | |
GazeboAspectIniFin () | |
Constructor. More... | |
virtual void | init (Thread *thread) |
Initialize. More... | |
virtual void | finalize (Thread *thread) |
Finalize. More... | |
void | set_gazebonode (gazebo::transport::NodePtr gazebonode) |
Set the Gazebo node handle to use for aspect initialization. More... | |
void | set_gazebo_world_node (gazebo::transport::NodePtr gazebo_world_node) |
Set the Gazebo node handle to use for aspect initialization. More... | |
![]() | |
AspectIniFin (const char *aspect_name) __attribute__((nonnull)) | |
Constructor. More... | |
virtual | ~AspectIniFin () |
Virtual empty destructor. More... | |
virtual bool | prepare_finalize (Thread *thread) |
Default finalize preparation. More... | |
const char * | get_aspect_name () const |
Get aspect name. More... | |
GazeboAspect initializer/finalizer.
This initializer/finalizer will provide the Gazebo node handle to threads with the GazeboAspect.
Definition at line 38 of file gazebo_inifin.h.
fawkes::GazeboAspectIniFin::GazeboAspectIniFin | ( | ) |
Constructor.
Definition at line 41 of file gazebo_inifin.cpp.
|
virtual |
Finalize.
thread | thread |
Implements fawkes::AspectIniFin.
Definition at line 70 of file gazebo_inifin.cpp.
References fawkes::Thread::name().
|
virtual |
Initialize.
thread | thread |
Implements fawkes::AspectIniFin.
Definition at line 50 of file gazebo_inifin.cpp.
References fawkes::Thread::name().
void fawkes::GazeboAspectIniFin::set_gazebo_world_node | ( | gazebo::transport::NodePtr | gazebo_world_node | ) |
Set the Gazebo node handle to use for aspect initialization.
(used for robot independent or world changing communication)
gazebo_world_node | Gazebo node handle to pass to threads with GazeboAspect. |
Definition at line 97 of file gazebo_inifin.cpp.
Referenced by GazeboNodeThread::init().
void fawkes::GazeboAspectIniFin::set_gazebonode | ( | gazebo::transport::NodePtr | gazebonode | ) |
Set the Gazebo node handle to use for aspect initialization.
(used for robot specific communication)
gazebonode | Gazebo node handle to pass to threads with GazeboAspect. |
Definition at line 88 of file gazebo_inifin.cpp.
Referenced by GazeboNodeThread::finalize(), and GazeboNodeThread::init().