22 #ifndef __PLUGINS_PLEXIL_CONFIG_ADAPTER_H_
23 #define __PLUGINS_PLEXIL_CONFIG_ADAPTER_H_
25 #include <config/config.h>
26 #include <logging/logger.h>
28 #include <InterfaceAdapter.hh>
58 void config_get_value(PLEXIL::Command *cmd, PLEXIL::ValueType value_type);
59 void config_get_value_or_default(PLEXIL::Command *cmd, PLEXIL::ValueType value_type);
60 void config_exists(PLEXIL::Command *cmd);
66 std::map<std::string, std::function<void(PLEXIL::Command *)>> commands_;
70 void initFawkesConfigurationAdapter();
Interface adapter to provide logging facilities.
virtual bool initialize()
Initialize adapter.
ConfigurationPlexilAdapter(PLEXIL::AdapterExecInterface &execInterface)
Constructor.
virtual bool start()
Start adapter.
virtual bool stop()
Stop adapter.
void invokeAbort(PLEXIL::Command *cmd)
Abort currently running execution.
void executeCommand(PLEXIL::Command *cmd)
Perform given command.
virtual bool reset()
Reset adapter.
virtual ~ConfigurationPlexilAdapter()
Destructor.
virtual bool shutdown()
Shut adapter down.
Interface for configuration handling.