#include <DummyVmeInterface.h>
Inheritance diagram for SctPixelRod::DummyVmeInterface:
Public Member Functions | |
DummyVmeInterface () | |
Constructor. | |
~DummyVmeInterface () | |
Destructor. | |
virtual void | declareInterruptHandler (VmeInterruptHandler &handler) |
Install an interrupt handler. | |
virtual void | removeInterruptHandler (VmeInterruptHandler &handler) |
Remove an interrupt handler. | |
virtual void | cleanInterruptHandlers () |
Set the interrupt subvector mask. | |
virtual void | activateSoftVector (unsigned char vect, unsigned char subvect) |
Remove an interrupt handler. | |
virtual void | reEnableInterrupt () |
Re-enable VME RORA levels. | |
virtual void | blockInterruptNotification () |
Suspend interrupt notification. | |
virtual void | resumeInterruptNotification () |
Resume interrupt notification. | |
virtual void | setInterruptData (long data) |
Set the interrupt data word. | |
virtual long | getInterruptData () |
Read the interrupt data word. | |
virtual long | getBusErrors () |
Return the number of bus errors. | |
virtual void | busErrorReport () |
Throw exceptions in case of bus errors. | |
virtual void | busErrorReport (const unsigned long handle) |
virtual void | busErrorReport (VmePort &port) |
virtual long | getLastErrcode () |
Return the last error code. | |
virtual std::string | getErrorMessage (const long errcode) |
Print the message corresponding to an error code. | |
virtual unsigned char | read8 (const unsigned long handle, const unsigned long offset) |
Byte read (automatic mapping). | |
virtual unsigned short | read16 (const unsigned long handle, const unsigned long offset) |
virtual unsigned long | read32 (const unsigned long handle, const unsigned long offset) |
Long Word read (automatic mapping). | |
virtual void | write8 (const unsigned long handle, const unsigned long offset, const unsigned char value) |
Byte write (automatic mapping). | |
virtual void | write16 (const unsigned long handle, const unsigned long offset, const unsigned short value) |
Word write (automatic mapping). | |
virtual void | write32 (const unsigned long handle, const unsigned long offset, const unsigned long value) |
Long word write (automatic mapping). | |
virtual void | blockRead32 (VmePort &port, const unsigned long offset, unsigned long *buf, const long len) |
32 bits block read (automatic mapping) | |
virtual void | blockRead64 (VmePort &port, const unsigned long offset, unsigned long *buf, const long len) |
64 bits block read (automatic mapping) | |
virtual void | blockWrite32 (VmePort &port, const unsigned long offset, const unsigned long *buf, const long len) |
32 bits block write (automatic mapping) | |
virtual void | blockWrite64 (VmePort &port, const unsigned long offset, const unsigned long *buf, const long len) |
64 bits block write (automatic mapping) | |
virtual unsigned long | registerPort (VmePort &port) |
Register a new VmePort object. | |
virtual void | deletePort (VmePort &port) |
Delete a VmePort. | |
virtual void * | getPortMap (const unsigned long handle) |
Return a pointer to the port map. | |
Static Private Member Functions | |
void | m_interruptHandler (int signum) |
Interrupt handler. | |
Private Attributes | |
std::vector< VmePort * > | m_ports |
sigset_t | m_sigMask |
Static Private Attributes | |
unsigned char | m_softVectMask |
long | m_interruptData |
DummyVmeInterface * | m_if |
std::vector< VmeInterruptHandler * > | m_hardIH |
std::vector< VmeInterruptHandler * > | m_softIH [32] |
|
Constructor.
|
|
Destructor.
|
|
Remove an interrupt handler.
Implements SctPixelRod::VmeInterface. Definition at line 36 of file DummyVmeInterface.h. References m_softVectMask. |
|
Suspend interrupt notification.
Implements SctPixelRod::VmeInterface. |
|
32 bits block read (automatic mapping)
Implements SctPixelRod::VmeInterface. |
|
64 bits block read (automatic mapping)
Implements SctPixelRod::VmeInterface. |
|
32 bits block write (automatic mapping)
Implements SctPixelRod::VmeInterface. |
|
64 bits block write (automatic mapping)
Implements SctPixelRod::VmeInterface. |
|
Implements SctPixelRod::VmeInterface. |
|
Implements SctPixelRod::VmeInterface. |
|
Throw exceptions in case of bus errors.
Implements SctPixelRod::VmeInterface. |
|
Set the interrupt subvector mask.
Implements SctPixelRod::VmeInterface. |
|
Install an interrupt handler.
Implements SctPixelRod::VmeInterface. |
|
Delete a VmePort.
Implements SctPixelRod::VmeInterface. |
|
Return the number of bus errors.
Implements SctPixelRod::VmeInterface. |
|
Print the message corresponding to an error code.
Implements SctPixelRod::VmeInterface. |
|
Read the interrupt data word.
Implements SctPixelRod::VmeInterface. Definition at line 52 of file DummyVmeInterface.h. References m_interruptData. |
|
Return the last error code.
Implements SctPixelRod::VmeInterface. Definition at line 63 of file DummyVmeInterface.h. |
|
Return a pointer to the port map.
Implements SctPixelRod::VmeInterface. |
|
Interrupt handler.
|
|
Implements SctPixelRod::VmeInterface. |
|
Long Word read (automatic mapping).
Implements SctPixelRod::VmeInterface. |
|
Byte read (automatic mapping).
Implements SctPixelRod::VmeInterface. |
|
Re-enable VME RORA levels.
Implements SctPixelRod::VmeInterface. Definition at line 42 of file DummyVmeInterface.h. |
|
Register a new VmePort object.
Implements SctPixelRod::VmeInterface. |
|
Remove an interrupt handler.
Implements SctPixelRod::VmeInterface. |
|
Resume interrupt notification.
Implements SctPixelRod::VmeInterface. |
|
Set the interrupt data word.
Implements SctPixelRod::VmeInterface. Definition at line 48 of file DummyVmeInterface.h. References m_interruptData. |
|
Word write (automatic mapping).
Implements SctPixelRod::VmeInterface. |
|
Long word write (automatic mapping).
Implements SctPixelRod::VmeInterface. |
|
Byte write (automatic mapping).
Implements SctPixelRod::VmeInterface. |
|
Definition at line 103 of file DummyVmeInterface.h. |
|
Definition at line 102 of file DummyVmeInterface.h. |
|
Definition at line 101 of file DummyVmeInterface.h. Referenced by getInterruptData(), and setInterruptData(). |
|
Definition at line 97 of file DummyVmeInterface.h. |
|
Definition at line 98 of file DummyVmeInterface.h. |
|
Definition at line 104 of file DummyVmeInterface.h. |
|
Definition at line 100 of file DummyVmeInterface.h. Referenced by activateSoftVector(). |