OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
ConstChannel Class Referenceabstract

Abstract interface for read-only access to variable. More...

#include <ConstChannel.h>

Inheritance diagram for ConstChannel:
Collaboration diagram for ConstChannel:

Public Member Functions

 ConstChannel ()
virtual ~ConstChannel ()
virtual ConstChannelclone () const =0
 Duplicate the channel.
virtual bool get (double &value) const =0
 Read channel.
 operator double () const
 Read channel.
virtual bool isSettable () const
 Check if settable.

Private Member Functions

 ConstChannel (const ConstChannel &)
const ConstChanneloperator= (const ConstChannel &)

Detailed Description

Abstract interface for read-only access to variable.

Definition at line 29 of file ConstChannel.h.

Constructor & Destructor Documentation

◆ ConstChannel() [1/2]

ConstChannel::ConstChannel ( )

Definition at line 28 of file ConstChannel.cpp.

Referenced by Channel::Channel(), clone(), ConstChannel(), and operator=().

Here is the caller graph for this function:

◆ ~ConstChannel()

ConstChannel::~ConstChannel ( )
virtual

Definition at line 32 of file ConstChannel.cpp.

◆ ConstChannel() [2/2]

ConstChannel::ConstChannel ( const ConstChannel & )
private

References ConstChannel().

Here is the call graph for this function:

Member Function Documentation

◆ clone()

virtual ConstChannel * ConstChannel::clone ( ) const
pure virtual

Duplicate the channel.

Implemented in Channel, DirectChannel, IndexedChannel< T >, and IndirectChannel< T >.

References ConstChannel().

Here is the call graph for this function:

◆ get()

virtual bool ConstChannel::get ( double & value) const
pure virtual

Read channel.

Implemented in DirectChannel, IndexedChannel< T >, and IndirectChannel< T >.

Referenced by operator double(), Channel::operator+=(), and Channel::operator-=().

Here is the caller graph for this function:

◆ isSettable()

bool ConstChannel::isSettable ( ) const
virtual

Check if settable.

Reimplemented in Channel, IndexedChannel< T >, and IndirectChannel< T >.

Definition at line 36 of file ConstChannel.cpp.

◆ operator double()

ConstChannel::operator double ( ) const
inline

Read channel.

Definition at line 46 of file ConstChannel.h.

References get().

Here is the call graph for this function:

◆ operator=()

const ConstChannel & ConstChannel::operator= ( const ConstChannel & )
private

References ConstChannel().

Here is the call graph for this function:

The documentation for this class was generated from the following files: