FakeDigitalDevice Class Reference
A Fake (Simulated) Digital Input/Output Device which replicates the inputs on its outputs.
More...
#include <FakeDigitalDevice.hpp>
List of all members.
Public Member Functions |
| FakeDigitalDevice (unsigned int channels=32) |
virtual void | switchOn (unsigned int n) |
virtual void | switchOff (unsigned int n) |
virtual void | setBit (unsigned int bit, bool value) |
virtual void | setSequence (unsigned int start_bit, unsigned int stop_bit, unsigned int value) |
virtual bool | checkBit (unsigned int n) const |
virtual unsigned int | checkSequence (unsigned int start_bit, unsigned int stop_bit) const |
virtual unsigned int | nbOfOutputs () const |
virtual unsigned int | nbOfInputs () const |
virtual bool | isOn (unsigned int bit=0) const |
virtual bool | isOff (unsigned int bit=0) const |
virtual bool | readBit (unsigned int bit=0) const |
virtual unsigned int | readSequence (unsigned int start_bit, unsigned int stop_bit) const |
Public Attributes |
std::vector< bool > | mchannels |
Detailed Description
A Fake (Simulated) Digital Input/Output Device which replicates the inputs on its outputs.
Definition at line 41 of file FakeDigitalDevice.hpp.
The documentation for this class was generated from the following file: