Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

SctPixelRod::VmeException Class Reference

Vme Exception class; an object of this type is thrown in case of a VME error. More...

#include <VmeInterface.h>

Inheritance diagram for SctPixelRod::VmeException:

SctPixelRod::BaseException

Public Types

enum  ErrorClass {
  OK, INIT_ERROR, BUS_ERROR, MAP_ERROR,
  DMA_ERROR
}

Public Member Functions

 VmeException (ErrorClass ec, long ecod, VmePort *port=NULL)
 Constructor.

ErrorClass getErrorClass ()
 m_errorClass accessor

long getErrorCode ()
 m_errorCode accessor

VmePortgetPort ()
 m_port accessor


Private Attributes

ErrorClass m_errorClass
int m_errorCode
VmePortm_port

Detailed Description

Vme Exception class; an object of this type is thrown in case of a VME error.

Definition at line 56 of file VmeInterface.h.


Member Enumeration Documentation

enum SctPixelRod::VmeException::ErrorClass
 

Enumeration values:
OK 
INIT_ERROR 
BUS_ERROR 
MAP_ERROR 
DMA_ERROR 

Definition at line 58 of file VmeInterface.h.

Referenced by getErrorClass().


Constructor & Destructor Documentation

SctPixelRod::VmeException::VmeException ErrorClass    ec,
long    ecod,
VmePort   port = NULL
[inline]
 

Constructor.

Definition at line 60 of file VmeInterface.h.

References m_errorClass, m_errorCode, m_port, and SctPixelRod::VME.


Member Function Documentation

ErrorClass SctPixelRod::VmeException::getErrorClass   [inline]
 

m_errorClass accessor

Definition at line 64 of file VmeInterface.h.

References ErrorClass, and m_errorClass.

long SctPixelRod::VmeException::getErrorCode   [inline]
 

m_errorCode accessor

Definition at line 66 of file VmeInterface.h.

References m_errorCode.

VmePort* SctPixelRod::VmeException::getPort   [inline]
 

m_port accessor

Definition at line 68 of file VmeInterface.h.

References m_port.


Field Documentation

ErrorClass SctPixelRod::VmeException::m_errorClass [private]
 

Definition at line 70 of file VmeInterface.h.

Referenced by getErrorClass(), and VmeException().

int SctPixelRod::VmeException::m_errorCode [private]
 

Definition at line 71 of file VmeInterface.h.

Referenced by getErrorCode(), and VmeException().

VmePort* SctPixelRod::VmeException::m_port [private]
 

Definition at line 72 of file VmeInterface.h.

Referenced by getPort(), and VmeException().


The documentation for this class was generated from the following file:
Generated on Mon Dec 15 19:38:08 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3