1 #ifndef ENVIRONMENT_CARD_H
2 #define ENVIRONMENT_CARD_H
68 template <
class EnvPeriodPolicy>
virtual int resetRunController(DAEstatus &status)=0
virtual int getGoodPPP(isisU64_t *value, DAEstatus &status)=0
int ClearFramesAndPPP(DAEstatus &status)
int getISIS50HzVetoedFrames(isisU32_t *value, DAEstatus &status)
virtual int clearSMPVetoedFrames(DAEstatus &status)=0
int clearSMPVetoedFrames(DAEstatus &status)
float getGoodUAmpHours(DAEstatus &status)
virtual float getRawUAmpHours(DAEstatus &status)=0
int clearPPP(DAEstatus &status)
int getFIFOVetoedFrames(isisU32_t *value, DAEstatus &status)
virtual int ClearFramesAndPPP(DAEstatus &status)=0
float getRawUAmpHours(DAEstatus &status)
int clearRunControlBits(isisU32_t mask, DAEstatus &status)
int disableISIS50HzVeto(DAEstatus &status)
int enableInternalVeto(DAEstatus &status)
virtual void printStatus(std::ostream &os, DAEstatus &status)=0
virtual int getISIS50HzVetoedFrames(isisU32_t *value, DAEstatus &status)=0
virtual int getGoodPPPUpper(isisU32_t *value, DAEstatus &status)=0
int getTS2PulseVetoedFrames(isisU32_t *value, DAEstatus &status)
EnvironmentCard(int position, ISISVME *vme, DAEstatus &status)
bool isRunning(DAEstatus &status)
int getGoodFrames(isisU32_t *value, DAEstatus &status)
int disableSMPVeto(DAEstatus &status)
virtual int resetCardState(DAEstatus &status)=0
int setRunControlBits(isisU32_t mask, bool preserve, DAEstatus &status)
virtual int getRawPPPLower(isisU32_t *value, DAEstatus &status)=0
virtual int getRawPPPUpper(isisU32_t *value, DAEstatus &status)=0
int enableFIFOVeto(DAEstatus &status)
int setAndClearRunControlBits(isisU32_t mask, bool preserve, DAEstatus &status)
bool usingHardwarePeriods(DAEstatus &status)
int getGoodPPP(isisU64_t *value, DAEstatus &status)
int getFChopperVetoedFrames(int chopper_number, isisU32_t *value, DAEstatus &status)
virtual int getSMPVetoedFrames(isisU32_t *value, DAEstatus &status)=0
virtual int setFrameSyncDelay(isisU32_t value, DAEstatus &status)=0
virtual int getGoodFrames(isisU32_t *value, DAEstatus &status)=0
int getRawFrames(isisU32_t *value, DAEstatus &status)
virtual int getRawPPP(isisU64_t *value, DAEstatus &status)=0
virtual int disableFChopperVeto(int chopper_number, DAEstatus &status)=0
virtual int getRawFrames(isisU32_t *value, DAEstatus &status)=0
virtual int printVetoDetails(std::ostream &os, DAEstatus &status)=0
int disableTS2PulseVeto(DAEstatus &status)
int clearExternalVetoedFrames(DAEstatus &status)
virtual int getFIFOVetoedFrames(isisU32_t *value, DAEstatus &status)=0
virtual int enableInternalVeto(DAEstatus &status)=0
virtual int clearFIFOVetoedFrames(DAEstatus &status)=0
virtual int disableExternalVeto(int veto_number, DAEstatus &status)=0
int getRawPPPUpper(isisU32_t *value, DAEstatus &status)
virtual int getGoodPPPLower(isisU32_t *value, DAEstatus &status)=0
int disableExternalVeto(int veto_number, DAEstatus &status)
int disableFIFOVeto(DAEstatus &status)
int whichVeto(std::ostream &os, DAEstatus &status)
virtual int getFrameSyncDelay(isisU32_t *value, DAEstatus &status)=0
virtual ~EnvironmentCardIntf()
virtual int disableFIFOVeto(DAEstatus &status)=0
int startRun(DAEstatus &status)
virtual int position() const
int clearVetoRegisterBits(isisU32_t mask, DAEstatus &status)
virtual bool isRunning(DAEstatus &status)=0
virtual int resetCardState(DAEstatus &status)
void printStatus(std::ostream &os, DAEstatus &status)
virtual int enableHardwarePeriods(DAEstatus &status)=0
int setVetoRegisterBits(isisU32_t mask, bool preserve, DAEstatus &status)
int enableSMPVeto(DAEstatus &status)
virtual int disableSMPVeto(DAEstatus &status)=0
int printVetoDetails(std::ostream &os, DAEstatus &status)
virtual int setFrameSync(FrameSync fs, DAEstatus &status)=0
virtual int disableInternalVeto(DAEstatus &status)=0
int disableFChopperVeto(int chopper_number, DAEstatus &status)
virtual int enableSMPVeto(DAEstatus &status)=0
int getSMPVetoedFrames(isisU32_t *value, DAEstatus &status)
int getGoodPPPUpper(isisU32_t *value, DAEstatus &status)
virtual std::string daeDevice() const
int setFrameSync(FrameSync fs, DAEstatus &status)
int disableInternalVeto(DAEstatus &status)
virtual int getFChopperVetoedFrames(int chopper_number, isisU32_t *value, DAEstatus &status)=0
int getGoodPPPLower(isisU32_t *value, DAEstatus &status)
virtual int getTS2PulseVetoedFrames(isisU32_t *value, DAEstatus &status)=0
std::string daeDevice() const
virtual int enableISIS50HzVeto(DAEstatus &status)=0
int enableISIS50HzVeto(DAEstatus &status)
int clearFIFOVetoedFrames(DAEstatus &status)
int resetRunController(DAEstatus &status)
virtual int stopRun(DAEstatus &status)=0
virtual int whichVeto(std::ostream &os, DAEstatus &status)=0
virtual bool usingHardwarePeriods(DAEstatus &status)=0
int getExternalVetoedFrames(int veto_number, isisU32_t *value, DAEstatus &status)
int getRawPPPLower(isisU32_t *value, DAEstatus &status)
virtual float getGoodUAmpHours(DAEstatus &status)=0
int getFrameSyncDelay(isisU32_t *value, DAEstatus &status)
int enableFChopperVeto(int chopper_number, int delay, int width, DAEstatus &status)
virtual int clearExternalVetoedFrames(DAEstatus &status)=0
int enableExternalVeto(int veto_number, DAEstatus &status)
virtual int getExternalVetoedFrames(int veto_number, isisU32_t *value, DAEstatus &status)=0
int disableHardwarePeriods(DAEstatus &status)
virtual int disableISIS50HzVeto(DAEstatus &status)=0
int setFrameSyncDelay(isisU32_t value, DAEstatus &status)
int enableTS2PulseVeto(DAEstatus &status)
int stopRun(DAEstatus &status)
virtual int enableTS2PulseVeto(DAEstatus &status)=0
virtual int disableTS2PulseVeto(DAEstatus &status)=0
virtual int startRun(DAEstatus &status)=0
int enableHardwarePeriods(DAEstatus &status)
int getRawPPP(isisU64_t *value, DAEstatus &status)
virtual int disableHardwarePeriods(DAEstatus &status)=0
virtual int enableExternalVeto(int veto_number, DAEstatus &status)=0
virtual int enableFIFOVeto(DAEstatus &status)=0
virtual int enableFChopperVeto(int chopper_number, int delay, int width, DAEstatus &status)=0