#include <Comedi.h>
Public Member Functions |
| Comedi (const ::std::string &filename="/dev/comedi0") |
virtual | ~Comedi () |
void | close () |
unsigned int | getAref () const |
::std::string | getBoardName () const |
comedi_t * | getDevice () const |
::std::string | getDriverName () const |
int | getFileno () const |
lsampl_t | getMax (const ::std::size_t &subdevice, const ::std::size_t &channel) const |
::std::size_t | getNumChannels (const ::std::size_t &subdevice) const |
::std::size_t | getNumRanges (const ::std::size_t &subdevice, const ::std::size_t &channel) const |
::std::size_t | getNumSubdevices () const |
unsigned int | getRange () const |
::std::size_t | getSubdeviceFlags (const ::std::size_t &subdevice) const |
void | open () |
void | read (const ::std::size_t &subdevice, const ::std::size_t &channel, double &data) |
void | read (const ::std::size_t &subdevice, const ::std::size_t &channel, float &data) |
void | setAref (const unsigned int &aref) |
void | setRange (const unsigned int &range) |
void | write (const ::std::size_t &subdevice, const ::std::size_t &channel, const double &data) |
void | write (const ::std::size_t &subdevice, const ::std::size_t &channel, const float &data) |
| Com () |
virtual | ~Com () |
bool | isConnected () const |
Constructor & Destructor Documentation
rl::hal::Comedi::Comedi |
( |
const ::std::string & |
filename = "/dev/comedi0" | ) |
|
rl::hal::Comedi::~Comedi |
( |
| ) |
|
|
virtual |
Member Function Documentation
void rl::hal::Comedi::close |
( |
| ) |
|
|
virtual |
unsigned int rl::hal::Comedi::getAref |
( |
| ) |
const |
std::string rl::hal::Comedi::getBoardName |
( |
| ) |
const |
comedi_t * rl::hal::Comedi::getDevice |
( |
| ) |
const |
std::string rl::hal::Comedi::getDriverName |
( |
| ) |
const |
int rl::hal::Comedi::getFileno |
( |
| ) |
const |
lsampl_t rl::hal::Comedi::getMax |
( |
const ::std::size_t & |
subdevice, |
|
|
const ::std::size_t & |
channel |
|
) |
| const |
std::size_t rl::hal::Comedi::getNumChannels |
( |
const ::std::size_t & |
subdevice | ) |
const |
std::size_t rl::hal::Comedi::getNumRanges |
( |
const ::std::size_t & |
subdevice, |
|
|
const ::std::size_t & |
channel |
|
) |
| const |
std::size_t rl::hal::Comedi::getNumSubdevices |
( |
| ) |
const |
unsigned int rl::hal::Comedi::getRange |
( |
| ) |
const |
std::size_t rl::hal::Comedi::getSubdeviceFlags |
( |
const ::std::size_t & |
subdevice | ) |
const |
void rl::hal::Comedi::open |
( |
| ) |
|
|
virtual |
void rl::hal::Comedi::read |
( |
const ::std::size_t & |
subdevice, |
|
|
const ::std::size_t & |
channel, |
|
|
double & |
data |
|
) |
| |
void rl::hal::Comedi::read |
( |
const ::std::size_t & |
subdevice, |
|
|
const ::std::size_t & |
channel, |
|
|
float & |
data |
|
) |
| |
void rl::hal::Comedi::setAref |
( |
const unsigned int & |
aref | ) |
|
void rl::hal::Comedi::setRange |
( |
const unsigned int & |
range | ) |
|
void rl::hal::Comedi::write |
( |
const ::std::size_t & |
subdevice, |
|
|
const ::std::size_t & |
channel, |
|
|
const double & |
data |
|
) |
| |
void rl::hal::Comedi::write |
( |
const ::std::size_t & |
subdevice, |
|
|
const ::std::size_t & |
channel, |
|
|
const float & |
data |
|
) |
| |
Member Data Documentation
unsigned int rl::hal::Comedi::aref |
|
private |
comedi_t* rl::hal::Comedi::device |
|
private |
::std::string rl::hal::Comedi::filename |
|
private |
unsigned int rl::hal::Comedi::range |
|
private |
The documentation for this class was generated from the following files: