Fawkes API
Fawkes Development Version
|
Interface adapter to provide logging facilities. More...
#include <navgraph_adapter.h>
Public Member Functions | |
NavGraphPlexilAdapter (PLEXIL::AdapterExecInterface &execInterface) | |
Constructor. More... | |
NavGraphPlexilAdapter (PLEXIL::AdapterExecInterface &execInterface, pugi::xml_node const xml) | |
Constructor from configuration XML. More... | |
virtual | ~NavGraphPlexilAdapter () |
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 NavGraph.
Definition at line 41 of file navgraph_adapter.h.
NavGraphPlexilAdapter::NavGraphPlexilAdapter | ( | PLEXIL::AdapterExecInterface & | execInterface | ) |
Constructor.
execInterface | Reference to the parent AdapterExecInterface object. |
Definition at line 50 of file navgraph_adapter.cpp.
NavGraphPlexilAdapter::NavGraphPlexilAdapter | ( | 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 navgraph_adapter.cpp.
|
virtual |
Destructor.
Definition at line 67 of file navgraph_adapter.cpp.
void NavGraphPlexilAdapter::executeCommand | ( | PLEXIL::Command * | cmd | ) |
Perform given command.
cmd | command to execute |
Definition at line 146 of file navgraph_adapter.cpp.
|
virtual |
Initialize adapter.
Definition at line 75 of file navgraph_adapter.cpp.
References fawkes::Logger::log_error(), and fawkes::Exception::what_no_backtrace().
void NavGraphPlexilAdapter::invokeAbort | ( | PLEXIL::Command * | cmd | ) |
Abort currently running execution.
cmd | command to abort |
Definition at line 272 of file navgraph_adapter.cpp.
|
virtual |
Reset adapter.
Definition at line 127 of file navgraph_adapter.cpp.
|
virtual |
Shut adapter down.
Definition at line 136 of file navgraph_adapter.cpp.
References fawkes::BlackBoard::close().
|
virtual |
Start adapter.
Definition at line 109 of file navgraph_adapter.cpp.
|
virtual |
Stop adapter.
Definition at line 118 of file navgraph_adapter.cpp.