39 #ifndef DIGITALOUTINTERFACE_HPP 40 #define DIGITALOUTINTERFACE_HPP 44 #include "../../rtt-config.h" 92 virtual void switchOn(
unsigned int n ) = 0;
99 virtual void switchOff(
unsigned int n ) = 0;
104 virtual void setBit(
unsigned int bit,
bool value ) = 0;
110 virtual void setSequence(
unsigned int start_bit,
unsigned int stop_bit,
unsigned int value) = 0;
116 virtual bool checkBit(
unsigned int n)
const = 0;
122 virtual unsigned int checkSequence(
unsigned int start_bit,
unsigned int stop_bit )
const = 0;
128 virtual unsigned int nbOfOutputs()
const = 0;
static NameServer< DigitalOutInterface * > nameserver
The NameServer of this interface.
DigitalOutInterface(const std::string &name)
Create a DigitalOutInterface with an optional name.
DigitalOutInterface()
Create a not nameserverd DigitalOutInterface instance.
Utility class to register a given object with a nameserver, and deregister upon destruction.
virtual ~DigitalOutInterface()
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
A class representing a Digital Output device which can read or write a maximum of 32 bits at once...