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 36 of file protobuf_adapter.h.
ProtobufCommPlexilAdapter::ProtobufCommPlexilAdapter | ( | PLEXIL::AdapterExecInterface & | execInterface | ) |
Constructor.
execInterface | Reference to the parent AdapterExecInterface object. |
Definition at line 48 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 58 of file protobuf_adapter.cpp.
|
virtual |
Destructor.
Definition at line 65 of file protobuf_adapter.cpp.
void ProtobufCommPlexilAdapter::executeCommand | ( | PLEXIL::Command * | cmd | ) |
Perform given command.
cmd | command to execute |
Definition at line 174 of file protobuf_adapter.cpp.
|
virtual |
Initialize adapter.
Definition at line 73 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 349 of file protobuf_adapter.cpp.
|
virtual |
Reset adapter.
Definition at line 156 of file protobuf_adapter.cpp.
|
virtual |
Shut adapter down.
Definition at line 165 of file protobuf_adapter.cpp.
|
virtual |
Start adapter.
Definition at line 134 of file protobuf_adapter.cpp.
|
virtual |
Stop adapter.
Definition at line 143 of file protobuf_adapter.cpp.