rec::robotino::com::DigitalInput Class Reference

Represents a digital input device. More...

#include <DigitalInput.h>

List of all members.

Public Member Functions

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

Static Public Member Functions

static unsigned int numDigitalInputs ()


Detailed Description

Represents a digital input device.

Member Function Documentation

static unsigned int rec::robotino::com::DigitalInput::numDigitalInputs (  )  [static]

Returns:
Returns the number of digital inputs
Exceptions:
nothing 

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

Sets the number of this digital input device.

Parameters:
n The input number. Range [0; Robotstate::numDigitalInputs]
Exceptions:
RobotinoException if the given input number is invalid.

bool rec::robotino::com::DigitalInput::value (  )  const

Returns the current value of the specified input device.

Returns:
The current value of the specified digital input
Exceptions:
RobotinoException 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:34 2010 for rec_robotino_com_c by  doxygen 1.5.5