26 class FakeComediInterface final:
27 public ComediInterface
30 FakeComediInterface();
31 virtual ~FakeComediInterface();
33 static const size_t maxChannelNum = 32;
42 std::vector<int> chInputs;
43 mutable std::vector<int> chOutputs;
49 virtual int getAnalogChannel(
int subdev,
int channel,
int range = 0,
int aref = AREF_GROUND,
int adelay = 10 * 1000 )
const override;
51 virtual void setAnalogChannel(
int subdev,
int channel,
int data,
int range = 0,
int aref = AREF_GROUND )
const override;
53 virtual bool getDigitalChannel(
int subdev,
int channel )
const override;
55 virtual void setDigitalChannel(
int subdev,
int channel,
bool bit )
const override;
57 virtual void configureSubdev(
int subdev, SubdevType type )
const override;
59 virtual void configureChannel(
int subdev,
int channel, ChannelType type,
int range = 0,
int aref = 0 )
const override;
static std::shared_ptr< FakeIOControl > init_iocontrol(int argc, const char *const *argv, uniset::ObjectId icID, const std::shared_ptr< SharedMemory > &ic=nullptr, const std::string &prefix="io")
Определения FakeIOControl.cc:59