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 50 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 60 of file protobuf_adapter.cpp.
|
virtual |
Destructor.
Definition at line 67 of file protobuf_adapter.cpp.
void ProtobufCommPlexilAdapter::executeCommand | ( | PLEXIL::Command * | cmd | ) |
Perform given command.
cmd | command to execute |
Definition at line 176 of file protobuf_adapter.cpp.
|
virtual |
Initialize adapter.
Definition at line 75 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 351 of file protobuf_adapter.cpp.
|
virtual |
Reset adapter.
Definition at line 158 of file protobuf_adapter.cpp.
|
virtual |
Shut adapter down.
Definition at line 167 of file protobuf_adapter.cpp.
|
virtual |
Start adapter.
Definition at line 136 of file protobuf_adapter.cpp.
|
virtual |
Stop adapter.
Definition at line 145 of file protobuf_adapter.cpp.