#include <ArServerSimpleCommands.h>
Public Member Functions | |
ArServerSimpleComUC (ArServerHandlerCommands *handlerCommands, ArRobot *robot) | |
Constructor. | |
void | command (ArArgumentBuilder *arg) |
Handles the command. | |
virtual | ~ArServerSimpleComUC () |
Destructor. | |
Protected Attributes | |
ArFunctor1C< ArServerSimpleComUC, ArArgumentBuilder * > | myCommandCB |
ArServerHandlerCommands * | myHandlerCommands |
ArRobot * | myRobot |
Definition at line 39 of file ArServerSimpleCommands.h.
|
Constructor.
Definition at line 31 of file ArServerSimpleCommands.cpp. References ArServerHandlerCommands::addStringCommand(), myCommandCB, myHandlerCommands, and myRobot. |
|
Destructor.
Definition at line 41 of file ArServerSimpleCommands.cpp. |
|
Handles the command.
Definition at line 45 of file ArServerSimpleCommands.cpp. References ArRobot::com(), ArRobot::com2Bytes(), ArRobot::comInt(), command(), ArRobot::lock(), ArLog::log(), myRobot, and ArRobot::unlock(). Referenced by command(). |
|
Definition at line 52 of file ArServerSimpleCommands.h. Referenced by ArServerSimpleComUC(). |
|
Definition at line 51 of file ArServerSimpleCommands.h. Referenced by ArServerSimpleComUC(). |
|
Definition at line 50 of file ArServerSimpleCommands.h. Referenced by ArServerSimpleComUC(), and command(). |