OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Abstract interface for read-only access to variable. More...
#include <ConstChannel.h>
Public Member Functions | |
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 | |
ConstChannel (const ConstChannel &) | |
const ConstChannel & | operator= (const ConstChannel &) |
Abstract interface for read-only access to variable.
Definition at line 29 of file ConstChannel.h.
ConstChannel::ConstChannel | ( | ) |
Definition at line 28 of file ConstChannel.cpp.
|
virtual |
Definition at line 32 of file ConstChannel.cpp.
|
private |
|
pure virtual |
Duplicate the channel.
Implemented in Channel, IndirectChannel< T >, IndexedChannel< T >, and DirectChannel.
|
pure virtual |
Read channel.
Implemented in IndirectChannel< T >, IndexedChannel< T >, and DirectChannel.
Referenced by operator double(), Channel::operator+=(), and Channel::operator-=().
|
virtual |
Check if settable.
Reimplemented in IndirectChannel< T >, IndexedChannel< T >, and Channel.
Definition at line 36 of file ConstChannel.cpp.
|
inline |
Read channel.
Definition at line 46 of file ConstChannel.h.
References get().
|
private |