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

SctPixelRod::VmeInterruptHandler Class Reference

Vme Interrupt Handler class; abstract base class for Interrupt Handlers. More...

#include <VmePort.h>


Public Member Functions

 VmeInterruptHandler (VmePort &port, char vect, int level)
 Constructor.

virtual ~VmeInterruptHandler ()
 Destructor.

virtual void interruptHandler (unsigned char vect, unsigned char softvect, int count)=0
 Interrupt handling function.

void activateSoftVector (unsigned char softvect)
 Activate a soft-vector.

void setInterruptData (long data)
 Set the interrupt data word.

long getInterruptData ()
 Read the interrupt data word.

void reEnableInterrupt ()
 Re-enable VME RORA levels (at the end of a RORA interrupt handling).

char getInterruptVector ()
 m_interruptVector accessor

char getInterruptSoftVect ()
 m_interruptSoftVect accessor

int getInterruptLevel ()
 m_interruptLevel accessor

void setActive (bool active)
 m_active accessors

bool getActive ()

Protected Attributes

VmePort & m_port
unsigned char m_interruptVector
unsigned char m_interruptSoftVect
unsigned int m_interruptLevel
bool m_active


Detailed Description

Vme Interrupt Handler class; abstract base class for Interrupt Handlers.

Definition at line 208 of file VmePort.h.


Constructor & Destructor Documentation

SctPixelRod::VmeInterruptHandler::VmeInterruptHandler VmePort &  port,
char  vect,
int  level
[inline]
 

Constructor.

Definition at line 211 of file VmePort.h.

virtual SctPixelRod::VmeInterruptHandler::~VmeInterruptHandler  )  [inline, virtual]
 

Destructor.

Definition at line 224 of file VmePort.h.


Member Function Documentation

void SctPixelRod::VmeInterruptHandler::activateSoftVector unsigned char  softvect  )  [inline]
 

Activate a soft-vector.

Definition at line 231 of file VmePort.h.

long SctPixelRod::VmeInterruptHandler::getInterruptData  )  [inline]
 

Read the interrupt data word.

Definition at line 239 of file VmePort.h.

int SctPixelRod::VmeInterruptHandler::getInterruptLevel  )  [inline]
 

m_interruptLevel accessor

Definition at line 249 of file VmePort.h.

char SctPixelRod::VmeInterruptHandler::getInterruptSoftVect  )  [inline]
 

m_interruptSoftVect accessor

Definition at line 247 of file VmePort.h.

char SctPixelRod::VmeInterruptHandler::getInterruptVector  )  [inline]
 

m_interruptVector accessor

Definition at line 245 of file VmePort.h.

virtual void SctPixelRod::VmeInterruptHandler::interruptHandler unsigned char  vect,
unsigned char  softvect,
int  count
[pure virtual]
 

Interrupt handling function.

void SctPixelRod::VmeInterruptHandler::reEnableInterrupt  )  [inline]
 

Re-enable VME RORA levels (at the end of a RORA interrupt handling).

Definition at line 243 of file VmePort.h.

void SctPixelRod::VmeInterruptHandler::setActive bool  active  )  [inline]
 

m_active accessors

Definition at line 251 of file VmePort.h.

void SctPixelRod::VmeInterruptHandler::setInterruptData long  data  )  [inline]
 

Set the interrupt data word.

Definition at line 235 of file VmePort.h.


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:54:06 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5