OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
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::ConstChannel ( )

Definition at line 28 of file ConstChannel.cpp.

ConstChannel::~ConstChannel ( )
virtual

Definition at line 32 of file ConstChannel.cpp.

ConstChannel::ConstChannel ( const ConstChannel )
private

Member Function Documentation

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

Duplicate the channel.

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

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

Read channel.

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

bool ConstChannel::isSettable ( ) const
virtual

Check if settable.

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

Definition at line 36 of file ConstChannel.cpp.

ConstChannel::operator double ( ) const
inline

Read channel.

Definition at line 46 of file ConstChannel.h.

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

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