CScaler Class Reference

#include <CScaler.h>

Inheritance diagram for CScaler:

CCAMACScalerLRS2551 CCAMACScalerLRS4434 CVMEScalerLRS1151 List of all members.

Public Member Functions

 CScaler ()
 Default constructor.
 CScaler (const CScaler &rhs)
 Copy constructor.
 ~CScaler ()
 Destructor.
CScaleroperator= (const CScaler &rhs)
 Assignment.
int operator== (const CScaler &rhs) const
 Comparison for equality.
int operator!= (const CScaler &rhs) const
virtual void Initialize ()=0
virtual void Read (STD(vector)< unsigned long > &Scalers)=0
virtual void Clear ()=0
virtual unsigned int size ()=0

Detailed Description

ABC for scaler modules. A scaler module is a collection of high performance counters which can be sequentially read and cleared.

Definition at line 295 of file CScaler.h.


Constructor & Destructor Documentation

CScaler::CScaler (  ) 

Default constructor.

Default constructor. This is called when declarations of the form e.g.:

Definition at line 296 of file CScaler.cpp.

CScaler::CScaler ( const CScaler rhs  ) 

Copy constructor.

Copy construction. This is invoked when e.g. an object is passed by value to a function. The copy constructor makes a clone of the rhs object.

Definition at line 305 of file CScaler.cpp.

CScaler::~CScaler (  )  [inline]

Destructor.

Definition at line 304 of file CScaler.h.


Member Function Documentation

CScaler & CScaler::operator= ( const CScaler aCScaler  ) 

Assignment.

Assignment operation. This member function supports assignment of an object of this class to an object of the same class.

Definition at line 316 of file CScaler.cpp.

Referenced by CVMEScalerLRS1151::operator=(), CCAMACScalerLRS4434::operator=(), and CCAMACScalerLRS2551::operator=().

int CScaler::operator== ( const CScaler rhs  )  const

Comparison for equality.

Comparison for equality.

Definition at line 327 of file CScaler.cpp.

Referenced by operator!=().

int CScaler::operator!= ( const CScaler rhs  )  const [inline]

Definition at line 308 of file CScaler.h.

References operator==().

virtual void CScaler::Initialize (  )  [pure virtual]

Implemented in CCAMACScalerLRS2551, CCAMACScalerLRS4434, and CVMEScalerLRS1151.

virtual void CScaler::Read ( STD(vector)< unsigned long > &  Scalers  )  [pure virtual]

Implemented in CCAMACScalerLRS2551, CCAMACScalerLRS4434, and CVMEScalerLRS1151.

virtual void CScaler::Clear (  )  [pure virtual]

Implemented in CCAMACScalerLRS2551, CCAMACScalerLRS4434, and CVMEScalerLRS1151.

virtual unsigned int CScaler::size (  )  [pure virtual]

Implemented in CCAMACScalerLRS2551, CCAMACScalerLRS4434, and CVMEScalerLRS1151.


The documentation for this class was generated from the following files:
Generated on Wed Sep 17 08:38:11 2008 for NSCL Device support. by  doxygen 1.5.1