Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CVMEStatusModule Class Reference

#include <CVMEStatusModule.h>

Inheritance diagram for CVMEStatusModule:

CStatusModule List of all members.

Public Methods

 CVMEStatusModule (UInt_t base)
 CVMEStatusModule (const CCaenIO &module)
 CVMEStatusModule (const CVMEStatusModule &rhs)
 ~CVMEStatusModule ()
CVMEStatusModule & operator= (const CVMEStatusModule &rhs)
int operator== (const CVMEStatusModule &rhs) const
int operator!= (const CVMEStatusModule &rhs) const
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
 

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 291 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 304 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 313 of file CVMEStatusModule.cpp.

CVMEStatusModule::~CVMEStatusModule   [inline]
 

Definition at line 312 of file CVMEStatusModule.h.


Member Function Documentation

void CVMEStatusModule::GoBusy   [virtual]
 

Interface: Pulse the going busy output.

Implements CStatusModule.

Definition at line 351 of file CVMEStatusModule.cpp.

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

Referenced by VMETestThread::operator()().

void CVMEStatusModule::GoClear   [virtual]
 

Pulse the going not busy output.

Implements CStatusModule.

Definition at line 361 of file CVMEStatusModule.cpp.

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

Referenced by VMETestThread::operator()().

void CVMEStatusModule::ModuleClear   [virtual]
 

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

Implements CStatusModule.

Definition at line 370 of file CVMEStatusModule.cpp.

References CCaenIO::ClearAllNIM(), m_IOModule, and CCaenIO::SetAllNIM().

int CVMEStatusModule::operator!= const CVMEStatusModule &    rhs const [inline]
 

Definition at line 316 of file CVMEStatusModule.h.

References operator==().

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

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

int CVMEStatusModule::operator== const CVMEStatusModule &    rhs const
 

Equality comparison:

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

Definition at line 338 of file CVMEStatusModule.cpp.

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

Referenced by operator!=().


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 Fri Nov 8 13:37:30 2002 for Event Readout system. by doxygen1.2.16