rec::robotino::com::Relay Class Reference

Represents a relay. More...

#include <Relay.h>

List of all members.

Public Member Functions

void setRelayNumber (unsigned int n)
void setValue (bool on)

Static Public Member Functions

static unsigned int numRelays ()


Detailed Description

Represents a relay.

Member Function Documentation

static unsigned int rec::robotino::com::Relay::numRelays (  )  [static]

Returns:
Returns the number of relays

void rec::robotino::com::Relay::setRelayNumber ( unsigned int  n  ) 

Sets the relay number.

Parameters:
n The relay number. Range: [0; Robotstate::numRelays]
Exceptions:
RobotinoException if relay number is invalid.

void rec::robotino::com::Relay::setValue ( bool  on  ) 

Sets the relay to the given value.

Parameters:
on The value the relay will be set to.
Exceptions:
RobotinoException if the underlying communication object is invalid


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