23 #ifndef __PLUGINS_CLIPS_NAVGRAPH_CLIPS_NAVGRAPH_THREAD_H_ 24 #define __PLUGINS_CLIPS_NAVGRAPH_CLIPS_NAVGRAPH_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 <navgraph/aspect/navgraph.h> 31 #include <navgraph/navgraph.h> 38 class NavGraphStaticListEdgeConstraint;
66 protected:
virtual void run() { Thread::run(); }
70 void clips_navgraph_block_edge(std::string env_name, std::string from, std::string to);
71 void clips_navgraph_unblock_edge(std::string env_name, std::string from, std::string to);
74 std::map<std::string, fawkes::LockPtr<CLIPS::Environment> > envs_;
Thread aspect to provide a feature to CLIPS environments.
virtual void clips_context_destroyed(const std::string &env_name)
Notification that a CLIPS environment has been destroyed.
Fawkes library namespace.
ClipsNavGraphThread()
Constructor.
Thread class encapsulation of pthreads.
CLIPS feature maintainer.
virtual void finalize()
Finalize the thread.
Thread aspect to log output.
Thread aspect to access configuration data.
virtual ~ClipsNavGraphThread()
Destructor.
virtual void init()
Initialize the thread.
virtual void graph_changed()
Function called if the graph has been changed.
Constraint that holds a list of edges to block.
virtual void clips_context_init(const std::string &env_name, fawkes::LockPtr< CLIPS::Environment > &clips)
Initialize a CLIPS context to use the provided feature.
Topological graph change listener.
virtual void loop()
Code to execute in the thread.
Thread aspect to access NavGraph.
virtual void run()
Stub to see name in backtrace for easier debugging.
Provide protobuf functionality to CLIPS environment.