ArNetworking: ArServerSimpleLogRobotDebugPackets Class Reference

- Main Page
- Classes
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ArServerSimpleLogRobotDebugPackets Class Reference

`#include <ArServerSimpleCommands.h>`

List of all members.

## Detailed Description

Class that logs a special debug packet from the robot.

## 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

The documentation for this class was generated from the following file:

- ArServerSimpleCommands.h