#include <AnalogOutput.hpp>
Public Member Functions | |
| AnalogOutput (AnalogOutInterface *ana_out, unsigned int channel_nr) | |
| AnalogOutput (AnalogOutInterface *ana_out, unsigned int channel_nr) | |
| double | highest () |
| double | highest () |
| double | lowest () |
| double | lowest () |
| int | rawValue () |
| int | rawValue (int i) |
| int | rawValue () |
| int | rawValue (int i) |
| double | value () |
| int | value (double v) |
| double | value () |
| int | value (double v) |
| ~AnalogOutput () | |
| ~AnalogOutput () | |
Private Attributes | |
| AnalogOutInterface * | board |
| int | channel |
A class representing an analog output channel.
Definition at line 52 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
| RTT::dev::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 install/include/rtt/extras/dev/AnalogOutput.hpp.
| RTT::dev::AnalogOutput::~AnalogOutput | ( | ) | [inline] |
Destruct the AnalogOutput.
Definition at line 58 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
| RTT::dev::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 rtt/extras/dev/AnalogOutput.hpp.
| RTT::dev::AnalogOutput::~AnalogOutput | ( | ) | [inline] |
Destruct the AnalogOutput.
Definition at line 58 of file rtt/extras/dev/AnalogOutput.hpp.
| double RTT::dev::AnalogOutput::highest | ( | ) | [inline] |
Return the highest output.
Definition at line 101 of file rtt/extras/dev/AnalogOutput.hpp.
| double RTT::dev::AnalogOutput::highest | ( | ) | [inline] |
Return the highest output.
Definition at line 101 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
| double RTT::dev::AnalogOutput::lowest | ( | ) | [inline] |
Return the lowest output.
Definition at line 109 of file rtt/extras/dev/AnalogOutput.hpp.
| double RTT::dev::AnalogOutput::lowest | ( | ) | [inline] |
Return the lowest output.
Definition at line 109 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
| int RTT::dev::AnalogOutput::rawValue | ( | ) | [inline] |
Read the raw value of this channel.
Definition at line 91 of file rtt/extras/dev/AnalogOutput.hpp.
| int RTT::dev::AnalogOutput::rawValue | ( | int | i | ) | [inline] |
Write the raw value of this channel.
Definition at line 73 of file rtt/extras/dev/AnalogOutput.hpp.
| int RTT::dev::AnalogOutput::rawValue | ( | ) | [inline] |
Read the raw value of this channel.
Definition at line 91 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
| int RTT::dev::AnalogOutput::rawValue | ( | int | i | ) | [inline] |
Write the raw value of this channel.
Definition at line 73 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
| double RTT::dev::AnalogOutput::value | ( | ) | [inline] |
Read the value of this channel.
Definition at line 81 of file rtt/extras/dev/AnalogOutput.hpp.
| int RTT::dev::AnalogOutput::value | ( | double | v | ) | [inline] |
Write the value of this channel.
Definition at line 64 of file rtt/extras/dev/AnalogOutput.hpp.
| double RTT::dev::AnalogOutput::value | ( | ) | [inline] |
Read the value of this channel.
Definition at line 81 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
| int RTT::dev::AnalogOutput::value | ( | double | v | ) | [inline] |
Write the value of this channel.
Definition at line 64 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
AnalogOutInterface * RTT::dev::AnalogOutput::board [private] |
Definition at line 115 of file install/include/rtt/extras/dev/AnalogOutput.hpp.
int RTT::dev::AnalogOutput::channel [private] |
Definition at line 116 of file install/include/rtt/extras/dev/AnalogOutput.hpp.