23 #ifndef __PLUGINS_GAZEBO_NODE_THREAD_H_ 24 #define __PLUGINS_GAZEBO_NODE_THREAD_H_ 26 #include <core/threading/thread.h> 27 #include <aspect/logging.h> 28 #include <aspect/configurable.h> 29 #include <aspect/clock.h> 30 #include <aspect/blocked_timing.h> 31 #include <aspect/aspect_provider.h> 32 #include <plugins/gazebo/aspect/gazebo_inifin.h> 33 #include <utils/time/time.h> 36 #include <sys/types.h> 61 protected:
virtual void run() { Thread::run(); }
65 gazebo::transport::NodePtr __gazebonode;
67 gazebo::transport::NodePtr __gazebo_world_node;
69 gazebo::transport::PublisherPtr __visual_publisher, __model_publisher, __request_publisher, __light_publisher;
74 std::string robot_channel, world_name;
Thread aspect that allows to obtain the current time from the clock.
virtual void run()
Stub to see name in backtrace for easier debugging.
Gazebo node handle thread.
Thread class encapsulation of pthreads.
Thread aspect to use blocked timing.
virtual void init()
Initialize the thread.
Thread aspect to log output.
virtual void loop()
Code to execute in the thread.
Thread aspect provide a new aspect.
GazeboNodeThread()
Constructor.
Thread aspect to access configuration data.
virtual ~GazeboNodeThread()
Destructor.
virtual void finalize()
Finalize the thread.
GazeboAspect initializer/finalizer.