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

CReadoutException Class Reference

#include <CReadoutException.h>

Inheritance diagram for CReadoutException:

CBadTransitionException CInvalidPacketStateException List of all members.

Public Methods

 CReadoutException (const char *pszAction)
 CReadoutException (const CReadoutException &rhs)
virtual ~CReadoutException ()
CReadoutException & operator= (const CReadoutException &rhs)
int operator== (const CReadoutException &rhs)
int operator!= (const CReadoutException &rhs)

Detailed Description

This class is an ABC for the exceptions which can be thrown by the readout subsystem. It is provided to allow catching CReadoutException& in order to get all readout exceptions

Definition at line 293 of file CReadoutException.h.


Constructor & Destructor Documentation

CReadoutException::CReadoutException const char *    pszAction
 

Default constructor. This is called when declarations of the form e.g.:

  • CReadoutException object; are performed.
Parameters:
pszAction  - pointer to a null terminated character string which describes the action being taken when the exception was thrown.

Definition at line 290 of file CReadoutException.cpp.

CReadoutException::CReadoutException const CReadoutException &    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.

Parameters:
rhs  - a reference to a CReadoutException object which will be the "template" for the copy construction.

Definition at line 301 of file CReadoutException.cpp.

virtual CReadoutException::~CReadoutException   [inline, virtual]
 

Definition at line 300 of file CReadoutException.h.


Member Function Documentation

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

Definition at line 304 of file CReadoutException.h.

References operator==().

CReadoutException & CReadoutException::operator= const CReadoutException &    rhs
 

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

Parameters:
A  reference to the rhs of the assignment.
Returns:
A reference to the lhs after the assignment has been done.

Definition at line 313 of file CReadoutException.cpp.

Referenced by CInvalidPacketStateException::operator=(), and CBadTransitionException::operator=().

int CReadoutException::operator== const CReadoutException &    rhs
 

Equality comparison. At present, there is nothing to distinguish this class from it's base class (CException). Therefore, copmparison is true if CException::operator== is true.

Parameters:
rhs  - const CReadoutException& [in] Right hand side of the comparison. Returns:
Returns:
int - Nonzero if the comparison is valid.

Definition at line 331 of file CReadoutException.cpp.

Referenced by operator!=(), CInvalidPacketStateException::operator==(), and CBadTransitionException::operator==().


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