OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
DirectChannel Class Reference

Direct access to a [b]double[/b] variable. More...

#include <DirectChannel.h>

Inheritance diagram for DirectChannel:
Inheritance graph
[legend]
Collaboration diagram for DirectChannel:
Collaboration graph
[legend]

Public Member Functions

 DirectChannel (double &value)
 Constructor. More...
 
 DirectChannel (const DirectChannel &)
 
virtual ~DirectChannel ()
 
virtual DirectChannelclone () const
 Duplicate the channel. More...
 
virtual bool set (double)
 Store into channel. More...
 
virtual bool get (double &) const
 Fetch from channel. More...
 
- Public Member Functions inherited from Channel
 Channel ()
 
virtual ~Channel ()
 
double operator= (double value)
 Assign [b]value[/b] to channel. More...
 
double operator+= (double value)
 Add and assign [b]value[/b] to channel. More...
 
double operator-= (double value)
 Subtract and assign [b]value[/b] to channel. More...
 
virtual bool isSettable () const
 Test if settable. More...
 
- Public Member Functions inherited from ConstChannel
 ConstChannel ()
 
virtual ~ConstChannel ()
 
 operator double () const
 Read channel. More...
 

Private Member Functions

 DirectChannel ()
 
const DirectChanneloperator= (const DirectChannel &)
 

Private Attributes

double & reference
 

Detailed Description

Direct access to a [b]double[/b] variable.

Definition at line 31 of file DirectChannel.h.

Constructor & Destructor Documentation

DirectChannel::DirectChannel ( double &  value)
inlineexplicit

Constructor.

Definition at line 69 of file DirectChannel.h.

DirectChannel::DirectChannel ( const DirectChannel rhs)
inline

Definition at line 74 of file DirectChannel.h.

DirectChannel::~DirectChannel ( )
inlinevirtual

Definition at line 80 of file DirectChannel.h.

DirectChannel::DirectChannel ( )
private

Referenced by clone().

Member Function Documentation

DirectChannel * DirectChannel::clone ( ) const
inlinevirtual

Duplicate the channel.

Implements Channel.

Definition at line 84 of file DirectChannel.h.

References DirectChannel().

Here is the call graph for this function:

bool DirectChannel::get ( double &  value) const
inlinevirtual

Fetch from channel.

Implements ConstChannel.

Definition at line 95 of file DirectChannel.h.

References reference.

const DirectChannel& DirectChannel::operator= ( const DirectChannel )
private
bool DirectChannel::set ( double  value)
inlinevirtual

Store into channel.

Implements Channel.

Definition at line 89 of file DirectChannel.h.

References reference.

Member Data Documentation

double& DirectChannel::reference
private

Definition at line 65 of file DirectChannel.h.

Referenced by get(), and set().


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