ICP
1
|
#include <vme_simulation.h>
Public Member Functions | |
virtual | ~VMESimulationIface () |
virtual int | getCardIds (std::vector< int > &card_ids)=0 |
virtual bool | shutdownRequested ()=0 |
virtual void | simulation_routineImpl ()=0 |
virtual bool | isCrateVetoing ()=0 |
virtual bool | isCrateRunning ()=0 |
virtual int | frameNumberImpl ()=0 |
virtual int | simulateRead (TransferProps props, unsigned long address, isisU16_t *data16, long nitems, DAEstatus &status)=0 |
virtual int | simulateRead (TransferProps props, unsigned long address, isisU32_t *data32, long nitems, DAEstatus &status)=0 |
virtual int | simulateRead (TransferProps props, unsigned long address, uint64_t *data64, long nitems, DAEstatus &status)=0 |
virtual int | simulateWrite (TransferProps props, unsigned long address, isisU16_t *data16, long nitems, DAEstatus &status)=0 |
virtual int | simulateWrite (TransferProps props, unsigned long address, isisU32_t *data32, long nitems, DAEstatus &status)=0 |
virtual int | simulateWrite (TransferProps props, unsigned long address, uint64_t *data64, long nitems, DAEstatus &status)=0 |
virtual int | incrementDetectorCardPeriod ()=0 |
virtual int | resetDetectorCardPeriod ()=0 |
Public Member Functions inherited from ISISVME | |
virtual int | open (const char *device, DAEstatus &status)=0 |
virtual int | openBackplane (const char *device_bp, DAEstatus &status)=0 |
virtual int | lockDevice (int timeout, DAEstatus &dstatus)=0 |
virtual int | unlockDevice (DAEstatus &dstatus)=0 |
virtual void | lockInterface (int timeout, DAEstatus &dstatus)=0 |
virtual void | unlockInterface (DAEstatus &dstatus)=0 |
virtual int | readU16noRetry (unsigned long address, isisU16_t *data16, TransferProps props, DAEstatus &dstatus)=0 |
virtual int | readU32noRetry (unsigned long address, isisU32_t *data32, TransferProps props, DAEstatus &dstatus)=0 |
virtual int | readU16 (unsigned long address, isisU16_t *data16, TransferProps props, DAEstatus &status)=0 |
virtual int | readU32 (unsigned long address, isisU32_t *data32, TransferProps props, DAEstatus &status)=0 |
virtual int | readBlockU16 (unsigned long address, isisU16_t *data16, long nitems, TransferProps props, DAEstatus &status)=0 |
virtual int | readBlockU32 (unsigned long address, isisU32_t *data32, long nitems, TransferProps props, DAEstatus &status)=0 |
virtual int | writeU16 (unsigned long address, isisU16_t data16, TransferProps props, DAEstatus &status)=0 |
virtual int | writeU32 (unsigned long address, isisU32_t data32, TransferProps props, DAEstatus &status)=0 |
virtual int | writeBlockU16 (unsigned long address, isisU16_t *data16, long nitems, TransferProps props, DAEstatus &status)=0 |
virtual int | writeBlockU32 (unsigned long address, isisU32_t *data32, long nitems, TransferProps props, DAEstatus &status)=0 |
virtual int | writeBlock (unsigned long address, isisU32_t *data, long nitems, TransferProps props, DAEstatus &status)=0 |
virtual int | writeBlock (unsigned long address, uint64_t *data, long nitems, TransferProps props, DAEstatus &status)=0 |
virtual int | readBlock (unsigned long address, isisU32_t *data, long nitems, TransferProps props, DAEstatus &status)=0 |
virtual int | readBlock (unsigned long address, uint64_t *data, long nitems, TransferProps props, DAEstatus &status)=0 |
virtual int | close (DAEstatus &status)=0 |
virtual int | scanBus (DAEstatus &status)=0 |
virtual bool | initOK ()=0 |
virtual bool | resetBus (DAEstatus &status)=0 |
virtual const char * | device ()=0 |
virtual void | setTriggerFunc (trigger_func_t *func, void *arg)=0 |
virtual | ~ISISVME () |
Static Public Member Functions | |
static bool | isVetoing () |
static bool | isRunning () |
static int | frameNumber () |
static void | simulation_routine (void *arg) |
Static Protected Attributes | |
static std::vector < VMESimulationIface * > | m_sim_vme |
Additional Inherited Members | |
Public Types inherited from ISISVME | |
enum | { Error = 0, Success = 1 } |
enum | TransferProp { TransferNoOptions = 0x0, TransferBlock = 0x1, TransferLittleEndian = 0x2, TransferMemorySpace = 0x4, TransferIORegisterSpace = 0x8, TransferLUTSpace = 0x10, TransferRunMemorySpace = 0x20 } |
typedef uint32_t | TransferProps |
combination of TransferProp values More... | |
Protected Member Functions inherited from ISIS::Base | |
Base (const std::string &logger_name="UNKNOWN") | |
void | setLoggerName (const std::string &logger_name) |
virtual | ~Base () |
virtual std::string | loggingPrefix () const |
void | setThisLoggerLevel (int level) |
Static Protected Member Functions inherited from ISIS::Base | |
static void | setAllLoggerLevel (int level) |
Protected Attributes inherited from ISIS::Base | |
Poco::Logger * | m_logger |
Poco::LogStream * | m_logstr |
Poco::Mutex | m_logger_lock |
Definition at line 23 of file vme_simulation.h.
|
inlinevirtual |
Definition at line 28 of file vme_simulation.h.
|
static |
Definition at line 408 of file vme_simulation.cpp.
References frameNumberImpl(), and m_sim_vme.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >.
Referenced by frameNumber().
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >, and QxtrmSimulation.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >, and QxtrmSimulation.
Referenced by SIMPeriodCard::simulate().
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >, and QxtrmSimulation.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >, and QxtrmSimulation.
|
static |
Definition at line 398 of file vme_simulation.cpp.
References m_sim_vme.
Referenced by SIMPeriodCard::simulate(), and SIMDetectorCard< DetCardPolicy >::simulateEventMode().
|
static |
Definition at line 373 of file vme_simulation.cpp.
References m_sim_vme.
Referenced by SIMDetectorCard< DetCardPolicy >::simulateEventMode().
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >, and QxtrmSimulation.
Referenced by SIMPeriodCard::simulate().
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >, and QxtrmSimulation.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >.
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >.
|
static |
Definition at line 103 of file vme_simulation.cpp.
References dae, and simulation_routineImpl().
Referenced by VMESimulation< DAEPolicy >::VMESimulation().
|
pure virtual |
Implemented in VMESimulation< DAEPolicy >.
Referenced by simulation_routine().
|
staticprotected |
Definition at line 26 of file vme_simulation.h.
Referenced by frameNumber(), isRunning(), isVetoing(), and VMESimulation< DAEPolicy >::VMESimulation().