| RTXI 2.4 The Real-Time eXperiment Interface Documentation |
Go to the documentation of this file. 23 #include <gtest/gtest.h> 24 #include <gmock/gmock.h> virtual Device * createDevice(const std::list< std::string > &args)=0
virtual int setAnalogOffsetUnits(type_t type, index_t index, index_t units)=0
virtual size_t getChannelCount(type_t type) const =0
static void callback(DAQ::Device *device, void *)
virtual size_t getAnalogDownsample(type_t type, index_t index) const =0
virtual index_t getAnalogUnits(type_t type, index_t index) const =0
virtual int setAnalogCounter(type_t type, index_t index)=0
std::stringstream cerr_buffer
virtual double getAnalogGain(type_t type, index_t index) const =0
MockDAQDevice(std::string a, IO::channel_t *b, size_t s)
virtual int setAnalogZeroOffset(type_t type, index_t index, double offset)=0
virtual int setAnalogCalibrationValue(type_t type, index_t index, double value)=0
MOCK_METHOD(DAQ::Device *, createDevice,(const std::list< std::string > &),(override))
virtual index_t getAnalogRange(type_t type, index_t index) const =0
virtual int setAnalogUnits(type_t type, index_t index, index_t units)=0
virtual double getAnalogCalibrationValue(type_t type, index_t index) const =0
virtual int setChannelActive(type_t type, index_t index, bool state)=0
virtual bool getChannelActive(type_t type, index_t index) const =0
virtual size_t getAnalogRangeCount(type_t type, index_t index) const =0
virtual size_t getAnalogUnitsCount(type_t type, index_t index) const =0
MockDAQDriver(const std::string name)
virtual int setAnalogCalibrationActive(type_t type, index_t index, bool state)=0
virtual double getAnalogZeroOffset(type_t type, index_t index) const =0
virtual index_t getAnalogReference(type_t type, index_t index) const =0
DAQ::Manager * daq_manager
virtual std::string getAnalogRangeString(type_t type, index_t index, index_t range) const =0
virtual direction_t getDigitalDirection(index_t index) const =0
virtual bool getAnalogCalibrationState(type_t type, index_t index) const =0
virtual size_t getAnalogReferenceCount(type_t type, index_t index) const =0
MOCK_METHOD(size_t, getChannelCount,(DAQ::type_t),(const, override))
virtual std::string getAnalogReferenceString(type_t type, index_t index, index_t reference) const =0
virtual int setAnalogRange(type_t type, index_t index, index_t range)=0
virtual int setDigitalDirection(index_t index, direction_t direction)=0
std::streambuf * cerr_original_buffer
virtual bool getAnalogCalibrationActive(type_t type, index_t index) const =0
virtual int setAnalogReference(type_t type, index_t index, index_t reference)=0
virtual std::string getAnalogUnitsString(type_t type, index_t index, index_t units) const =0
virtual int setAnalogGain(type_t type, index_t index, double gain)=0
Driver(const std::string &name)
virtual int setAnalogDownsample(type_t type, index_t index, size_t downsample)=0
virtual index_t getAnalogOffsetUnits(type_t type, index_t index) const =0