FakeAnalogDevice Struct Reference
A test class which replaces a real device driver.
More...
#include <FakeAnalogDevice.hpp>
List of all members.
Public Member Functions |
| FakeAnalogDevice (unsigned int channels=32, unsigned int bin_range=4096, double lowest=-5.0, double highest=+5.0) |
virtual void | rangeSet (unsigned int, unsigned int) |
virtual void | arefSet (unsigned int, unsigned int) |
virtual unsigned int | nbOfChannels () const |
virtual void | read (unsigned int chan, int &value) const |
virtual void | write (unsigned int chan, int value) |
virtual unsigned int | binaryRange () const |
virtual int | binaryLowest () const |
virtual int | binaryHighest () const |
virtual double | lowest (unsigned int) const |
virtual double | highest (unsigned int) const |
virtual double | resolution (unsigned int) const |
Public Attributes |
unsigned int | nbofchans |
unsigned int * | mchannels |
unsigned int | mbin_range |
double | mlowest |
double | mhighest |
Detailed Description
A test class which replaces a real device driver.
It reproduces on the output what it gets on the input.
Definition at line 40 of file FakeAnalogDevice.hpp.
The documentation for this struct was generated from the following file: