OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
Access to an indexed [b]double[/b] data member. More...
#include <IndexedChannel.h>
Public Member Functions | |
IndexedChannel (T &object, double(T::*getF)(int) const, void(T::*setF)(int, double), int index) | |
Constructor. More... | |
IndexedChannel (const IndexedChannel &) | |
virtual | ~IndexedChannel () |
virtual IndexedChannel * | clone () const |
Duplicate the channel. More... | |
virtual bool | get (double &) const |
Fetch from channel. More... | |
virtual bool | set (double) |
Store into channel. More... | |
virtual bool | isSettable () const |
Test if settable. More... | |
![]() | |
Channel () | |
virtual | ~Channel () |
virtual Channel * | clone () const =0 |
Duplicate the channel. More... | |
double | operator= (double value) |
Assign [b]value[/b] to channel. More... | |
double | operator+= (double value) |
Add and assign [b]value[/b] to channel. More... | |
double | operator-= (double value) |
Subtract and assign [b]value[/b] to channel. More... | |
virtual bool | set (double value)=0 |
Store [b]value[/b] into channel. More... | |
virtual bool | isSettable () const |
Test if settable. More... | |
![]() | |
ConstChannel () | |
virtual | ~ConstChannel () |
virtual ConstChannel * | clone () const =0 |
Duplicate the channel. More... | |
virtual bool | get (double &value) const =0 |
Read channel. More... | |
operator double () const | |
Read channel. More... | |
virtual bool | isSettable () const |
Check if settable. More... | |
Private Member Functions | |
IndexedChannel () | |
const IndexedChannel & | operator= (const IndexedChannel &) |
Private Attributes | |
T & | itsObject |
double(T::* | getF )(int) const |
void(T::* | setF )(int, double) |
int | bias |
Access to an indexed [b]double[/b] data member.
Definition at line 32 of file IndexedChannel.h.
IndexedChannel< T >::IndexedChannel | ( | T & | object, |
double(T::*)(int) const | getF, | ||
void(T::*)(int, double) | setF, | ||
int | index | ||
) |
Constructor.
Definition at line 87 of file IndexedChannel.h.
IndexedChannel< T >::IndexedChannel | ( | const IndexedChannel< T > & | rhs | ) |
Definition at line 94 of file IndexedChannel.h.
|
virtual |
Definition at line 101 of file IndexedChannel.h.
|
private |
|
virtual |
|
virtual |
|
virtual |
|
private |
|
virtual |
|
private |
Definition at line 82 of file IndexedChannel.h.
|
private |
Definition at line 78 of file IndexedChannel.h.
|
private |
Definition at line 75 of file IndexedChannel.h.
|
private |
Definition at line 79 of file IndexedChannel.h.