|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
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. | |
| IndexedChannel (T &object, double(T::*getF)(int) const, void(T::*setF)(unsigned int, double), int index) | |
| IndexedChannel (const IndexedChannel &) | |
| virtual | ~IndexedChannel () |
| virtual IndexedChannel * | clone () const |
| Duplicate the channel. | |
| virtual bool | get (double &) const |
| Fetch from channel. | |
| virtual bool | set (double) |
| Store into channel. | |
| virtual bool | isSettable () const |
| Test if settable. | |
| double | operator+= (double value) |
| Add and assign [b]value[/b] to channel. | |
| double | operator-= (double value) |
| Subtract and assign [b]value[/b] to channel. | |
| operator double () const | |
| Read channel. | |
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 | ( | T & | object, |
| double(T::*)(int) const | getF, | ||
| void(T::*)(unsigned int, double) | setF, | ||
| int | index | ||
| ) |
Definition at line 92 of file IndexedChannel.h.
| IndexedChannel< T >::IndexedChannel | ( | const IndexedChannel< T > & | rhs | ) |
Definition at line 97 of file IndexedChannel.h.
|
virtual |
Definition at line 101 of file IndexedChannel.h.
|
private |
|
virtual |
|
virtual |
|
virtual |
|
inlineinherited |
Read channel.
Definition at line 43 of file ConstChannel.h.
References ConstChannel::get().

|
inlineinherited |
Add and assign [b]value[/b] to channel.
Definition at line 45 of file Channel.h.
References ConstChannel::get(), and Channel::set().

|
inlineinherited |
Subtract and assign [b]value[/b] to channel.
Definition at line 54 of file Channel.h.
References ConstChannel::get(), and Channel::set().

|
private |
|
virtual |
|
private |
Definition at line 83 of file IndexedChannel.h.
|
private |
Definition at line 79 of file IndexedChannel.h.
|
private |
Definition at line 76 of file IndexedChannel.h.
|
private |
Definition at line 80 of file IndexedChannel.h.