OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Direct access to a [b]double[/b] variable. More...
#include <DirectChannel.h>
Public Member Functions | |
DirectChannel (double &value) | |
Constructor. More... | |
DirectChannel (const DirectChannel &) | |
virtual | ~DirectChannel () |
virtual DirectChannel * | clone () const |
Duplicate the channel. More... | |
virtual bool | set (double) |
Store into channel. More... | |
virtual bool | get (double &) const |
Fetch from channel. More... | |
![]() | |
Channel () | |
virtual | ~Channel () |
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 | isSettable () const |
Test if settable. More... | |
![]() | |
ConstChannel () | |
virtual | ~ConstChannel () |
operator double () const | |
Read channel. More... | |
Private Member Functions | |
DirectChannel () | |
const DirectChannel & | operator= (const DirectChannel &) |
Private Attributes | |
double & | reference |
Direct access to a [b]double[/b] variable.
Definition at line 31 of file DirectChannel.h.
|
inlineexplicit |
Constructor.
Definition at line 69 of file DirectChannel.h.
|
inline |
Definition at line 74 of file DirectChannel.h.
|
inlinevirtual |
Definition at line 80 of file DirectChannel.h.
|
private |
Referenced by clone().
|
inlinevirtual |
Duplicate the channel.
Implements Channel.
Definition at line 84 of file DirectChannel.h.
References DirectChannel().
|
inlinevirtual |
Fetch from channel.
Implements ConstChannel.
Definition at line 95 of file DirectChannel.h.
References reference.
|
private |
|
inlinevirtual |
Store into channel.
Implements Channel.
Definition at line 89 of file DirectChannel.h.
References reference.
|
private |
Definition at line 65 of file DirectChannel.h.