EEROS
0.4.1.0
API for the EEROS Real-Time Robotics Framework
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
ComediAdc.hpp
Go to the documentation of this file.
1
#ifndef ORG_EEROS_HAL_COMEDIADC_HPP_
2
#define ORG_EEROS_HAL_COMEDIADC_HPP_
3
4
#include <string>
5
#include <comedilib.h>
6
#include <
eeros/hal/ScalablePeripheralInput.hpp
>
7
#include <
eeros/hal/ComediDevice.hpp
>
8
9
namespace
eeros {
10
namespace
hal {
11
12
class
ComediAdc
:
public
ScalablePeripheralInput
<double> {
13
public
:
14
ComediAdc
(std::string
id
,
ComediDevice
* device, uint32_t subDeviceNumber, uint32_t channel,
double
scale
= 1,
double
offset
= 0);
15
virtual
double
get
();
16
17
private
:
18
comedi_t* deviceHandle;
19
uint32_t subDeviceNumber;
20
uint32_t channel;
21
};
22
23
};
24
};
25
26
#endif
/* ORG_EEROS_HAL_COMEDIADC_HPP_ */
eeros::hal::ScalablePeripheralInput
Definition:
ScalablePeripheralInput.hpp:11
ScalablePeripheralInput.hpp
eeros::hal::ComediAdc
Definition:
ComediAdc.hpp:12
ComediDevice.hpp
eeros::hal::ComediAdc::ComediAdc
ComediAdc(std::string id, ComediDevice *device, uint32_t subDeviceNumber, uint32_t channel, double scale=1, double offset=0)
Definition:
ComediAdc.cpp:5
eeros::hal::ScalablePeripheralInput< double >::scale
double scale
Definition:
ScalablePeripheralInput.hpp:22
eeros::hal::ScalablePeripheralInput< double >::offset
double offset
Definition:
ScalablePeripheralInput.hpp:23
eeros::hal::ComediDevice
Definition:
ComediDevice.hpp:10
includes
eeros
hal
ComediAdc.hpp
Generated on Wed Jul 8 2015 11:18:07 for EEROS by
1.8.6