UniSet 2.44.3
Класс uniset::FakeComediInterfacefinal

#include <FakeIOControl.h>

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

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

virtual int getAnalogChannel (int subdev, int channel, int range=0, int aref=AREF_GROUND, int adelay=10 *1000) const override
virtual void setAnalogChannel (int subdev, int channel, int data, int range=0, int aref=AREF_GROUND) const override
virtual bool getDigitalChannel (int subdev, int channel) const override
virtual void setDigitalChannel (int subdev, int channel, bool bit) const override
virtual void configureSubdev (int subdev, SubdevType type) const override
virtual void configureChannel (int subdev, int channel, ChannelType type, int range=0, int aref=0) const override
Открытые члены унаследованные от uniset::ComediInterface
 ComediInterface (const std::string &dev, const std::string &cname)
const std::string devname () const
const std::string cardname () const

Открытые атрибуты

std::vector< int > chInputs
std::vector< int > chOutputs

Статические открытые данные

static const size_t maxChannelNum = 32

Дополнительные унаследованные члены

Открытые типы унаследованные от 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
}
Открытые статические члены унаследованные от uniset::ComediInterface
static std::string type2str (SubdevType t)
static SubdevType str2type (const std::string &s)
Защищенные данные унаследованные от uniset::ComediInterface
comedi_t * card
std::string dname
std::string name

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

Специальный "управляемый тестами" интерфейс карты в/в.

Методы

◆ configureChannel()

void uniset::FakeComediInterface::configureChannel ( int subdev,
int channel,
ComediInterface::ChannelType type,
int range = 0,
int aref = 0 ) const
overridevirtual

Переопределяет метод предка uniset::ComediInterface.

◆ configureSubdev()

void uniset::FakeComediInterface::configureSubdev ( int subdev,
ComediInterface::SubdevType type ) const
overridevirtual

Переопределяет метод предка uniset::ComediInterface.

◆ getAnalogChannel()

int uniset::FakeComediInterface::getAnalogChannel ( int subdev,
int channel,
int range = 0,
int aref = AREF_GROUND,
int adelay = 10 * 1000 ) const
overridevirtual

Переопределяет метод предка uniset::ComediInterface.

◆ getDigitalChannel()

bool uniset::FakeComediInterface::getDigitalChannel ( int subdev,
int channel ) const
overridevirtual

Переопределяет метод предка uniset::ComediInterface.

◆ setAnalogChannel()

void uniset::FakeComediInterface::setAnalogChannel ( int subdev,
int channel,
int data,
int range = 0,
int aref = AREF_GROUND ) const
overridevirtual

Переопределяет метод предка uniset::ComediInterface.

◆ setDigitalChannel()

void uniset::FakeComediInterface::setDigitalChannel ( int subdev,
int channel,
bool bit ) const
overridevirtual

Переопределяет метод предка uniset::ComediInterface.