#include <ArServerSimpleCommands.h>
Public Member Functions | |
| void | addToInfoGroup (ArStringInfoGroup *infoGroup, const char *name, int whichVal, const char *format="%d") |
| Adds the robot debug info to the info group. | |
| ArServerSimpleLogRobotDebugPackets (ArServerHandlerCommands *commands, ArRobot *robot, const char *baseDirectory="") | |
| Constructor. | |
| int | getNumValues (void) |
| Gets the number of values there are. | |
| int | getValue (int whichVal) |
| Gets a particular value. | |
| bool | packetHandler (ArRobotPacket *packet) |
| Internal function that parses the packet. | |
| bool | startLogging (const char *fileName="robotDebugPacketsLog.txt") |
| Starts the logging. | |
| bool | stopLogging (void) |
| Ends the logging. | |
| virtual | ~ArServerSimpleLogRobotDebugPackets () |
| Destructor. | |
Protected Attributes | |
| std::string | myBaseDir |
| ArServerHandlerCommands * | myCommands |
| FILE * | myFile |
| int | myNumVals |
|
ArRetFunctor1C< bool, ArServerSimpleLogRobotDebugPackets, ArRobotPacket * > | myPacketHandlerCB |
| ArRobot * | myRobot |
|
ArRetFunctor1C< bool, ArServerSimpleLogRobotDebugPackets, const char * > | myStartLoggingCB |
| ArRetFunctorC< bool, ArServerSimpleLogRobotDebugPackets > | myStopLoggingCB |
| std::map< int, int > | myVals |
1.5.1