Fawkes API
Fawkes Development Version
|
23 #ifndef _PLUGINS_ROS_NODE_THREAD_H_
24 #define _PLUGINS_ROS_NODE_THREAD_H_
26 #include <aspect/aspect_provider.h>
27 #include <aspect/blocked_timing.h>
28 #include <aspect/clock.h>
29 #include <aspect/configurable.h>
30 #include <aspect/logging.h>
31 #include <core/threading/thread.h>
32 #include <core/utils/lockptr.h>
33 #include <plugins/ros/aspect/ros_inifin.h>
34 #include <sys/types.h>
35 #include <utils/time/time.h>
66 bool cfg_async_spinning_;
67 unsigned int cfg_async_num_threads_;
72 ros::AsyncSpinner *async_spinner_;
virtual ~ROSNodeThread()
Destructor.
virtual void run()
Stub to see name in backtrace for easier debugging.
ROSNodeThread()
Constructor.
Thread aspect provide a new aspect.
Thread aspect to use blocked timing.
Thread aspect to log output.
virtual void init()
Initialize the thread.
ROSAspect initializer/finalizer.
Thread class encapsulation of pthreads.
virtual void finalize()
Finalize the thread.
Thread aspect to access configuration data.
Thread aspect that allows to obtain the current time from the clock.
virtual void loop()
Code to execute in the thread.