1 #ifndef CLASSIC_IndexedChannel_HH
2 #define CLASSIC_IndexedChannel_HH
45 void (
T::*
setF)(
int,
double),
int index);
56 virtual bool get(
double &)
const;
61 virtual bool set(
double);
78 double(
T::*getF)(int)
const;
88 void (
T::*
set)(
int,
double),
int index):
89 itsObject(object), getF(get), setF(set), bias(index)
96 itsObject(rhs.itsObject), getF(rhs.getF), setF(rhs.setF), bias(rhs.bias)
113 value = (itsObject.*getF)(bias);
121 (itsObject.*setF)(bias, value);
134 #endif // CLASSIC_IndexedChannel_HH
void(T::* setF)(int, double)
virtual bool get(double &) const
Fetch from channel.
virtual bool isSettable() const
Test if settable.
virtual bool set(double)
Store into channel.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
virtual ~IndexedChannel()
virtual IndexedChannel * clone() const
Duplicate the channel.
double(T::* getF)(int) const
set(_SRCS Action.cpp Attribute.cpp AttributeBase.cpp AttributeHandler.cpp BeamSequence.cpp Definition.cpp Directory.cpp Element.cpp Invalidator.cpp OpalData.cpp Object.cpp ObjectFunction.cpp PlaceRep.cpp RangeRep.cpp Table.cpp TableRowRep.cpp ValueDefinition.cpp) include_directories($
Abstract interface for read/write access to variable.
const IndexedChannel & operator=(const IndexedChannel &)
Access to an indexed [b]double[/b] data member.