AnalogInput Class Template Reference
[Device Interfaces]

#include <rtt/dev/AnalogInput.hpp>

List of all members.


Detailed Description

template<class InputType>
class RTT::AnalogInput< InputType >

A class representing an analog input channel.

Parameters:
InputType The type (int, unsigned int, double,...) in which data is sent to the board.

Definition at line 56 of file AnalogInput.hpp.


Public Member Functions

 AnalogInput (AnalogInInterface< InputType > *ana_in, unsigned int channel_nr)
 Create an analog input object to read the state of a channel.
 ~AnalogInput ()
 Destruct the AnalogInput.
double value () const
 Read the value of this channel.
InputType rawValue () const
 Read the raw value of this channel.

Constructor & Destructor Documentation

AnalogInput ( AnalogInInterface< InputType > *  ana_in,
unsigned int  channel_nr 
) [inline]

Create an analog input object to read the state of a channel.

Parameters:
ana_in The analog input device to use to read the status.
channel_nr The channel number to use on the device.

Definition at line 65 of file AnalogInput.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Mar 25 17:41:56 2008 for OrocosReal-TimeToolkit by  doxygen 1.5.3