Main Page   Modules   Namespace List   Class Hierarchy   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 184 of file VmePort.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 187 of file VmePort.h.

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

Destructor.

Definition at line 200 of file VmePort.h.


Member Function Documentation

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

Activate a soft-vector.

Definition at line 207 of file VmePort.h.

long SctPixelRod::VmeInterruptHandler::getInterruptData   [inline]
 

Read the interrupt data word.

Definition at line 215 of file VmePort.h.

int SctPixelRod::VmeInterruptHandler::getInterruptLevel   [inline]
 

m_interruptLevel accessor

Definition at line 225 of file VmePort.h.

char SctPixelRod::VmeInterruptHandler::getInterruptSoftVect   [inline]
 

m_interruptSoftVect accessor

Definition at line 223 of file VmePort.h.

char SctPixelRod::VmeInterruptHandler::getInterruptVector   [inline]
 

m_interruptVector accessor

Definition at line 221 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 219 of file VmePort.h.

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

m_active accessors

Definition at line 227 of file VmePort.h.

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

Set the interrupt data word.

Definition at line 211 of file VmePort.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 9 10:08:36 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3