CCAMACScalerLRS2551 Class Reference

#include <CCAMACScalerLRS2551.h>

Inheritance diagram for CCAMACScalerLRS2551:

CScaler List of all members.

Public Member Functions

 CCAMACScalerLRS2551 (unsigned int b, unsigned int c, unsigned int n)
 Default constructor.
 CCAMACScalerLRS2551 (const CCAMACScalerLRS2551 &rhs)
 Copy constructor.
 ~CCAMACScalerLRS2551 ()
 Destructor.
CCAMACScalerLRS2551operator= (const CCAMACScalerLRS2551 &rhs)
 Assignment.
int operator== (const CCAMACScalerLRS2551 &rhs) const
 Comparison for equality.
int operator!= (const CCAMACScalerLRS2551 &rhs) const
virtual void Initialize ()
virtual void Read (STD(vector)< unsigned long > &Scalers)
virtual void Clear ()
virtual unsigned int size ()

Private Attributes

CCamacModule m_Scaler
 The scaler module representations.

Detailed Description

Encapsulates an LRS 2551 CAMAC scaler. This is a 12 channel camac scaler. Instantiating the scaler allows you to specify the camac address.

Definition at line 38 of file CCAMACScalerLRS2551.h.


Constructor & Destructor Documentation

CCAMACScalerLRS2551::CCAMACScalerLRS2551 ( unsigned int  b,
unsigned int  c,
unsigned int  n 
)

Default constructor.

Contruct a CAMAC LeCroy model LRS 2551 scaler

Parameters:
b - Branch the scaler lives in.
c - Crate the scaler lives in within branch b.
n - Slot the scaler lives in within the branch and crate b,c.

Definition at line 34 of file CCAMACScalerLRS2551.cpp.

CCAMACScalerLRS2551::CCAMACScalerLRS2551 ( const CCAMACScalerLRS2551 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 46 of file CCAMACScalerLRS2551.cpp.

CCAMACScalerLRS2551::~CCAMACScalerLRS2551 (  )  [inline]

Destructor.

Definition at line 49 of file CCAMACScalerLRS2551.h.


Member Function Documentation

CCAMACScalerLRS2551 & CCAMACScalerLRS2551::operator= ( const CCAMACScalerLRS2551 aCCAMACScalerLRS2551  ) 

Assignment.

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

Definition at line 57 of file CCAMACScalerLRS2551.cpp.

References m_Scaler, and CScaler::operator=().

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

Comparison for equality.

Equality checks.

Definition at line 71 of file CCAMACScalerLRS2551.cpp.

References m_Scaler.

Referenced by operator!=().

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

Definition at line 53 of file CCAMACScalerLRS2551.h.

References operator==().

void CCAMACScalerLRS2551::Initialize (  )  [virtual]

Performs begin run initialization of the module.

Implements CScaler.

Definition at line 84 of file CCAMACScalerLRS2551.cpp.

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

Implements CScaler.

void CCAMACScalerLRS2551::Clear (  )  [virtual]

Clear the scalers in the module.

Implements CScaler.

Definition at line 112 of file CCAMACScalerLRS2551.cpp.

References CCamacModule::Control(), and m_Scaler.

unsigned int CCAMACScalerLRS2551::size (  )  [virtual]

Return the number of scalers which will be read.

Implements CScaler.

Definition at line 124 of file CCAMACScalerLRS2551.cpp.

References nChannels.


Member Data Documentation

CCamacModule CCAMACScalerLRS2551::m_Scaler [private]

The scaler module representations.

Definition at line 41 of file CCAMACScalerLRS2551.h.

Referenced by Clear(), operator=(), and operator==().


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