A class representing an analog output channel. More...
#include <rtt/dev/AnalogOutput.hpp>
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. |
A class representing an analog output channel.
Definition at line 51 of file AnalogOutput.hpp.
RTT::AnalogOutput::AnalogOutput | ( | AnalogOutInterface * | ana_out, | |
unsigned int | channel_nr | |||
) | [inline] |
Create an analog output object to read the state of a channel.
ana_out | The analog output device to use to read the status. | |
channel_nr | The channel number to use on the device. |
Definition at line 50 of file AnalogOutput.hpp.
int RTT::AnalogOutput::rawValue | ( | int | i | ) | [inline] |
Write the raw value of this channel.
Definition at line 73 of file AnalogOutput.hpp.
int RTT::AnalogOutput::value | ( | double | v | ) | [inline] |
Write the value of this channel.
Definition at line 64 of file AnalogOutput.hpp.