#include </home/sspr/src/www/orocos-1.0/export/build/orocos-rtt-1.2.2/build/rtt/dev/DigitalInInterface.hpp>
Inheritance diagram for DigitalInInterface:

When there are N bits, the bits are numbered from Zero to N-1.
Public Member Functions | |
| DigitalInInterface (const std::string &name) | |
| Construct a nameserved DigitalInInterface instance. | |
| DigitalInInterface () | |
| Create a not nameserved DigitalInInterface instance. | |
| virtual bool | isOn (unsigned int bit=0) const=0 |
| Inspect if a certain bit is on. | |
| virtual bool | isOff (unsigned int bit=0) const=0 |
| Inspect if a certain bit is on. | |
| virtual bool | readBit (unsigned int bit=0) const=0 |
| Inspect a bit. | |
| virtual unsigned int | readSequence (unsigned int start_bit, unsigned int stop_bit) const=0 |
| Inspect a sequence of bits. | |
| virtual unsigned int | nbOfInputs () const=0 |
| Returns the number of bits that can be read for digital input. | |
Static Public Attributes | |
| static NameServer< DigitalInInterface * > | nameserver |
| The NameServer of this interface. | |
| DigitalInInterface | ( | const std::string & | name | ) | [inline] |
Construct a nameserved DigitalInInterface instance.
The object can then be retrieved using DigitalInInterface::nameserver .
| name | The name which will refer to this instance. |
| virtual bool isOn | ( | unsigned int | bit = 0 |
) | const [pure virtual] |
Inspect if a certain bit is on.
| bit | The bit to check, starting from zero. |
| virtual bool isOff | ( | unsigned int | bit = 0 |
) | const [pure virtual] |
Inspect if a certain bit is on.
| bit | The bit to check, starting from zero. |
| virtual bool readBit | ( | unsigned int | bit = 0 |
) | const [pure virtual] |
Inspect a bit.
| bit | The bit to check, starting from zero. |
| virtual unsigned int readSequence | ( | unsigned int | start_bit, | |
| unsigned int | stop_bit | |||
| ) | const [pure virtual] |
Inspect a sequence of bits.
| start_bit | The first bit to check. | |
| stop_bit | The last bit (inclusive) to check. |
NameServer<DigitalInInterface*> nameserver [static] |
1.5.1