23#ifndef _PLUGINS_CLIPS_PROTOBUF_CLIPS_PROTOBUF_THREAD_H_
24#define _PLUGINS_CLIPS_PROTOBUF_CLIPS_PROTOBUF_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>
35namespace protobuf_clips {
36class ClipsProtobufCommunicator;
67 std::map<std::string, protobuf_clips::ClipsProtobufCommunicator *> pb_comms_;
68 std::vector<std::string> cfg_proto_dirs_;
Provide protobuf functionality to CLIPS environment.
virtual void finalize()
Finalize the thread.
ClipsProtobufThread()
Constructor.
virtual ~ClipsProtobufThread()
Destructor.
virtual void clips_context_destroyed(const std::string &env_name)
Notification that a CLIPS environment has been destroyed.
virtual void clips_context_init(const std::string &env_name, fawkes::LockPtr< CLIPS::Environment > &clips)
Initialize a CLIPS context to use the provided feature.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void init()
Initialize the thread.
virtual void loop()
Code to execute in the thread.
Thread aspect to provide a feature to CLIPS environments.
CLIPS feature maintainer.
Thread aspect to access configuration data.
Thread aspect to log output.
Thread class encapsulation of pthreads.