CVMEStatusModule Class Reference

#include <CVMEStatusModule.h>

Inheritance diagram for CVMEStatusModule:

CStatusModule List of all members.

Public Member Functions

 CVMEStatusModule (UInt_t base, int crate=0)
 CVMEStatusModule (const CCaenIO &module)
 CVMEStatusModule (const CVMEStatusModule &rhs)
 ~CVMEStatusModule ()
CVMEStatusModuleoperator= (const CVMEStatusModule &rhs)
int operator== (const CVMEStatusModule &rhs)
int operator!= (const CVMEStatusModule &rhs)
virtual void GoBusy ()
virtual void GoClear ()
virtual void ModuleClear ()

Private Attributes

CCaenIO m_IOModule

Detailed Description

Encapsulates a VME status module based on the CAEN multipurpose VME i/O module. The constructor allows the specrification of the module's base address. The pulsed bits are used as follows (numbered from 1):

Definition at line 302 of file CVMEStatusModule.h.


Constructor & Destructor Documentation

CVMEStatusModule::CVMEStatusModule ( UInt_t  base,
int  nCrate = 0 
)

Construct a status module. The status module is a CAEN VME262 modle. The module is fully encapsulated here.

Parameters:
base - Base address in switches of the module.

Definition at line 34 of file CVMEStatusModule.cpp.

CVMEStatusModule::CVMEStatusModule ( const CCaenIO module  ) 

Construct a status module given that a CAEN VME262 module object has already been created. THis constructor will allow the module to be shared amongst other functions without wasting mapping resources.

Parameters:
module - Reference to the CAEN V262 object.

Definition at line 47 of file CVMEStatusModule.cpp.

CVMEStatusModule::CVMEStatusModule ( const CVMEStatusModule rhs  ) 

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 56 of file CVMEStatusModule.cpp.

CVMEStatusModule::~CVMEStatusModule (  )  [inline]

Definition at line 312 of file CVMEStatusModule.h.


Member Function Documentation

CVMEStatusModule & CVMEStatusModule::operator= ( const CVMEStatusModule aCVMEStatusModule  ) 

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

Definition at line 67 of file CVMEStatusModule.cpp.

References m_IOModule, and CStatusModule::operator=().

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

Equality comparison:

Parameters:
rhs = The rhs of the == operator.

Definition at line 81 of file CVMEStatusModule.cpp.

References m_IOModule.

Referenced by operator!=().

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

Definition at line 316 of file CVMEStatusModule.h.

References operator==().

void CVMEStatusModule::GoBusy (  )  [virtual]

Interface: Pulse the going busy output.

Implements CStatusModule.

Definition at line 94 of file CVMEStatusModule.cpp.

References GoingBusy, m_IOModule, and CCaenIO::PulseOutput().

void CVMEStatusModule::GoClear (  )  [virtual]

Pulse the going not busy output.

Implements CStatusModule.

Definition at line 104 of file CVMEStatusModule.cpp.

References GoingFree, m_IOModule, and CCaenIO::PulseOutput().

void CVMEStatusModule::ModuleClear (  )  [virtual]

Pulse by hand the module clears which are the NIM level outputs of the module.

Implements CStatusModule.

Definition at line 113 of file CVMEStatusModule.cpp.

References m_IOModule, and CCaenIO::PulseOutput().


Member Data Documentation

CCaenIO CVMEStatusModule::m_IOModule [private]

Definition at line 305 of file CVMEStatusModule.h.

Referenced by GoBusy(), GoClear(), ModuleClear(), operator=(), and operator==().


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