rec::robotino::com::AnalogInput Class Reference

An analog Input. More...

#include <AnalogInput.h>

List of all members.

Public Member Functions

void setInputNumber (unsigned int n)
float value () const

Static Public Member Functions

static unsigned int numAnalogInputs ()


Detailed Description

An analog Input.

Member Function Documentation

static unsigned int rec::robotino::com::AnalogInput::numAnalogInputs (  )  [static]

Returns:
Returns the number of analog inputs.

void rec::robotino::com::AnalogInput::setInputNumber ( unsigned int  n  ) 

Sets the number of this analog input device.

Parameters:
n The input number. Range [0; Robotstate::numAnalogInputs]
Exceptions:
RobotinoException if the given input number is out of range.

float rec::robotino::com::AnalogInput::value (  )  const

Returns the current value of the specified input device.

Returns:
The current value of the specified analog input
Exceptions:
Exception if the underlying communication object is invalid
See also:
setInputNumber(), Actor::setComId


The documentation for this class was generated from the following file:

Generated on Thu Dec 30 08:47:33 2010 for rec_robotino_com_c by  doxygen 1.5.5