23 #ifndef __PLUGINS_CLIPS_ROS_CLIPS_ROS_THREAD_H_ 24 #define __PLUGINS_CLIPS_ROS_CLIPS_ROS_THREAD_H_ 26 #include <core/threading/thread.h> 27 #include <aspect/logging.h> 28 #include <aspect/configurable.h> 29 #include <plugins/clips/aspect/clips_feature.h> 30 #include <plugins/ros/aspect/ros.h> 60 protected:
virtual void run() { Thread::run(); }
63 std::map<std::string, fawkes::LockPtr<CLIPS::Environment> > envs_;
68 std::list<std::string> published;
69 std::list<std::string> subscribed;
70 std::list<std::string> services;
73 void clips_ros_get_nodes(std::string env_name);
74 void clips_ros_get_topics(std::string env_name);
75 void clips_ros_get_topic_connections(std::string env_name);
ROS integration for CLIPS.
Thread aspect to provide a feature to CLIPS environments.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to get access to a ROS node handle.
virtual void clips_context_init(const std::string &env_name, fawkes::LockPtr< CLIPS::Environment > &clips)
Initialize a CLIPS context to use the provided feature.
Thread class encapsulation of pthreads.
virtual void init()
Initialize the thread.
virtual void loop()
Code to execute in the thread.
virtual void clips_context_destroyed(const std::string &env_name)
Notification that a CLIPS environment has been destroyed.
virtual ~ClipsROSThread()
Destructor.
ClipsROSThread()
Constructor.
CLIPS feature maintainer.
Thread aspect to log output.
Thread aspect to access configuration data.
virtual void finalize()
Finalize the thread.