#include <CCAMACTrigger.h>
Inheritance diagram for CCAMACTrigger:
Public Member Functions | |
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. |
Definition at line 299 of file CCAMACTrigger.h.
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.
b | - Branch number of the controller. |
Definition at line 298 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 307 of file CCAMACTrigger.cpp.
CCAMACTrigger::~CCAMACTrigger | ( | ) | [inline] |
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 319 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 333 of file CCAMACTrigger.cpp.
References m_Controller.
Referenced by operator!=().
int CCAMACTrigger::operator!= | ( | const CCAMACTrigger & | rhs | ) | const [inline] |
bool CCAMACTrigger::operator() | ( | ) | [virtual] |
Returns true if a trigger is available in the hardware. The trigger is also reset.
Implements CTrigger.
Definition at line 347 of file CCAMACTrigger.cpp.
References CBD8210::IT2BIT, CBD8210::IT4BIT, m_Controller, CBD8210::ReadCsr(), and CBD8210::WriteIFR().
CBD8210 CCAMACTrigger::m_Controller [private] |
Branch controller used for trigger.
Definition at line 302 of file CCAMACTrigger.h.
Referenced by operator()(), operator=(), and operator==().