ArServerSimpleComUC 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).
Examples:

serverDemo.cpp, and simpleServerExample.cpp.


Public Member Functions

 ArServerSimpleComUC (ArServerHandlerCommands *handlerCommands, ArRobot *robot)
 Constructor.
void command (ArArgumentBuilder *arg)
 Handles the command.
void motionCommand (ArArgumentBuilder *arg)
 Handles the motor commands.
virtual ~ArServerSimpleComUC ()
 Destructor.

Protected Member Functions

void processCommand (ArArgumentBuilder *arg, bool motionCommand)

Protected Attributes

ArFunctor1C< ArServerSimpleComUC,
ArArgumentBuilder * > 
myCommandCB
ArServerHandlerCommandsmyHandlerCommands
ArFunctor1C< ArServerSimpleComUC,
ArArgumentBuilder * > 
myMotionCommandCB
ArRobotmyRobot


Constructor & Destructor Documentation

ArServerSimpleComUC::ArServerSimpleComUC ( ArServerHandlerCommands handlerCommands,
ArRobot robot 
)

Constructor.

ArServerSimpleComUC::~ArServerSimpleComUC (  )  [virtual]

Destructor.


Member Function Documentation

void ArServerSimpleComUC::command ( ArArgumentBuilder arg  ) 

Handles the command.

void ArServerSimpleComUC::motionCommand ( ArArgumentBuilder arg  ) 

Handles the motor commands.

void ArServerSimpleComUC::processCommand ( ArArgumentBuilder arg,
bool  motionCommand 
) [protected]


Member Data Documentation

ArFunctor1C<ArServerSimpleComUC, ArArgumentBuilder *> ArServerSimpleComUC::myCommandCB [protected]

ArServerHandlerCommands* ArServerSimpleComUC::myHandlerCommands [protected]

ArFunctor1C<ArServerSimpleComUC, ArArgumentBuilder *> ArServerSimpleComUC::myMotionCommandCB [protected]

ArRobot* ArServerSimpleComUC::myRobot [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