39 #ifndef DIGITALININTERFACE_HPP 40 #define DIGITALININTERFACE_HPP 44 #include "../../rtt-config.h" 69 ( nameserver, name, this )
93 virtual bool isOn(
unsigned int bit = 0)
const = 0;
101 virtual bool isOff(
unsigned int bit = 0)
const = 0;
109 virtual bool readBit(
unsigned int bit = 0)
const = 0;
119 virtual unsigned int readSequence(
unsigned int start_bit,
unsigned int stop_bit)
const = 0;
125 virtual unsigned int nbOfInputs()
const = 0;
static NameServer< DigitalInInterface * > nameserver
The NameServer of this interface.
virtual ~DigitalInInterface()
Utility class to register a given object with a nameserver, and deregister upon destruction.
DigitalInInterface()
Create a not nameserved DigitalInInterface instance.
DigitalInInterface(const std::string &name)
Construct a nameserved DigitalInInterface instance.
A class representing a Digital Input device from which a maximum of 32 bits can be read at once...
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.