23#ifndef _PLUGINS_CLIPS_ROS_CLIPS_ROS_THREAD_H_
24#define _PLUGINS_CLIPS_ROS_CLIPS_ROS_THREAD_H_
26#include <aspect/configurable.h>
27#include <aspect/logging.h>
28#include <core/threading/thread.h>
29#include <plugins/clips/aspect/clips_feature.h>
30#include <plugins/ros/aspect/ros.h>
65 std::map<std::string, fawkes::LockPtr<CLIPS::Environment>> envs_;
71 std::list<std::string> published;
72 std::list<std::string> subscribed;
73 std::list<std::string> services;
76 void clips_ros_get_nodes(std::string env_name);
77 void clips_ros_get_topics(std::string env_name);
78 void clips_ros_get_topic_connections(std::string env_name);
ROS integration for CLIPS.
virtual ~ClipsROSThread()
Destructor.
virtual void init()
Initialize the thread.
virtual void finalize()
Finalize the thread.
ClipsROSThread()
Constructor.
virtual void clips_context_destroyed(const std::string &env_name)
Notification that a CLIPS environment has been destroyed.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void loop()
Code to execute in the thread.
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 aspect to provide a feature to CLIPS environments.
CLIPS feature maintainer.
Thread aspect to access configuration data.
Thread aspect to log output.
Thread aspect to get access to a ROS node handle.
Thread class encapsulation of pthreads.