41 #include <visp3/core/vpConfig.h>
43 #ifdef VISP_HAVE_COMEDI
47 #include <comedilib.h>
49 #include <visp3/core/vpColVector.h>
119 comedi_t *getHandler()
const {
return m_handler; }
122 std::vector<lsampl_t> getMaxData()
const {
return m_maxdata; }
124 unsigned int getNChannel()
const {
return m_nchannel; }
127 std::string getPhyDataUnits()
const;
131 std::vector<comedi_range *> getRangeInfo()
const {
return m_range_info; }
133 unsigned int getSubDevice()
const {
return m_subdevice; }
142 void setAnalogReference(
const unsigned int &aref) { m_aref = aref; }
148 void setChannelNumbers(
const unsigned int &nchannel) { m_nchannel = nchannel; }
151 void setDevice(
const std::string &device) { m_device = device; }
158 void setRange(
const unsigned int &range) { m_range = range; }
160 void setSubDevice(
const unsigned int &subdevice) { m_subdevice = subdevice; }
164 std::vector<lsampl_t> getRawData()
const;
169 std::string m_device;
171 unsigned int m_subdevice;
172 unsigned int m_range;
174 unsigned int m_nchannel;
175 std::vector<comedi_range *> m_range_info;
176 std::vector<lsampl_t> m_maxdata;
177 std::vector<unsigned int> m_chanlist;