|
Fawkes API
Fawkes Development Version
|
Interface adapter to provide logging facilities. More...
#include <protobuf_adapter.h>

Public Member Functions | |
| ProtobufCommPlexilAdapter (PLEXIL::AdapterExecInterface &execInterface) | |
| Constructor. More... | |
| ProtobufCommPlexilAdapter (PLEXIL::AdapterExecInterface &execInterface, pugi::xml_node const xml) | |
| Constructor from configuration XML. More... | |
| virtual | ~ProtobufCommPlexilAdapter () |
| 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 protobuf_comm.
Definition at line 37 of file protobuf_adapter.h.
| ProtobufCommPlexilAdapter::ProtobufCommPlexilAdapter | ( | PLEXIL::AdapterExecInterface & | execInterface | ) |
Constructor.
| execInterface | Reference to the parent AdapterExecInterface object. |
Definition at line 49 of file protobuf_adapter.cpp.
| ProtobufCommPlexilAdapter::ProtobufCommPlexilAdapter | ( | 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 59 of file protobuf_adapter.cpp.
|
virtual |
Destructor.
Definition at line 66 of file protobuf_adapter.cpp.
| void ProtobufCommPlexilAdapter::executeCommand | ( | PLEXIL::Command * | cmd | ) |
Perform given command.
| cmd | command to execute |
Definition at line 175 of file protobuf_adapter.cpp.
|
virtual |
Initialize adapter.
Definition at line 74 of file protobuf_adapter.cpp.
References fawkes::Logger::log_info().
| void ProtobufCommPlexilAdapter::invokeAbort | ( | PLEXIL::Command * | cmd | ) |
Abort currently running execution.
| cmd | command to abort |
Definition at line 350 of file protobuf_adapter.cpp.
|
virtual |
Reset adapter.
Definition at line 157 of file protobuf_adapter.cpp.
|
virtual |
Shut adapter down.
Definition at line 166 of file protobuf_adapter.cpp.
|
virtual |
Start adapter.
Definition at line 135 of file protobuf_adapter.cpp.
|
virtual |
Stop adapter.
Definition at line 144 of file protobuf_adapter.cpp.