#include <RocWorkerApplication.h>
Public Member Functions | |
RocWorkerApplication () | |
virtual bool | CreateReadout (const char *portname, int portnumber) |
virtual bool | CreateCombiner (const char *name) |
virtual std::string | GetCombinerOutputName (const char *name) |
virtual int | ExecuteCommand (dabc::Command *cmd) |
virtual bool | AfterAppModulesStopped () |
virtual bool | BeforeAppModulesDestroyed () |
Protected Types | |
enum | ECalibrationState { calNONE, calOFF, calON } |
Protected Member Functions | |
bool | SwitchCalibrationMode (bool on) |
Protected Attributes | |
roc::BoardsVector | fRocBrds |
ECalibrationState | fCalibrState |
std::string | fCombinerName |
bool | fDoMeasureADC |
Definition at line 23 of file RocWorkerApplication.h.
enum bnet::RocWorkerApplication::ECalibrationState [protected] |
Definition at line 52 of file RocWorkerApplication.h.
bnet::RocWorkerApplication::RocWorkerApplication | ( | ) |
Definition at line 32 of file RocWorkerApplication.cxx.
References fDoMeasureADC, roc::xmlCalibrationLength, roc::xmlCalibrationPeriod, roc::xmlEpicsStreamNode, roc::xmlEpicsTransportNode, roc::xmlMeasureADC, roc::xmlRocFebs, roc::xmlSpillAux, roc::xmlSpillRoc, roc::xmlSyncNumber, roc::xmlSyncScaleDown, and roc::xmlUseDLM.
bool bnet::RocWorkerApplication::AfterAppModulesStopped | ( | ) | [virtual] |
Definition at line 139 of file RocWorkerApplication.cxx.
References calON, fCalibrState, and SwitchCalibrationMode().
bool bnet::RocWorkerApplication::BeforeAppModulesDestroyed | ( | ) | [virtual] |
Definition at line 189 of file RocWorkerApplication.cxx.
References fCombinerName, fRocBrds, and roc::BoardsVector::returnBoards().
bool bnet::RocWorkerApplication::CreateCombiner | ( | const char * | name | ) | [virtual] |
Definition at line 66 of file RocWorkerApplication.cxx.
References roc::BoardsVector::addRoc(), roc::ReadoutApplication::CreateRocCombiner(), fCombinerName, fDoMeasureADC, fRocBrds, roc::BoardsVector::returnBoards(), roc::xmlEpicsStreamNode, roc::xmlMeasureADC, and roc::xmlRocFebs.
bool bnet::RocWorkerApplication::CreateReadout | ( | const char * | portname, | |
int | portnumber | |||
) | [virtual] |
Definition at line 89 of file RocWorkerApplication.cxx.
References fDoMeasureADC, fRocBrds, and roc::BoardsVector::numAdc().
int bnet::RocWorkerApplication::ExecuteCommand | ( | dabc::Command * | cmd | ) | [virtual] |
Definition at line 118 of file RocWorkerApplication.cxx.
References roc::CmdGlobalCalibration::FlagName(), and SwitchCalibrationMode().
std::string bnet::RocWorkerApplication::GetCombinerOutputName | ( | const char * | name | ) | [virtual] |
Definition at line 113 of file RocWorkerApplication.cxx.
bool bnet::RocWorkerApplication::SwitchCalibrationMode | ( | bool | on | ) | [protected] |
Due to optic number of ports can be less than number of ROCs specified in configuration This function returns port number for specified ROC sequence number from configuration For all optic connection return the only port number, which connected with abb device
Definition at line 146 of file RocWorkerApplication.cxx.
References roc::BoardsVector::autoped_switch(), calOFF, calON, fCalibrState, fCombinerName, fDoMeasureADC, fRocBrds, and roc::BoardsVector::readoutExtraMessages().
Referenced by AfterAppModulesStopped(), and ExecuteCommand().
List of boards for put/get operations
Definition at line 56 of file RocWorkerApplication.h.
Referenced by AfterAppModulesStopped(), and SwitchCalibrationMode().
std::string bnet::RocWorkerApplication::fCombinerName [protected] |
Definition at line 58 of file RocWorkerApplication.h.
Referenced by BeforeAppModulesDestroyed(), CreateCombiner(), and SwitchCalibrationMode().
bool bnet::RocWorkerApplication::fDoMeasureADC [protected] |
Definition at line 59 of file RocWorkerApplication.h.
Referenced by CreateCombiner(), CreateReadout(), RocWorkerApplication(), and SwitchCalibrationMode().
Definition at line 54 of file RocWorkerApplication.h.
Referenced by BeforeAppModulesDestroyed(), CreateCombiner(), CreateReadout(), and SwitchCalibrationMode().