ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
Classes | |
class | ActionMgr |
This class is responsible for the life-cycle management of actions and activities. More... | |
class | ActionsStd |
This class contains the implementation of the actions dealing with the standard commands from stdif.xml and the following signals: More... | |
class | Config |
This class provide access to the command line options and the configuration parameters stored in the configuration file. More... | |
class | DataContext |
This class provide access to the application run-time data including the in-memory DB. More... | |
class | DbInterface |
This class is the interface to the in-memory DB. More... | |
class | StdCmdsImpl |
Functions | |
std::optional< std::string > | MakeStatusString (std::list< scxml4cpp::State * > &&states) |
Make a status string from active states (as returned from scxml4cpp::Executor::getStatus()). More... | |
log4cplus::Logger & | GetLogger () |
Variables | |
const std::string | CONFIG_DEFAULT_PROCNAME = "ocm" |
Default application configuration values. More... | |
const std::string | CONFIG_DEFAULT_FILENAME = "config/daqOcmServer/config.yaml" |
const std::string | CONFIG_DEFAULT_WORKSPACE = "ocm" |
const std::string | CONFIG_DEFAULT_SCXML_FILENAME = "config/daqOcmServer/sm.xml" |
const std::string | CONFIG_DEFAULT_LOGLEVEL = "INFO" |
const std::string | CONFIG_DEFAULT_LOG_PROPERTIES = "server/log.properties" |
const std::string | CONFIG_DEFAULT_DB_ENDPOINT = "127.0.0.1:6379" |
const int | CONFIG_DEFAULT_DB_TIMEOUT_SEC = 2 |
const std::string | CONFIG_DEFAULT_REQ_ENDPOINT = "zpb.rr://127.0.0.1:12081/" |
const std::string | CONFIG_DEFAULT_PUB_ENDPOINT = "zpb.ps://127.0.0.1:12082/" |
const std::string | CONFIG_ENVVAR_DBHOST = "DB_HOST" |
Application configuration environment variables. More... | |
const std::string | CONFIG_ENVVAR_OUT_PATH = "DATAROOT" |
const std::string | KEY_CONTROL_STATE = "ctr.state" |
const std::string | KEY_CONFIG_REQ_ENDPOINT = "cfg.req.endpoint" |
const std::string | KEY_CONFIG_PUB_ENDPOINT = "cfg.pub.endpoint" |
const std::string | KEY_CONFIG_DB_ENDPOINT = "cfg.db.endpoint" |
const std::string | KEY_CONFIG_DB_PREFIX = "cfg.db.prefix" |
const std::string | KEY_CONFIG_DB_TIMEOUT_SEC = "cfg.db.timeout_sec" |
const std::string | KEY_CONFIG_SM_SCXML = "cfg.sm.scxml" |
const std::string | KEY_CONFIG_FILENAME = "cfg.filename" |
const std::string | KEY_CONFIG_LOG_LEVEL = "cfg.log.level" |
const std::string | KEY_CONFIG_LOG_PROPERTIES = "cfg.log.properties" |
const std::string | KEY_CONFIG_INSTRUMENT_ID = "cfg.instrument_id" |
const std::string | KEY_CONFIG_DATAROOT = "cfg.dataroot" |
const std::string | KEY_CONFIG_WORKSPACE = "cfg.workspace" |
const std::string | KEY_CONFIG_STALE_DAQ_ACQUIRING = "cfg.daq.stale.acquiring_hours" |
const std::string | KEY_CONFIG_STALE_DAQ_MERGING = "cfg.daq.stale.merging_hours" |
const std::string | KEY_CONFIG_DPM_REQ_ENDPOINT = "cfg.dpm.req.endpoint" |
const std::string | KEY_CONFIG_DPM_PUB_ENDPOINT = "cfg.dpm.pub.endpoint" |
const std::string | KEY_CONFIG_DPM_TIMEOUT_SEC = "cfg.dpm.timeout_sec" |
const std::string | LOGGER_NAME = "server" |
log4cplus::Logger & server::GetLogger | ( | ) |
Definition at line 14 of file logger.cpp.
std::optional< std::string > server::MakeStatusString | ( | std::list< scxml4cpp::State * > && | states | ) |
Make a status string from active states (as returned from scxml4cpp::Executor::getStatus()).
Assumptions:
Definition at line 29 of file actionsStd.cpp.
const std::string server::CONFIG_DEFAULT_DB_ENDPOINT = "127.0.0.1:6379" |
Definition at line 31 of file config.hpp.
const int server::CONFIG_DEFAULT_DB_TIMEOUT_SEC = 2 |
Definition at line 32 of file config.hpp.
const std::string server::CONFIG_DEFAULT_FILENAME = "config/daqOcmServer/config.yaml" |
Definition at line 26 of file config.hpp.
const std::string server::CONFIG_DEFAULT_LOG_PROPERTIES = "server/log.properties" |
Definition at line 30 of file config.hpp.
const std::string server::CONFIG_DEFAULT_LOGLEVEL = "INFO" |
Definition at line 29 of file config.hpp.
const std::string server::CONFIG_DEFAULT_PROCNAME = "ocm" |
Default application configuration values.
Definition at line 25 of file config.hpp.
const std::string server::CONFIG_DEFAULT_PUB_ENDPOINT = "zpb.ps://127.0.0.1:12082/" |
Definition at line 34 of file config.hpp.
const std::string server::CONFIG_DEFAULT_REQ_ENDPOINT = "zpb.rr://127.0.0.1:12081/" |
Definition at line 33 of file config.hpp.
const std::string server::CONFIG_DEFAULT_SCXML_FILENAME = "config/daqOcmServer/sm.xml" |
Definition at line 28 of file config.hpp.
const std::string server::CONFIG_DEFAULT_WORKSPACE = "ocm" |
Definition at line 27 of file config.hpp.
const std::string server::CONFIG_ENVVAR_DBHOST = "DB_HOST" |
Application configuration environment variables.
Definition at line 39 of file config.hpp.
const std::string server::CONFIG_ENVVAR_OUT_PATH = "DATAROOT" |
Definition at line 40 of file config.hpp.
const std::string server::KEY_CONFIG_DATAROOT = "cfg.dataroot" |
Definition at line 30 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_DB_ENDPOINT = "cfg.db.endpoint" |
Definition at line 22 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_DB_PREFIX = "cfg.db.prefix" |
Definition at line 23 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_DB_TIMEOUT_SEC = "cfg.db.timeout_sec" |
Definition at line 24 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_DPM_PUB_ENDPOINT = "cfg.dpm.pub.endpoint" |
Definition at line 37 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_DPM_REQ_ENDPOINT = "cfg.dpm.req.endpoint" |
Definition at line 36 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_DPM_TIMEOUT_SEC = "cfg.dpm.timeout_sec" |
Definition at line 38 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_FILENAME = "cfg.filename" |
Definition at line 26 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_INSTRUMENT_ID = "cfg.instrument_id" |
Definition at line 29 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_LOG_LEVEL = "cfg.log.level" |
Definition at line 27 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_LOG_PROPERTIES = "cfg.log.properties" |
Definition at line 28 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_PUB_ENDPOINT = "cfg.pub.endpoint" |
Definition at line 21 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_REQ_ENDPOINT = "cfg.req.endpoint" |
Definition at line 20 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_SM_SCXML = "cfg.sm.scxml" |
Definition at line 25 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_STALE_DAQ_ACQUIRING = "cfg.daq.stale.acquiring_hours" |
Definition at line 33 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_STALE_DAQ_MERGING = "cfg.daq.stale.merging_hours" |
Definition at line 34 of file dbInterface.hpp.
const std::string server::KEY_CONFIG_WORKSPACE = "cfg.workspace" |
Definition at line 31 of file dbInterface.hpp.
const std::string server::KEY_CONTROL_STATE = "ctr.state" |
Definition at line 18 of file dbInterface.hpp.
const std::string server::LOGGER_NAME = "server" |
Definition at line 17 of file logger.hpp.