ifw-fcf  5.0.0-pre2
Classes | Variables
fcf::devmgr::common Namespace Reference

Classes

class  ActionMgr
 
class  ActionsEnable
 
class  ActionsInit
 
class  ActionsRecover
 
class  ActionsSetup
 
class  ActionsStd
 
class  ActivityEnabling
 
class  ActivityInitialising
 
class  ActivityRecovering
 
class  AppCmdsImpl
 
class  Config
 
class  MetaDaqImpl
 
class  DataContext
 
class  Device
 
class  DeviceConfig
 Device Configuration class. More...
 
struct  DaqInfo
 
class  DeviceFacade
 
class  DeviceFactory
 
struct  DeviceControllerData
 The DeviceControllerData struct. More...
 
class  DeviceLcsIf
 
class  DeviceMaker
 
class  IDevice
 
class  IDeviceConfig
 Device Configuration class. More...
 
class  IDeviceMaker
 
class  StdCmdsImpl
 
class  TaskSetup
 

Variables

constexpr auto CONFIG_DEFAULT_DICTIONARIES = "dictionary/dit/stddid/primary.did.yaml"
 
constexpr auto CONFIG_DEFAULT_FIT_PREFIX = "INS"
 
constexpr auto KEY_CONFIG_EXT_PUB_ENDPOINT = "ext_pub_endpoint"
 
constexpr auto KEY_CONFIG_EXT_SUB_ENDPOINT = "ext_sub_endpoint"
 
constexpr auto KEY_CONFIG_DEVICES = "devices"
 
constexpr auto KEY_CONFIG_DEVFILE = "cfgfile"
 
constexpr auto KEY_CONFIG_TYPE = "type"
 
constexpr auto KEY_CONFIG_DEVNAME = "name"
 
constexpr auto KEY_CONFIG_INTERFACE = "interface"
 
constexpr auto CONFIG_ENVVAR_DBHOST = "DB_HOST"
 
const short SRV_STATE_NOT_OPERATIONAL = 1
 
const short SRV_STATE_OPERATIONAL = 2
 
const short SRV_SUBSTATE_NOTREADY = 1
 
const short SRV_SUBSTATE_READY = 2
 
const short SRV_SUBSTATE_IDLE = 3
 
const short SRV_SUBSTATE_INITIALISING = 4
 
const short SRV_SUBSTATE_ENABLING = 5
 
const short SRV_SUBSTATE_SETTING_UP = 6
 
const short SRV_SUBSTATE_ERROR = 10
 
const std::string SRV_STATE_NOT_OPERATIONAL_STR = "NotOperational"
 
const std::string SRV_STATE_OPERATIONAL_STR = "Operational"
 
const std::string SRV_STATE_UNAVAILABLE_STR = "Unavailable"
 
const std::string SRV_SUBSTATE_NOTREADY_STR = "NotReady"
 
const std::string SRV_SUBSTATE_READY_STR = "Ready"
 
const std::string SRV_SUBSTATE_IDLE_STR = "Idle"
 
const std::string SRV_SUBSTATE_INITIALISING_STR = "Initialising"
 
const std::string SRV_SUBSTATE_ENABLING_STR = "Enabling"
 
const std::string SRV_SUBSTATE_ERROR_STR = "Error"
 
const std::string SRV_SUBSTATE_SETTING_UP_STR = "SettingUp"
 
const std::unordered_map< short, std::string > SrvStateMap
 
const std::unordered_map< std::string, short > SrvStateStrMap
 
const std::unordered_map< short, std::string > SrvSubstateMap
 
const std::unordered_map< std::string, short > SrvSubstateStrMap
 
constexpr auto CI_IDENTIFIER = "identifier"
 
constexpr auto CI_SIMULATED = "simulated"
 
constexpr auto CI_IGNORED = "ignored"
 
constexpr auto CI_ADDRESS = "dev_endpoint"
 
constexpr auto CI_SIM_ADDRESS = "sim_endpoint"
 
constexpr auto CI_TYPE = "type"
 
constexpr auto CI_PREFIX = "prefix"
 
constexpr auto CI_NAME = "name"
 
constexpr auto CI_NAMESPACE = "namespace"
 
constexpr auto CI_MAP_FILE = "mapfile"
 
constexpr auto CI_FITS_PREFIX = "fits_prefix"
 
constexpr auto CI_ALIAS = "alias"
 
constexpr auto CI_ID = "id"
 
constexpr auto CI_OVERVIEW = "overview"
 
constexpr auto CI_DESCRIPTION = "description"
 
constexpr auto CI_CFG_FILE = "cfgfile"
 
constexpr auto CI_CTRL_CONFIG = "ctrl_config"
 
constexpr auto CI_WIDGET = "widget"
 
constexpr auto CI_WIDGET_MODULE = "module"
 
constexpr auto CI_WIDGET_CLASS = "class"
 
constexpr auto CI_WIDGET_WIDGET = "widget"
 
constexpr auto CI_WIDGET_HEIGHT = "height"
 
constexpr auto RPC_INIT = "rpcInit"
 
constexpr auto RPC_ENABLE = "rpcEnable"
 
constexpr auto RPC_DISABLE = "rpcDisable"
 
constexpr auto RPC_STOP = "rpcStop"
 
constexpr auto RPC_RESET = "rpcReset"
 
constexpr auto CI_STAT_SUBSTATE = "substate"
 
constexpr auto CI_STAT_STATE = "state"
 
constexpr auto CI_STAT_STATU = "status"
 
constexpr auto CI_STAT_LOCAL = "local"
 
constexpr auto CI_STAT_ERROR_CODE = "error_code"
 
constexpr auto CI_STAT_ERROR_STR = "error_str"
 
constexpr auto DB_CONTROLLER_PREFIX = "lcs"
 
constexpr auto CAT_STAT = "stat"
 
constexpr auto CAT_CFG = "cfg"
 
constexpr auto CAT_CTRL = "ctrl"
 
constexpr auto CAT_RPC = "rpc"
 
constexpr int STATE_NOT_OPERATIONAL = 1
 
constexpr int STATE_OPERATIONAL = 2
 
constexpr auto STATE_NOT_OPERATIONAL_STR = "NotOperational"
 
constexpr auto STATE_OPERATIONAL_STR = "Operational"
 
constexpr auto STATE_UNAVAILABLE_STR = "Unavailable"
 
const std::unordered_map< short, std::string > StateMap
 
const std::unordered_map< std::string, short > StateStrMap
 
constexpr int SUBSTATE_NOTREADY = 100
 
constexpr int SUBSTATE_READY = 101
 
constexpr int SUBSTATE_INITIALISING = 102
 
constexpr int SUBSTATE_ERROR = 199
 
constexpr auto SUBSTATE_NOTREADY_STR = "NotReady"
 
constexpr auto SUBSTATE_INITIALISING_STR = "Initialising"
 
constexpr auto SUBSTATE_READY_STR = "Ready"
 
constexpr auto SUBSTATE_ERROR_STR = "Error"
 
constexpr int SUBSTATE_OP_DISABLING = 205
 
constexpr int SUBSTATE_OP_ERROR = 299
 
constexpr auto SUBSTATE_OP_DISABLING_STR = "Disabling"
 
constexpr auto SUBSTATE_OP_ERROR_STR = "OpError"
 
constexpr auto FITS_PARAM_ID = "ID"
 
constexpr auto FITS_PARAM_NAME = "NAME"
 
constexpr auto FITS_PARAM_STAT = "STAT"
 
constexpr auto FITS_PARAM_DEVSIM = "DEVSIM"
 
constexpr auto FITS_PARAM_DEVIGN = "DEVIGN"
 

Variable Documentation

◆ CAT_CFG

constexpr auto fcf::devmgr::common::CAT_CFG = "cfg"
constexpr

◆ CAT_CTRL

constexpr auto fcf::devmgr::common::CAT_CTRL = "ctrl"
constexpr

◆ CAT_RPC

constexpr auto fcf::devmgr::common::CAT_RPC = "rpc"
constexpr

◆ CAT_STAT

constexpr auto fcf::devmgr::common::CAT_STAT = "stat"
constexpr

◆ CI_ADDRESS

constexpr auto fcf::devmgr::common::CI_ADDRESS = "dev_endpoint"
constexpr

◆ CI_ALIAS

constexpr auto fcf::devmgr::common::CI_ALIAS = "alias"
constexpr

◆ CI_CFG_FILE

constexpr auto fcf::devmgr::common::CI_CFG_FILE = "cfgfile"
constexpr

◆ CI_CTRL_CONFIG

constexpr auto fcf::devmgr::common::CI_CTRL_CONFIG = "ctrl_config"
constexpr

◆ CI_DESCRIPTION

constexpr auto fcf::devmgr::common::CI_DESCRIPTION = "description"
constexpr

◆ CI_FITS_PREFIX

constexpr auto fcf::devmgr::common::CI_FITS_PREFIX = "fits_prefix"
constexpr

◆ CI_ID

constexpr auto fcf::devmgr::common::CI_ID = "id"
constexpr

◆ CI_IDENTIFIER

constexpr auto fcf::devmgr::common::CI_IDENTIFIER = "identifier"
constexpr

◆ CI_IGNORED

constexpr auto fcf::devmgr::common::CI_IGNORED = "ignored"
constexpr

◆ CI_MAP_FILE

constexpr auto fcf::devmgr::common::CI_MAP_FILE = "mapfile"
constexpr

◆ CI_NAME

constexpr auto fcf::devmgr::common::CI_NAME = "name"
constexpr

◆ CI_NAMESPACE

constexpr auto fcf::devmgr::common::CI_NAMESPACE = "namespace"
constexpr

◆ CI_OVERVIEW

constexpr auto fcf::devmgr::common::CI_OVERVIEW = "overview"
constexpr

◆ CI_PREFIX

constexpr auto fcf::devmgr::common::CI_PREFIX = "prefix"
constexpr

◆ CI_SIM_ADDRESS

constexpr auto fcf::devmgr::common::CI_SIM_ADDRESS = "sim_endpoint"
constexpr

◆ CI_SIMULATED

constexpr auto fcf::devmgr::common::CI_SIMULATED = "simulated"
constexpr

◆ CI_STAT_ERROR_CODE

constexpr auto fcf::devmgr::common::CI_STAT_ERROR_CODE = "error_code"
constexpr

◆ CI_STAT_ERROR_STR

constexpr auto fcf::devmgr::common::CI_STAT_ERROR_STR = "error_str"
constexpr

◆ CI_STAT_LOCAL

constexpr auto fcf::devmgr::common::CI_STAT_LOCAL = "local"
constexpr

◆ CI_STAT_STATE

constexpr auto fcf::devmgr::common::CI_STAT_STATE = "state"
constexpr

◆ CI_STAT_STATU

constexpr auto fcf::devmgr::common::CI_STAT_STATU = "status"
constexpr

◆ CI_STAT_SUBSTATE

constexpr auto fcf::devmgr::common::CI_STAT_SUBSTATE = "substate"
constexpr

◆ CI_TYPE

constexpr auto fcf::devmgr::common::CI_TYPE = "type"
constexpr

◆ CI_WIDGET

constexpr auto fcf::devmgr::common::CI_WIDGET = "widget"
constexpr

◆ CI_WIDGET_CLASS

constexpr auto fcf::devmgr::common::CI_WIDGET_CLASS = "class"
constexpr

◆ CI_WIDGET_HEIGHT

constexpr auto fcf::devmgr::common::CI_WIDGET_HEIGHT = "height"
constexpr

◆ CI_WIDGET_MODULE

constexpr auto fcf::devmgr::common::CI_WIDGET_MODULE = "module"
constexpr

◆ CI_WIDGET_WIDGET

constexpr auto fcf::devmgr::common::CI_WIDGET_WIDGET = "widget"
constexpr

◆ CONFIG_DEFAULT_DICTIONARIES

constexpr auto fcf::devmgr::common::CONFIG_DEFAULT_DICTIONARIES = "dictionary/dit/stddid/primary.did.yaml"
constexpr

Default application configuration values. no default value to force user to specify config filename since it overwrites the command line options.

◆ CONFIG_DEFAULT_FIT_PREFIX

constexpr auto fcf::devmgr::common::CONFIG_DEFAULT_FIT_PREFIX = "INS"
constexpr

◆ CONFIG_ENVVAR_DBHOST

constexpr auto fcf::devmgr::common::CONFIG_ENVVAR_DBHOST = "DB_HOST"
constexpr

Application configuration environment variables

◆ DB_CONTROLLER_PREFIX

constexpr auto fcf::devmgr::common::DB_CONTROLLER_PREFIX = "lcs"
constexpr

◆ FITS_PARAM_DEVIGN

constexpr auto fcf::devmgr::common::FITS_PARAM_DEVIGN = "DEVIGN"
constexpr

◆ FITS_PARAM_DEVSIM

constexpr auto fcf::devmgr::common::FITS_PARAM_DEVSIM = "DEVSIM"
constexpr

◆ FITS_PARAM_ID

constexpr auto fcf::devmgr::common::FITS_PARAM_ID = "ID"
constexpr

◆ FITS_PARAM_NAME

constexpr auto fcf::devmgr::common::FITS_PARAM_NAME = "NAME"
constexpr

◆ FITS_PARAM_STAT

constexpr auto fcf::devmgr::common::FITS_PARAM_STAT = "STAT"
constexpr

◆ KEY_CONFIG_DEVFILE

constexpr auto fcf::devmgr::common::KEY_CONFIG_DEVFILE = "cfgfile"
constexpr

◆ KEY_CONFIG_DEVICES

constexpr auto fcf::devmgr::common::KEY_CONFIG_DEVICES = "devices"
constexpr

◆ KEY_CONFIG_DEVNAME

constexpr auto fcf::devmgr::common::KEY_CONFIG_DEVNAME = "name"
constexpr

◆ KEY_CONFIG_EXT_PUB_ENDPOINT

constexpr auto fcf::devmgr::common::KEY_CONFIG_EXT_PUB_ENDPOINT = "ext_pub_endpoint"
constexpr

◆ KEY_CONFIG_EXT_SUB_ENDPOINT

constexpr auto fcf::devmgr::common::KEY_CONFIG_EXT_SUB_ENDPOINT = "ext_sub_endpoint"
constexpr

◆ KEY_CONFIG_INTERFACE

constexpr auto fcf::devmgr::common::KEY_CONFIG_INTERFACE = "interface"
constexpr

◆ KEY_CONFIG_TYPE

constexpr auto fcf::devmgr::common::KEY_CONFIG_TYPE = "type"
constexpr

◆ RPC_DISABLE

constexpr auto fcf::devmgr::common::RPC_DISABLE = "rpcDisable"
constexpr

◆ RPC_ENABLE

constexpr auto fcf::devmgr::common::RPC_ENABLE = "rpcEnable"
constexpr

◆ RPC_INIT

constexpr auto fcf::devmgr::common::RPC_INIT = "rpcInit"
constexpr

◆ RPC_RESET

constexpr auto fcf::devmgr::common::RPC_RESET = "rpcReset"
constexpr

◆ RPC_STOP

constexpr auto fcf::devmgr::common::RPC_STOP = "rpcStop"
constexpr

◆ SRV_STATE_NOT_OPERATIONAL

const short fcf::devmgr::common::SRV_STATE_NOT_OPERATIONAL = 1

◆ SRV_STATE_NOT_OPERATIONAL_STR

const std::string fcf::devmgr::common::SRV_STATE_NOT_OPERATIONAL_STR = "NotOperational"

◆ SRV_STATE_OPERATIONAL

const short fcf::devmgr::common::SRV_STATE_OPERATIONAL = 2

◆ SRV_STATE_OPERATIONAL_STR

const std::string fcf::devmgr::common::SRV_STATE_OPERATIONAL_STR = "Operational"

◆ SRV_STATE_UNAVAILABLE_STR

const std::string fcf::devmgr::common::SRV_STATE_UNAVAILABLE_STR = "Unavailable"

◆ SRV_SUBSTATE_ENABLING

const short fcf::devmgr::common::SRV_SUBSTATE_ENABLING = 5

◆ SRV_SUBSTATE_ENABLING_STR

const std::string fcf::devmgr::common::SRV_SUBSTATE_ENABLING_STR = "Enabling"

◆ SRV_SUBSTATE_ERROR

const short fcf::devmgr::common::SRV_SUBSTATE_ERROR = 10

◆ SRV_SUBSTATE_ERROR_STR

const std::string fcf::devmgr::common::SRV_SUBSTATE_ERROR_STR = "Error"

◆ SRV_SUBSTATE_IDLE

const short fcf::devmgr::common::SRV_SUBSTATE_IDLE = 3

◆ SRV_SUBSTATE_IDLE_STR

const std::string fcf::devmgr::common::SRV_SUBSTATE_IDLE_STR = "Idle"

◆ SRV_SUBSTATE_INITIALISING

const short fcf::devmgr::common::SRV_SUBSTATE_INITIALISING = 4

◆ SRV_SUBSTATE_INITIALISING_STR

const std::string fcf::devmgr::common::SRV_SUBSTATE_INITIALISING_STR = "Initialising"

◆ SRV_SUBSTATE_NOTREADY

const short fcf::devmgr::common::SRV_SUBSTATE_NOTREADY = 1

◆ SRV_SUBSTATE_NOTREADY_STR

const std::string fcf::devmgr::common::SRV_SUBSTATE_NOTREADY_STR = "NotReady"

◆ SRV_SUBSTATE_READY

const short fcf::devmgr::common::SRV_SUBSTATE_READY = 2

◆ SRV_SUBSTATE_READY_STR

const std::string fcf::devmgr::common::SRV_SUBSTATE_READY_STR = "Ready"

◆ SRV_SUBSTATE_SETTING_UP

const short fcf::devmgr::common::SRV_SUBSTATE_SETTING_UP = 6

◆ SRV_SUBSTATE_SETTING_UP_STR

const std::string fcf::devmgr::common::SRV_SUBSTATE_SETTING_UP_STR = "SettingUp"

◆ SrvStateMap

const std::unordered_map<short, std::string> fcf::devmgr::common::SrvStateMap
Initial value:
= {
}
const short SRV_STATE_NOT_OPERATIONAL
Definition: dataContext.hpp:29
const std::string SRV_STATE_NOT_OPERATIONAL_STR
Definition: dataContext.hpp:42
const short SRV_STATE_OPERATIONAL
Definition: dataContext.hpp:30
const std::string SRV_STATE_OPERATIONAL_STR
Definition: dataContext.hpp:43

◆ SrvStateStrMap

const std::unordered_map<std::string, short> fcf::devmgr::common::SrvStateStrMap

◆ SrvSubstateMap

const std::unordered_map<short, std::string> fcf::devmgr::common::SrvSubstateMap
Initial value:
= {
}
const std::string SRV_SUBSTATE_SETTING_UP_STR
Definition: dataContext.hpp:52
const short SRV_SUBSTATE_ERROR
Definition: dataContext.hpp:39
const short SRV_SUBSTATE_SETTING_UP
Definition: dataContext.hpp:38
const short SRV_SUBSTATE_INITIALISING
Definition: dataContext.hpp:36
const std::string SRV_SUBSTATE_NOTREADY_STR
Definition: dataContext.hpp:46
const std::string SRV_SUBSTATE_INITIALISING_STR
Definition: dataContext.hpp:49
const short SRV_SUBSTATE_READY
Definition: dataContext.hpp:34
const std::string SRV_SUBSTATE_ENABLING_STR
Definition: dataContext.hpp:50
const std::string SRV_SUBSTATE_IDLE_STR
Definition: dataContext.hpp:48
const short SRV_SUBSTATE_ENABLING
Definition: dataContext.hpp:37
const std::string SRV_SUBSTATE_ERROR_STR
Definition: dataContext.hpp:51
const short SRV_SUBSTATE_IDLE
Definition: dataContext.hpp:35
const std::string SRV_SUBSTATE_READY_STR
Definition: dataContext.hpp:47
const short SRV_SUBSTATE_NOTREADY
Definition: dataContext.hpp:33

◆ SrvSubstateStrMap

const std::unordered_map<std::string, short> fcf::devmgr::common::SrvSubstateStrMap

◆ STATE_NOT_OPERATIONAL

constexpr int fcf::devmgr::common::STATE_NOT_OPERATIONAL = 1
constexpr

◆ STATE_NOT_OPERATIONAL_STR

constexpr auto fcf::devmgr::common::STATE_NOT_OPERATIONAL_STR = "NotOperational"
constexpr

◆ STATE_OPERATIONAL

constexpr int fcf::devmgr::common::STATE_OPERATIONAL = 2
constexpr

◆ STATE_OPERATIONAL_STR

constexpr auto fcf::devmgr::common::STATE_OPERATIONAL_STR = "Operational"
constexpr

◆ STATE_UNAVAILABLE_STR

constexpr auto fcf::devmgr::common::STATE_UNAVAILABLE_STR = "Unavailable"
constexpr

◆ StateMap

const std::unordered_map<short, std::string> fcf::devmgr::common::StateMap
Initial value:
= {
}
constexpr auto STATE_NOT_OPERATIONAL_STR
Definition: deviceConfig.hpp:82
constexpr int STATE_OPERATIONAL
Definition: deviceConfig.hpp:80
constexpr auto STATE_OPERATIONAL_STR
Definition: deviceConfig.hpp:83
constexpr int STATE_NOT_OPERATIONAL
Definition: deviceConfig.hpp:79

◆ StateStrMap

const std::unordered_map<std::string, short> fcf::devmgr::common::StateStrMap

◆ SUBSTATE_ERROR

constexpr int fcf::devmgr::common::SUBSTATE_ERROR = 199
constexpr

◆ SUBSTATE_ERROR_STR

constexpr auto fcf::devmgr::common::SUBSTATE_ERROR_STR = "Error"
constexpr

◆ SUBSTATE_INITIALISING

constexpr int fcf::devmgr::common::SUBSTATE_INITIALISING = 102
constexpr

◆ SUBSTATE_INITIALISING_STR

constexpr auto fcf::devmgr::common::SUBSTATE_INITIALISING_STR = "Initialising"
constexpr

◆ SUBSTATE_NOTREADY

constexpr int fcf::devmgr::common::SUBSTATE_NOTREADY = 100
constexpr

◆ SUBSTATE_NOTREADY_STR

constexpr auto fcf::devmgr::common::SUBSTATE_NOTREADY_STR = "NotReady"
constexpr

◆ SUBSTATE_OP_DISABLING

constexpr int fcf::devmgr::common::SUBSTATE_OP_DISABLING = 205
constexpr

◆ SUBSTATE_OP_DISABLING_STR

constexpr auto fcf::devmgr::common::SUBSTATE_OP_DISABLING_STR = "Disabling"
constexpr

◆ SUBSTATE_OP_ERROR

constexpr int fcf::devmgr::common::SUBSTATE_OP_ERROR = 299
constexpr

◆ SUBSTATE_OP_ERROR_STR

constexpr auto fcf::devmgr::common::SUBSTATE_OP_ERROR_STR = "OpError"
constexpr

◆ SUBSTATE_READY

constexpr int fcf::devmgr::common::SUBSTATE_READY = 101
constexpr

◆ SUBSTATE_READY_STR

constexpr auto fcf::devmgr::common::SUBSTATE_READY_STR = "Ready"
constexpr