ArServerSimpleConnectionTester Class Reference

#include <ArServerSimpleCommands.h>

List of all members.


Detailed Description

This class will let you send commands to the microcontroller (com, comInt, and com2Bytes).


Public Member Functions

 ArServerSimpleConnectionTester (ArServerHandlerCommands *handlerCommands, ArRobot *robot)
 Constructor.
void connectionTestStart (void)
 Handles the command.
void connectionTestStop (void)
 Handles the motor commands.
virtual ~ArServerSimpleConnectionTester ()
 Destructor.

Protected Member Functions

void log (void)
bool packetHandler (ArRobotPacket *packet)
void userTask (void)

Protected Attributes

ArFunctorC< ArServerSimpleConnectionTestermyConnectionTestStartCB
ArFunctorC< ArServerSimpleConnectionTestermyConnectionTestStopCB
int myCyclesSincePacket
bool myFirst
ArServerHandlerCommandsmyHandlerCommands
ArTime myLastLog
int myMissedMotorPackets
int myMissedPackets
ArRetFunctor1C< bool, ArServerSimpleConnectionTester,
ArRobotPacket * > 
myPacketHandlerCB
ArTime myPacketReceived
int myPacketsThisCycle
int myReceivedPackets
ArRobotmyRobot
ArFunctorC< ArServerSimpleConnectionTestermyUserTaskCB


Constructor & Destructor Documentation

ArServerSimpleConnectionTester::ArServerSimpleConnectionTester ( ArServerHandlerCommands handlerCommands,
ArRobot robot 
)

Constructor.

ArServerSimpleConnectionTester::~ArServerSimpleConnectionTester (  )  [virtual]

Destructor.


Member Function Documentation

void ArServerSimpleConnectionTester::connectionTestStart ( void   ) 

Handles the command.

void ArServerSimpleConnectionTester::connectionTestStop ( void   ) 

Handles the motor commands.

void ArServerSimpleConnectionTester::log ( void   )  [protected]

bool ArServerSimpleConnectionTester::packetHandler ( ArRobotPacket packet  )  [protected]

void ArServerSimpleConnectionTester::userTask ( void   )  [protected]


Member Data Documentation

ArFunctorC<ArServerSimpleConnectionTester> ArServerSimpleConnectionTester::myConnectionTestStartCB [protected]

ArFunctorC<ArServerSimpleConnectionTester> ArServerSimpleConnectionTester::myConnectionTestStopCB [protected]

int ArServerSimpleConnectionTester::myCyclesSincePacket [protected]

bool ArServerSimpleConnectionTester::myFirst [protected]

ArServerHandlerCommands* ArServerSimpleConnectionTester::myHandlerCommands [protected]

ArTime ArServerSimpleConnectionTester::myLastLog [protected]

int ArServerSimpleConnectionTester::myMissedMotorPackets [protected]

int ArServerSimpleConnectionTester::myMissedPackets [protected]

ArRetFunctor1C<bool, ArServerSimpleConnectionTester, ArRobotPacket *> ArServerSimpleConnectionTester::myPacketHandlerCB [protected]

ArTime ArServerSimpleConnectionTester::myPacketReceived [protected]

int ArServerSimpleConnectionTester::myPacketsThisCycle [protected]

int ArServerSimpleConnectionTester::myReceivedPackets [protected]

ArRobot* ArServerSimpleConnectionTester::myRobot [protected]

ArFunctorC<ArServerSimpleConnectionTester> ArServerSimpleConnectionTester::myUserTaskCB [protected]


The documentation for this class was generated from the following files:
Generated on Fri Jul 31 12:37:29 2009 for ArNetworking by  doxygen 1.4.7