UniSet 2.44.3
Класс uniset::ComediInterface

#include <ComediInterface.h>

Граф наследования:uniset::ComediInterface:
Граф связей класса uniset::ComediInterface:

Открытые типы

enum  ChannelType { DI = INSN_CONFIG_DIO_INPUT , DO = INSN_CONFIG_DIO_OUTPUT , AI = 100 , AO = 101 }
enum  SubdevType {
  Unknown = 0 , TBI24_0 = 1 , TBI0_24 = 2 , TBI16_8 = 3 ,
  GRAYHILL = 4
}

Открытые члены

 ComediInterface (const std::string &dev, const std::string &cname)
virtual int getAnalogChannel (int subdev, int channel, int range=0, int aref=AREF_GROUND, int adelay=10 *1000) const
virtual void setAnalogChannel (int subdev, int channel, int data, int range=0, int aref=AREF_GROUND) const
virtual bool getDigitalChannel (int subdev, int channel) const
virtual void setDigitalChannel (int subdev, int channel, bool bit) const
virtual void configureSubdev (int subdev, SubdevType type) const
virtual void configureChannel (int subdev, int channel, ChannelType type, int range=0, int aref=0) const
const std::string devname () const
const std::string cardname () const

Открытые статические члены

static std::string type2str (SubdevType t)
static SubdevType str2type (const std::string &s)

Защищенные данные

comedi_t * card
std::string dname
std::string name

Подробное описание

Интерфейс для работы с в/в

Данные класса

◆ card

comedi_t* uniset::ComediInterface::card
protected

интерфейс для работы с картами в/в