Fawkes API
Fawkes Development Version
|
Interface adapter to provide logging facilities. More...
#include <config_adapter.h>
Public Member Functions | |
ConfigurationPlexilAdapter (PLEXIL::AdapterExecInterface &execInterface) | |
Constructor. More... | |
ConfigurationPlexilAdapter (PLEXIL::AdapterExecInterface &execInterface, pugi::xml_node const xml) | |
Constructor from configuration XML. More... | |
virtual | ~ConfigurationPlexilAdapter () |
Destructor. More... | |
virtual bool | initialize () |
Initialize adapter. More... | |
virtual bool | start () |
Start adapter. More... | |
virtual bool | stop () |
Stop adapter. More... | |
virtual bool | reset () |
Reset adapter. More... | |
virtual bool | shutdown () |
Shut adapter down. More... | |
void | executeCommand (PLEXIL::Command *cmd) |
Perform given command. More... | |
void | invokeAbort (PLEXIL::Command *cmd) |
Abort currently running execution. More... | |
Interface adapter to provide logging facilities.
Plexil adapter to provide access to the Fawkes configuration.
Definition at line 33 of file config_adapter.h.
ConfigurationPlexilAdapter::ConfigurationPlexilAdapter | ( | PLEXIL::AdapterExecInterface & | execInterface | ) |
Constructor.
execInterface | Reference to the parent AdapterExecInterface object. |
Definition at line 44 of file config_adapter.cpp.
ConfigurationPlexilAdapter::ConfigurationPlexilAdapter | ( | PLEXIL::AdapterExecInterface & | execInterface, |
pugi::xml_node const | xml | ||
) |
Constructor from configuration XML.
execInterface | Reference to the parent AdapterExecInterface object. |
xml | A const reference to the XML element describing this adapter |
Definition at line 54 of file config_adapter.cpp.
|
virtual |
Destructor.
Definition at line 61 of file config_adapter.cpp.
void ConfigurationPlexilAdapter::executeCommand | ( | PLEXIL::Command * | cmd | ) |
Perform given command.
cmd | command to execute |
Definition at line 151 of file config_adapter.cpp.
|
virtual |
Initialize adapter.
Definition at line 69 of file config_adapter.cpp.
void ConfigurationPlexilAdapter::invokeAbort | ( | PLEXIL::Command * | cmd | ) |
Abort currently running execution.
cmd | command to abort |
Definition at line 171 of file config_adapter.cpp.
|
virtual |
Reset adapter.
Definition at line 133 of file config_adapter.cpp.
|
virtual |
Shut adapter down.
Definition at line 142 of file config_adapter.cpp.
|
virtual |
Start adapter.
Definition at line 115 of file config_adapter.cpp.
|
virtual |
Stop adapter.
Definition at line 124 of file config_adapter.cpp.