#include <CCAMACStatusModule.h>
Inheritance diagram for CCAMACStatusModule:
Public Member Functions | |
CCAMACStatusModule (unsigned b, unsigned c, unsigned n) | |
CCAMACStatusModule (const CCAMACStatusModule &rhs) | |
~CCAMACStatusModule () | |
CCAMACStatusModule & | operator= (const CCAMACStatusModule &rhs) |
int | operator== (const CCAMACStatusModule &rhs) const |
int | operator!= (const CCAMACStatusModule &rhs) const |
virtual void | GoBusy () |
virtual void | GoClear () |
virtual void | ModuleClear () |
Private Attributes | |
CCamacNimout | m_MyModule |
CAMAC Status modules are implemented in terms of two outpus of an SEC NIMout, as follows (CCamacNimout object).:
Definition at line 311 of file CCAMACStatusModule.h.
CCAMACStatusModule::CCAMACStatusModule | ( | unsigned | b, | |
unsigned | c, | |||
unsigned | n | |||
) |
Constructs a CAMAC status module. Status modules are intended to indicate software transitions from not busy to busy and back. See the class description for more information about this. The Status module is a NIMOUT located as follows:
b | - Branch the NIMOUT lives in. | |
c | - Crate within b the NIMOUT lives in. | |
n | - Slot within b,c the NIMOUT lives in. |
Definition at line 308 of file CCAMACStatusModule.cpp.
CCAMACStatusModule::CCAMACStatusModule | ( | const CCAMACStatusModule & | 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 318 of file CCAMACStatusModule.cpp.
CCAMACStatusModule::~CCAMACStatusModule | ( | ) | [inline] |
Definition at line 320 of file CCAMACStatusModule.h.
CCAMACStatusModule & CCAMACStatusModule::operator= | ( | const CCAMACStatusModule & | aCCAMACStatusModule | ) |
Assignment operation. This member function supports assignment of an object of this class to an object of the same class.
Definition at line 332 of file CCAMACStatusModule.cpp.
References m_MyModule, and CStatusModule::operator=().
int CCAMACStatusModule::operator== | ( | const CCAMACStatusModule & | rhs | ) | const |
Equaltiy comparison.
Definition at line 345 of file CCAMACStatusModule.cpp.
References m_MyModule.
Referenced by operator!=().
int CCAMACStatusModule::operator!= | ( | const CCAMACStatusModule & | rhs | ) | const [inline] |
void CCAMACStatusModule::GoBusy | ( | ) | [virtual] |
Interface: Pulse the going busy output.
Implements CStatusModule.
Definition at line 359 of file CCAMACStatusModule.cpp.
References BusyBit, m_MyModule, and CCamacNimout::WriteBit().
void CCAMACStatusModule::GoClear | ( | ) | [virtual] |
Pulse the going not busy output.
Implements CStatusModule.
Definition at line 370 of file CCAMACStatusModule.cpp.
References m_MyModule, UnBusyBit, and CCamacNimout::WriteBit().
void CCAMACStatusModule::ModuleClear | ( | ) | [virtual] |
Strobe the clears bits:
Implements CStatusModule.
Definition at line 378 of file CCAMACStatusModule.cpp.
References ClearMask, m_MyModule, and CCamacNimout::WriteMask().
CCamacNimout CCAMACStatusModule::m_MyModule [private] |
Definition at line 314 of file CCAMACStatusModule.h.
Referenced by GoBusy(), GoClear(), ModuleClear(), operator=(), and operator==().