Orocos Real-Time Toolkit  2.6.0
Public Member Functions
RTT::dev::AnalogOutput Class Reference

A class representing an analog output channel. More...

#include <rtt/extras/dev/AnalogOutput.hpp>

List of all members.

Public Member Functions

 AnalogOutput (AnalogOutInterface *ana_out, unsigned int channel_nr)
 Create an analog output object to read the state of a channel.
 ~AnalogOutput ()
 Destruct the AnalogOutput.
int value (double v)
 Write the value of this channel.
int rawValue (int i)
 Write the raw value of this channel.
double value ()
 Read the value of this channel.
int rawValue ()
 Read the raw value of this channel.
double highest ()
 Return the highest output.
double lowest ()
 Return the lowest output.

Detailed Description

A class representing an analog output channel.

Definition at line 54 of file AnalogOutput.hpp.


Constructor & Destructor Documentation

RTT::dev::AnalogOutput::AnalogOutput ( AnalogOutInterface ana_out,
unsigned int  channel_nr 
) [inline]

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

Parameters:
ana_outThe analog output device to use to read the status.
channel_nrThe channel number to use on the device.

Definition at line 63 of file AnalogOutput.hpp.


Member Function Documentation

int RTT::dev::AnalogOutput::rawValue ( int  i) [inline]

Write the raw value of this channel.

Returns:
0 on success.

Definition at line 86 of file AnalogOutput.hpp.

int RTT::dev::AnalogOutput::value ( double  v) [inline]

Write the value of this channel.

Returns:
0 on success.

Definition at line 77 of file AnalogOutput.hpp.


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