ICP  1
Public Member Functions | Protected Attributes | List of all members
SIMPeriodCard Class Reference

#include <sim_period_card.h>

Inheritance diagram for SIMPeriodCard:
Inheritance graph

Public Member Functions

 SIMPeriodCard (int position, VMESimulation *vme, FaultMode fault_mode, DAEstatus &status)
 
virtual ~SIMPeriodCard ()
 
virtual void printStatus (std::ostream &os)
 
virtual void updateCardAfterWrite (DAEstatus &status)
 
virtual void updateCardAfterRead (DAEstatus &status)
 
virtual void simulate (int delay)
 
- Public Member Functions inherited from SIMDAE2Card< DAECardPolicy >
 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_main_period_counter
 
isisU32_t m_main_period_limit
 
isisU32_t m_main_period_sequence_counter
 
isisU32_t m_extract_vc_low
 
isisU32_t m_extract_vc_high
 
isisU32_t m_lookup
 
isisU32_t m_period_control
 
isisU32_tm_perlut
 
isisU32_tm_outlut
 
isisU32_tm_rawframes
 
isisU32_tm_goodframes
 
isisU32_t m_mat_counter
 
- Protected Attributes inherited from SIMDAE2Card< DAECardPolicy >
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< DAECardPolicy >
enum  CardType {
  UnknownCard =0, EnvCard =1, DetCard =2, PeriodCard =3,
  EnvPeriodCard =4
}
 
- Static Public Member Functions inherited from SIMDAE2Card< DAECardPolicy >
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< DAECardPolicy >
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

Definition at line 7 of file sim_period_card.h.

Constructor & Destructor Documentation

SIMPeriodCard::SIMPeriodCard ( int  position,
VMESimulation vme,
FaultMode  fault_mode,
DAEstatus status 
)
SIMPeriodCard::~SIMPeriodCard ( )
virtual

Definition at line 148 of file sim_period_card.cpp.

References m_goodframes, m_outlut, m_perlut, and m_rawframes.

Member Function Documentation

void SIMPeriodCard::printStatus ( std::ostream &  os)
virtual
void SIMPeriodCard::simulate ( int  delay)
virtual
void SIMPeriodCard::updateCardAfterRead ( DAEstatus status)
virtual

Implements SIMDAE2Card< DAECardPolicy >.

Definition at line 62 of file sim_period_card.cpp.

void SIMPeriodCard::updateCardAfterWrite ( DAEstatus status)
virtual

Member Data Documentation

isisU32_t SIMPeriodCard::m_extract_vc_high
protected

Definition at line 23 of file sim_period_card.h.

Referenced by SIMPeriodCard(), simulate(), and updateCardAfterWrite().

isisU32_t SIMPeriodCard::m_extract_vc_low
protected

Definition at line 22 of file sim_period_card.h.

Referenced by SIMPeriodCard(), simulate(), and updateCardAfterWrite().

isisU32_t* SIMPeriodCard::m_goodframes
protected

Definition at line 29 of file sim_period_card.h.

Referenced by SIMPeriodCard(), simulate(), and ~SIMPeriodCard().

isisU32_t SIMPeriodCard::m_lookup
protected

Definition at line 24 of file sim_period_card.h.

Referenced by SIMPeriodCard(), and updateCardAfterWrite().

isisU32_t SIMPeriodCard::m_main_period_counter
protected

Definition at line 18 of file sim_period_card.h.

Referenced by SIMPeriodCard(), simulate(), and updateCardAfterWrite().

isisU32_t SIMPeriodCard::m_main_period_limit
protected

Definition at line 19 of file sim_period_card.h.

Referenced by SIMPeriodCard(), and simulate().

isisU32_t SIMPeriodCard::m_main_period_sequence_counter
protected

Definition at line 20 of file sim_period_card.h.

Referenced by SIMPeriodCard(), simulate(), and updateCardAfterWrite().

isisU32_t SIMPeriodCard::m_mat_counter
protected

Definition at line 32 of file sim_period_card.h.

Referenced by SIMPeriodCard().

isisU32_t* SIMPeriodCard::m_outlut
protected

Definition at line 27 of file sim_period_card.h.

Referenced by SIMPeriodCard(), and ~SIMPeriodCard().

isisU32_t SIMPeriodCard::m_period_control
protected

Definition at line 25 of file sim_period_card.h.

Referenced by SIMPeriodCard(), simulate(), and updateCardAfterWrite().

isisU32_t* SIMPeriodCard::m_perlut
protected

Definition at line 26 of file sim_period_card.h.

Referenced by SIMPeriodCard(), simulate(), and ~SIMPeriodCard().

isisU32_t* SIMPeriodCard::m_rawframes
protected

Definition at line 28 of file sim_period_card.h.

Referenced by SIMPeriodCard(), simulate(), and ~SIMPeriodCard().


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