OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Private Member Functions | List of all members
ConstChannel Class Referenceabstract

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

#include <ConstChannel.h>

Inheritance diagram for ConstChannel:
Inheritance graph
[legend]

Public Member Functions

 ConstChannel ()
 
virtual ~ConstChannel ()
 
virtual ConstChannelclone () 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 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.

◆ ~ConstChannel()

ConstChannel::~ConstChannel ( )
virtual

Definition at line 32 of file ConstChannel.cpp.

◆ ConstChannel() [2/2]

ConstChannel::ConstChannel ( const ConstChannel )
private

Member Function Documentation

◆ clone()

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

Duplicate the channel.

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

◆ get()

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

◆ isSettable()

bool ConstChannel::isSettable ( ) const
virtual

Check if settable.

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

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

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