ArServerSimpleComGyro Class Reference

#include <ArServerSimpleCommands.h>

List of all members.


Detailed Description

This just calls ArAnalogGyro::activate and ArAnalogGyro::deactivate.

If you want to see the gyro data if you use the robot's movement received (either ArRobot::setLogMovementReceived or use ArServerSimpleComMovementLogging)

Examples:

serverDemo.cpp.


Public Member Functions

 ArServerSimpleComGyro (ArServerHandlerCommands *handlerCommands, ArRobot *robot, ArAnalogGyro *gyro)
 Constructor.
void gyroDisable (void)
 Disables the gyro.
void gyroEnable (void)
 Enables the gyro.
virtual ~ArServerSimpleComGyro ()
 Destructor.

Protected Attributes

ArAnalogGyromyGyro
ArFunctorC< ArServerSimpleComGyromyGyroDisableCB
ArFunctorC< ArServerSimpleComGyromyGyroEnableCB
ArServerHandlerCommandsmyHandlerCommands
ArRobotmyRobot


Constructor & Destructor Documentation

ArServerSimpleComGyro::ArServerSimpleComGyro ( ArServerHandlerCommands handlerCommands,
ArRobot robot,
ArAnalogGyro gyro 
)

Constructor.

ArServerSimpleComGyro::~ArServerSimpleComGyro (  )  [virtual]

Destructor.


Member Function Documentation

void ArServerSimpleComGyro::gyroDisable ( void   ) 

Disables the gyro.

void ArServerSimpleComGyro::gyroEnable ( void   ) 

Enables the gyro.


Member Data Documentation

ArAnalogGyro* ArServerSimpleComGyro::myGyro [protected]

ArFunctorC<ArServerSimpleComGyro> ArServerSimpleComGyro::myGyroDisableCB [protected]

ArFunctorC<ArServerSimpleComGyro> ArServerSimpleComGyro::myGyroEnableCB [protected]

ArServerHandlerCommands* ArServerSimpleComGyro::myHandlerCommands [protected]

ArRobot* ArServerSimpleComGyro::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