#include <CCAMACScalerLRS2551.h>
Inheritance diagram for CCAMACScalerLRS2551:
Public Member Functions | |
CCAMACScalerLRS2551 (unsigned int b, unsigned int c, unsigned int n) | |
Default constructor. | |
CCAMACScalerLRS2551 (const CCAMACScalerLRS2551 &rhs) | |
Copy constructor. | |
~CCAMACScalerLRS2551 () | |
Destructor. | |
CCAMACScalerLRS2551 & | operator= (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. |
Definition at line 38 of file CCAMACScalerLRS2551.h.
CCAMACScalerLRS2551::CCAMACScalerLRS2551 | ( | unsigned int | b, | |
unsigned int | c, | |||
unsigned int | n | |||
) |
Default constructor.
Contruct a CAMAC LeCroy model LRS 2551 scaler
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] |
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] |
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.
CCamacModule CCAMACScalerLRS2551::m_Scaler [private] |
The scaler module representations.
Definition at line 41 of file CCAMACScalerLRS2551.h.
Referenced by Clear(), operator=(), and operator==().