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

CCAMACTrigger Class Reference

#include <CCAMACTrigger.h>

Inheritance diagram for CCAMACTrigger:

CTrigger List of all members.

Public Methods

 CCAMACTrigger (unsigned int b)
 CCAMACTrigger (const CCAMACTrigger &rhs)
 Copy constructor.

 ~CCAMACTrigger ()
 Destructor.

CCAMACTrigger & operator= (const CCAMACTrigger &rhs)
 Assignment.

int operator== (const CCAMACTrigger &rhs) const
 Comparison for equality.

int operator!= (const CCAMACTrigger &rhs) const
virtual bool operator() ()

Private Attributes

CBD8210 m_Controller
 Branch controller used for trigger.


Detailed Description

Encapsulates a CES CBD8210 branch highway module as a trigger module. The module's int2 input is used to indicate a trigger. The constructor allows the specification of the CAMAC branch to be used defaulting to 0.

Definition at line 299 of file CCAMACTrigger.h.


Constructor & Destructor Documentation

CCAMACTrigger::CCAMACTrigger unsigned int    b
 

Constructs a CAMAC trigger monitor. CAMAC triggers come through the IT2 input of a CAMAC Branch highway driver. For CAMAC systems, at present, there's at least one of these modules in a system, as it interfaces the CAMAC system to the VME crate.

Parameters:
b  - Branch number of the controller.

Definition at line 292 of file CCAMACTrigger.cpp.

CCAMACTrigger::CCAMACTrigger const CCAMACTrigger &    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 301 of file CCAMACTrigger.cpp.

CCAMACTrigger::~CCAMACTrigger   [inline]
 

Destructor.

Definition at line 308 of file CCAMACTrigger.h.


Member Function Documentation

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

Definition at line 312 of file CCAMACTrigger.h.

References operator==().

bool CCAMACTrigger::operator()   [virtual]
 

Returns true if a trigger is available in the hardware. The trigger is also reset.

Implements CTrigger.

Definition at line 341 of file CCAMACTrigger.cpp.

References CBD8210::IT2(), m_Controller, and CBD8210::WriteIFR().

CCAMACTrigger & CCAMACTrigger::operator= const CCAMACTrigger &    aCCAMACTrigger
 

Assignment.

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

Definition at line 313 of file CCAMACTrigger.cpp.

References m_Controller, and CTrigger::operator=().

int CCAMACTrigger::operator== const CCAMACTrigger &    rhs const
 

Comparison for equality.

Equality comparison

Definition at line 327 of file CCAMACTrigger.cpp.

References m_Controller, and CTrigger::operator==().

Referenced by operator!=().


Member Data Documentation

CBD8210 CCAMACTrigger::m_Controller [private]
 

Branch controller used for trigger.

Definition at line 302 of file CCAMACTrigger.h.

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


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 13:37:12 2002 for Event Readout system. by doxygen1.2.16