1 #ifndef CLASSIC_ConstChannel_HH
2 #define CLASSIC_ConstChannel_HH
42 virtual bool get(
double &value)
const = 0;
46 operator double()
const
47 {
double value = 0.0;
get(value);
return value; }
Abstract interface for read-only access to variable.
virtual bool isSettable() const
Check if settable.
virtual bool get(double &value) const =0
Read channel.
virtual ConstChannel * clone() const =0
Duplicate the channel.
ConstChannel(const ConstChannel &)
const ConstChannel & operator=(const ConstChannel &)