23 #ifndef __PLUGINS_ROS_NODE_THREAD_H_
24 #define __PLUGINS_ROS_NODE_THREAD_H_
26 #include <core/threading/thread.h>
27 #include <core/utils/lockptr.h>
28 #include <aspect/logging.h>
29 #include <aspect/configurable.h>
30 #include <aspect/clock.h>
31 #include <aspect/blocked_timing.h>
32 #include <aspect/aspect_provider.h>
33 #include <plugins/ros/aspect/ros_inifin.h>
34 #include <utils/time/time.h>
36 #include <sys/types.h>
59 protected:
virtual void run() { Thread::run(); }
Thread aspect that allows to obtain the current time from the clock.
virtual void finalize()
Finalize the thread.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread class encapsulation of pthreads.
virtual ~ROSNodeThread()
Destructor.
Thread aspect to use blocked timing.
virtual void loop()
Code to execute in the thread.
virtual void init()
Initialize the thread.
ROSAspect initializer/finalizer.
Thread aspect to log output.
Thread aspect provide a new aspect.
Thread aspect to access configuration data.
ROSNodeThread()
Constructor.