Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   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

VmePortm_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.

References SctPixelRod::VmePort::declareInterruptHandler(), m_active, m_interruptLevel, m_interruptSoftVect, m_interruptVector, and m_port.

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

Destructor.

Definition at line 200 of file VmePort.h.

References m_active, m_port, and SctPixelRod::VmePort::removeInterruptHandler().


Member Function Documentation

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

Activate a soft-vector.

Definition at line 207 of file VmePort.h.

References SctPixelRod::VmeInterface::activateSoftVector(), SctPixelRod::VmePort::getInterface(), m_interruptSoftVect, and m_port.

bool SctPixelRod::VmeInterruptHandler::getActive   [inline]
 

Definition at line 228 of file VmePort.h.

References m_active.

long SctPixelRod::VmeInterruptHandler::getInterruptData   [inline]
 

Read the interrupt data word.

Definition at line 215 of file VmePort.h.

References SctPixelRod::VmePort::getInterface(), SctPixelRod::VmeInterface::getInterruptData(), and m_port.

int SctPixelRod::VmeInterruptHandler::getInterruptLevel   [inline]
 

m_interruptLevel accessor

Definition at line 225 of file VmePort.h.

References m_interruptLevel.

char SctPixelRod::VmeInterruptHandler::getInterruptSoftVect   [inline]
 

m_interruptSoftVect accessor

Definition at line 223 of file VmePort.h.

References m_interruptSoftVect.

char SctPixelRod::VmeInterruptHandler::getInterruptVector   [inline]
 

m_interruptVector accessor

Definition at line 221 of file VmePort.h.

References m_interruptVector.

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.

References m_port, and SctPixelRod::VmePort::reEnableInterrupt().

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

m_active accessors

Definition at line 227 of file VmePort.h.

References m_active.

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

Set the interrupt data word.

Definition at line 211 of file VmePort.h.

References SctPixelRod::VmePort::getInterface(), m_interruptSoftVect, m_port, and SctPixelRod::VmeInterface::setInterruptData().


Field Documentation

bool SctPixelRod::VmeInterruptHandler::m_active [protected]
 

Definition at line 235 of file VmePort.h.

Referenced by getActive(), setActive(), VmeInterruptHandler(), and ~VmeInterruptHandler().

unsigned int SctPixelRod::VmeInterruptHandler::m_interruptLevel [protected]
 

Definition at line 234 of file VmePort.h.

Referenced by getInterruptLevel(), and VmeInterruptHandler().

unsigned char SctPixelRod::VmeInterruptHandler::m_interruptSoftVect [protected]
 

Definition at line 233 of file VmePort.h.

Referenced by activateSoftVector(), getInterruptSoftVect(), setInterruptData(), and VmeInterruptHandler().

unsigned char SctPixelRod::VmeInterruptHandler::m_interruptVector [protected]
 

Definition at line 232 of file VmePort.h.

Referenced by getInterruptVector(), and VmeInterruptHandler().

VmePort& SctPixelRod::VmeInterruptHandler::m_port [protected]
 

Definition at line 231 of file VmePort.h.

Referenced by activateSoftVector(), getInterruptData(), reEnableInterrupt(), setInterruptData(), VmeInterruptHandler(), and ~VmeInterruptHandler().


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