ICP  1
Public Member Functions | Protected Attributes | List of all members
SIMEnvCard< EnvPeriodPolicy > Class Template Reference

#include <QxtrmSimulation.h>

Inheritance diagram for SIMEnvCard< EnvPeriodPolicy >:
Inheritance graph

Public Member Functions

 SIMEnvCard (int position, VMESimulationIface *vme, FaultMode fault_mode, DAEstatus &status)
 
virtual ~SIMEnvCard ()
 
virtual void printStatus (std::ostream &os)
 
virtual void updateCardAfterWrite (DAEstatus &status)
 
virtual void updateCardAfterRead (DAEstatus &status)
 
virtual void simulate (int delay)
 
int frameNumber ()
 
- Public Member Functions inherited from SIMDAE2Card< EnvPeriodPolicy >
 SIMDAE2Card (int position, VMESimulationIface *vme, isisU32_t firmware, bool fw32, FaultMode fault_mode, DAEstatus &status)
 
int position ()
 
virtual ~SIMDAE2Card ()
 
int read16 (ISISVME::TransferProps props, unsigned long address, isisU16_t *data16, long nitems, DAEstatus &status)
 
int read32 (ISISVME::TransferProps props, unsigned long address, isisU32_t *data32, long nitems, DAEstatus &status)
 
int write16 (ISISVME::TransferProps props, unsigned long address, isisU16_t *data16, long nitems, DAEstatus &status)
 
int write32 (ISISVME::TransferProps props, unsigned long address, isisU32_t *data32, long nitems, DAEstatus &status)
 
std::vector< sim_mapping > & mapping ()
 
int addMapping (ISISVME::TransferProps props, isisU32_t address, int n, isisU32_t *var, const char *name, bool readable, bool writable, isisU32_t *access_reg, unsigned access_bit, bool wrap, bool sixteen_bit_access, FaultMode fault_mode)
 
int addMapping (ISISVME::TransferProps props, isisU32_t address, int n, uint64_t *var, const char *name, bool readable, bool writable, isisU32_t *access_reg, unsigned access_bit, bool wrap, bool sixteen_bit_access, FaultMode fault_mode)
 
int addMapping (ISISVME::TransferProps props, const unused_t &address, int n, isisU32_t *var, const char *name, bool readable, bool writable, isisU32_t *access_reg, unsigned access_bit, bool wrap, bool sixteen_bit_access, FaultMode fault_mode)
 
int addMapping (ISISVME::TransferProps props, const unused_t &address, int n, uint64_t *var, const char *name, bool readable, bool writable, isisU32_t *access_reg, unsigned access_bit, bool wrap, bool sixteen_bit_access, FaultMode fault_mode)
 
bool isVetoing ()
 
bool isRunning ()
 
CardType type ()
 

Protected Attributes

isisU32_t m_raw_frames
 
isisU32_t m_good_frames
 
isisU32_t m_raw_proton_low
 
isisU32_t m_raw_proton_high
 
isisU32_t m_good_proton_low
 
isisU32_t m_good_proton_high
 
isisU32_t m_fifo_veto
 
isisU32_t m_smp_veto
 
isisU32_t m_ext_veto0
 
isisU32_t m_ext_veto1
 
isisU32_t m_ext_veto2
 
isisU32_t m_ext_veto3
 
isisU32_t m_fs_delay
 
isisU32_t m_run_control
 
isisU32_t m_veto
 
isisU32_t m_chopper_veto
 
isisU32_t m_ts2_pulse_veto
 
isisU32_t m_50hz_veto
 
isisU32_t m_chopper_window_delay
 
isisU32_t m_chopper_window_width
 
- Protected Attributes inherited from SIMDAE2Card< EnvPeriodPolicy >
int m_position
 
CardType m_type
 
VMESimulationIfacem_vme
 
bool m_veto_raised
 
bool m_is_running
 
std::vector< sim_mappingm_mapping
 
isisU32_t m_firmware
 
- Protected Attributes inherited from ISIS::Base
Poco::Logger * m_logger
 
Poco::LogStream * m_logstr
 
Poco::Mutex m_logger_lock
 

Additional Inherited Members

- Public Types inherited from SIMDAE2Card< EnvPeriodPolicy >
enum  CardType
 
- Static Public Member Functions inherited from SIMDAE2Card< EnvPeriodPolicy >
static void increment (int value, isisU32_t &low)
 
static void increment2 (int value, isisU32_t &low, isisU32_t &high)
 
static void increment3 (int value, isisU32_t &low, isisU32_t &middle, isisU32_t &high)
 
static void increment32 (int value, isisU32_t &low, isisU32_t &high)
 
static void increment32 (int value, uint64_t &low, isisU32_t &high)
 
- Protected Member Functions inherited from SIMDAE2Card< EnvPeriodPolicy >
std::string loggingPrefix () const
 
- Protected Member Functions inherited from ISIS::Base
 Base (const std::string &logger_name="UNKNOWN")
 
void setLoggerName (const std::string &logger_name)
 
virtual ~Base ()
 
void setThisLoggerLevel (int level)
 
- Static Protected Member Functions inherited from ISIS::Base
static void setAllLoggerLevel (int level)
 

Detailed Description

template<class EnvPeriodPolicy>
class SIMEnvCard< EnvPeriodPolicy >

Definition at line 17 of file QxtrmSimulation.h.

Constructor & Destructor Documentation

template<class EnvPeriodPolicy >
SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard ( int  position,
VMESimulationIface vme,
FaultMode  fault_mode,
DAEstatus status 
)
template<class EnvPeriodPolicy >
SIMEnvCard< EnvPeriodPolicy >::~SIMEnvCard ( )
virtual

Definition at line 109 of file sim_environment_card.cpp.

Member Function Documentation

template<class EnvPeriodPolicy >
int SIMEnvCard< EnvPeriodPolicy >::frameNumber ( )
inline
template<class EnvPeriodPolicy >
void SIMEnvCard< EnvPeriodPolicy >::printStatus ( std::ostream &  os)
virtual

Implements SIMDAE2Card< EnvPeriodPolicy >.

Definition at line 44 of file sim_environment_card.cpp.

template<class EnvPeriodPolicy >
void SIMEnvCard< EnvPeriodPolicy >::simulate ( int  delay)
virtual

Implements SIMDAE2Card< EnvPeriodPolicy >.

Definition at line 85 of file sim_environment_card.cpp.

template<class EnvPeriodPolicy >
void SIMEnvCard< EnvPeriodPolicy >::updateCardAfterRead ( DAEstatus status)
virtual

Implements SIMDAE2Card< EnvPeriodPolicy >.

Definition at line 79 of file sim_environment_card.cpp.

template<class EnvPeriodPolicy >
void SIMEnvCard< EnvPeriodPolicy >::updateCardAfterWrite ( DAEstatus status)
virtual

Implements SIMDAE2Card< EnvPeriodPolicy >.

Definition at line 51 of file sim_environment_card.cpp.

Member Data Documentation

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_50hz_veto
protected

Definition at line 38 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_chopper_veto
protected

Definition at line 36 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_chopper_window_delay
protected

Definition at line 39 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_chopper_window_width
protected

Definition at line 40 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_ext_veto0
protected

Definition at line 29 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_ext_veto1
protected

Definition at line 30 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_ext_veto2
protected

Definition at line 31 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_ext_veto3
protected

Definition at line 32 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_fifo_veto
protected

Definition at line 27 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_fs_delay
protected

Definition at line 33 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_good_frames
protected

Definition at line 22 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_good_proton_high
protected

Definition at line 26 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_good_proton_low
protected

Definition at line 25 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_raw_frames
protected
template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_raw_proton_high
protected

Definition at line 24 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_raw_proton_low
protected

Definition at line 23 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_run_control
protected

Definition at line 34 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_smp_veto
protected

Definition at line 28 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_ts2_pulse_veto
protected

Definition at line 37 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().

template<class EnvPeriodPolicy >
isisU32_t SIMEnvCard< EnvPeriodPolicy >::m_veto
protected

Definition at line 35 of file sim_environment_card.h.

Referenced by SIMEnvCard< EnvPeriodPolicy >::SIMEnvCard().


The documentation for this class was generated from the following files: