|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Abstract interface for read/write access to variable. More...
#include <Channel.h>


Public Member Functions | |
| Channel () | |
| virtual | ~Channel () |
| virtual Channel * | clone () const =0 |
| Duplicate the channel. | |
| double | operator= (double value) |
| Assign [b]value[/b] to channel. | |
| double | operator+= (double value) |
| Add and assign [b]value[/b] to channel. | |
| double | operator-= (double value) |
| Subtract and assign [b]value[/b] to channel. | |
| virtual bool | set (double value)=0 |
| Store [b]value[/b] into channel. | |
| virtual bool | isSettable () const |
| Test if settable. | |
| virtual bool | get (double &value) const =0 |
| Read channel. | |
| operator double () const | |
| Read channel. | |
Private Member Functions | |
| Channel (const Channel &) | |
| const Channel & | operator= (const Channel &) |
| Channel::Channel | ( | ) |
Definition at line 26 of file Channel.cpp.
|
virtual |
Definition at line 28 of file Channel.cpp.
|
private |
|
pure virtual |
Duplicate the channel.
Implements ConstChannel.
Implemented in DirectChannel, IndexedChannel< T >, and IndirectChannel< T >.
|
pure virtualinherited |
Read channel.
Implemented in DirectChannel, IndexedChannel< T >, and IndirectChannel< T >.
Referenced by ConstChannel::operator double(), operator+=(), and operator-=().
|
virtual |
Test if settable.
Reimplemented from ConstChannel.
Reimplemented in IndexedChannel< T >, and IndirectChannel< T >.
Definition at line 30 of file Channel.cpp.
Referenced by ElementBase::setAttribute().
|
inlineinherited |
Read channel.
Definition at line 43 of file ConstChannel.h.
References ConstChannel::get().

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

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

|
inline |
|
pure virtual |
Store [b]value[/b] into channel.
Implemented in DirectChannel, IndexedChannel< T >, and IndirectChannel< T >.
Referenced by operator+=(), operator-=(), and operator=().