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();
ConfigurationPlexilAdapter(PLEXIL::AdapterExecInterface &execInterface)
Constructor.
void invokeAbort(PLEXIL::Command *cmd)
Abort currently running execution.
virtual bool stop()
Stop adapter.
virtual bool start()
Start adapter.
virtual bool initialize()
Initialize adapter.
virtual bool reset()
Reset adapter.
void executeCommand(PLEXIL::Command *cmd)
Perform given command.
Interface adapter to provide logging facilities.
virtual bool shutdown()
Shut adapter down.
virtual ~ConfigurationPlexilAdapter()
Destructor.
Interface for configuration handling.