38 #ifndef ENCODERINTERFACE_HPP 39 #define ENCODERINTERFACE_HPP 43 #include "../../rtt-config.h" 45 #ifdef ORO_PRAGMA_INTERFACE 96 virtual int positionGet()
const = 0;
101 virtual int turnGet()
const = 0;
106 virtual void positionSet(
int p) = 0;
111 virtual void turnSet(
int t ) = 0;
118 virtual int resolution()
const = 0;
127 virtual bool upcounting()
const = 0;
The most generic interface to a position/turn counter, for encoding positions.
static NameServer< EncoderInterface * > nameserver
Utility class to register a given object with a nameserver, and deregister upon destruction.
virtual ~EncoderInterface()
EncoderInterface()
Create a not nameserverd EncoderInterface instance.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
EncoderInterface(const std::string &name)
Create a EncoderInterface with a name.