|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
Access to a [b]double[/b] data member. More...
#include <IndirectChannel.h>
Public Member Functions | |
| IndirectChannel (T &object, double(T::*getF)() const, void(T::*setF)(double)) | |
| Constructor. | |
| IndirectChannel (const IndirectChannel &) | |
| virtual | ~IndirectChannel () |
| virtual IndirectChannel * | 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 | |
| IndirectChannel () | |
| const IndirectChannel & | operator= (const IndirectChannel &) |
Private Attributes | |
| T & | itsObject |
| double(T::* | getF )() const |
| void(T::* | setF )(double) |
Access to a [b]double[/b] data member.
Definition at line 32 of file IndirectChannel.h.
| IndirectChannel< T >::IndirectChannel | ( | T & | object, |
| double(T::* | getF )() const, | ||
| void(T::* | setF )(double) ) |
Constructor.
Definition at line 83 of file IndirectChannel.h.
References get(), getF, itsObject, set(), and setF.
Referenced by clone(), IndirectChannel(), and operator=().
| IndirectChannel< T >::IndirectChannel | ( | const IndirectChannel< T > & | rhs | ) |
Definition at line 90 of file IndirectChannel.h.
References Channel::Channel(), getF, IndirectChannel(), itsObject, and setF.
|
virtual |
Definition at line 97 of file IndirectChannel.h.
|
private |
|
virtual |
Duplicate the channel.
Implements Channel.
Definition at line 102 of file IndirectChannel.h.
References IndirectChannel().
|
virtual |
Fetch from channel.
Implements ConstChannel.
Definition at line 108 of file IndirectChannel.h.
References getF, and itsObject.
Referenced by IndirectChannel().
|
inlinevirtual |
Test if settable.
Reimplemented from Channel.
Definition at line 126 of file IndirectChannel.h.
References setF.
|
inlineinherited |
Read channel.
Definition at line 46 of file ConstChannel.h.
References get().
|
inlineinherited |
Add and assign [b]value[/b] to channel.
Definition at line 47 of file Channel.h.
References ConstChannel::get(), and set().
|
inlineinherited |
Subtract and assign [b]value[/b] to channel.
Definition at line 51 of file Channel.h.
References ConstChannel::get(), and set().
|
private |
|
virtual |
Store into channel.
Implements Channel.
Definition at line 115 of file IndirectChannel.h.
References itsObject, and setF.
Referenced by IndirectChannel().
|
private |
Definition at line 77 of file IndirectChannel.h.
Referenced by get(), IndirectChannel(), and IndirectChannel().
|
private |
Definition at line 74 of file IndirectChannel.h.
Referenced by get(), IndirectChannel(), IndirectChannel(), and set().
|
private |
Definition at line 78 of file IndirectChannel.h.
Referenced by IndirectChannel(), IndirectChannel(), isSettable(), and set().