UniSet  2.6.0
Открытые типы | Открытые члены | Открытые статические члены | Защищенные данные | Полный список членов класса
Класс uniset::ComediInterface
Граф связей класса uniset::ComediInterface:
Collaboration graph
[см. легенду]

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

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)
int getAnalogChannel (int subdev, int channel, int range=0, int aref=AREF_GROUND) throw (uniset::Exception)
void setAnalogChannel (int subdev, int channel, int data, int range=0, int aref=AREF_GROUND) throw (uniset::Exception)
bool getDigitalChannel (int subdev, int channel) throw (uniset::Exception)
void setDigitalChannel (int subdev, int channel, bool bit) throw (uniset::Exception)
void configureSubdev (int subdev, SubdevType type) throw (uniset::Exception)
void configureChannel (int subdev, int channel, ChannelType type, int range=0, int aref=0) throw (uniset::Exception)
const std::string devname ()

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

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

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

comedi_t * card
std::string dname

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

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

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

comedi_t* uniset::ComediInterface::card
protected

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