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
ArServerHandlerCommandsmyCommands
FILE * myFile
int myNumVals
ArRetFunctor1C< bool, ArServerSimpleLogRobotDebugPackets,
ArRobotPacket * > 
myPacketHandlerCB
ArRobotmyRobot
ArRetFunctor1C< bool, ArServerSimpleLogRobotDebugPackets,
const char * > 
myStartLoggingCB
ArRetFunctorC< bool, ArServerSimpleLogRobotDebugPacketsmyStopLoggingCB
std::map< int, int > myVals


The documentation for this class was generated from the following file:
Generated on Thu Aug 6 09:40:12 2009 for ArNetworking by  doxygen 1.5.1