Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

SSC Class Reference

Short Description. More...

#include <servo.h>

Inheritance diagram for SSC:

Servo List of all members.

Public Member Functions

 SSC (int ssc_servo_number, int initial_value=128)
int setValue (int ssc_value)
int getValue (void)
int getNumber (void)

Private Attributes

int value
int num

Detailed Description

Short Description.

Just a simple base class for servo values, since not all device that can be controlled by the SSC (serial servo contoller) are servos.

Parameters:
<parameter_name> <parameter_descreption>
Returns:
<information on="" what="" is="" being="" returned>="">
Author:
<author name>="">

Definition at line 15 of file servo.h.


Constructor & Destructor Documentation

SSC::SSC int  ssc_servo_number,
int  initial_value = 128
[inline]
 

Definition at line 20 of file servo.h.

References num, and value.


Member Function Documentation

int SSC::getNumber void   )  [inline]
 

Definition at line 37 of file servo.h.

References num.

Referenced by hwInterface::writeControl().

int SSC::getValue void   )  [inline]
 

Definition at line 36 of file servo.h.

References value.

Referenced by main(), fhwInterface::writeControl(), and hwInterface::writeControl().

int SSC::setValue int  ssc_value  )  [inline]
 

Definition at line 26 of file servo.h.

References value.

Referenced by fhwInterface::setAdjustedSCPower(), hwInterface::setAdjustedSCPower(), Servo::setAngle(), fhwInterface::setSCPower(), hwInterface::setSCPower(), fhwInterface::setSCValue(), hwInterface::setSCValue(), hwInterface::setShiftValue(), and hwInterface::setSteeringValue().


Member Data Documentation

int SSC::num [private]
 

Definition at line 18 of file servo.h.

Referenced by getNumber(), and SSC().

int SSC::value [private]
 

Definition at line 17 of file servo.h.

Referenced by getValue(), setValue(), and SSC().


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 14:26:02 2006 for Raptor by  doxygen 1.4.4