ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Variables
deviceConfig.hpp File Reference

DeviceConfig class header file. More...

#include <string>
#include <unordered_map>
#include <yaml-cpp/yaml.h>
#include <fcf/common/iComm.hpp>
#include <fcf/devmgr/common/iDeviceConfig.hpp>
#include <fcf/devmgr/common/configSet.hpp>

Go to the source code of this file.

Classes

class  fcf::devmgr::common::DeviceConfig
 Device Configuration class. More...
 

Namespaces

 fcf
 
 fcf::devmgr
 
 fcf::devmgr::common
 

Typedefs

using fcf::devmgr::common::CfgBool = devmgr::common::ConfigSet< bool >
 
using fcf::devmgr::common::CfgShort = devmgr::common::ConfigSet< short >
 
using fcf::devmgr::common::CfgInt = devmgr::common::ConfigSet< int >
 
using fcf::devmgr::common::CfgUInt = devmgr::common::ConfigSet< unsigned int >
 
using fcf::devmgr::common::CfgDouble = devmgr::common::ConfigSet< double >
 
using fcf::devmgr::common::MapCfgBool = std::map< int, CfgBool >
 
using fcf::devmgr::common::MapCfgShort = std::map< int, CfgShort >
 
using fcf::devmgr::common::MapCfgInt = std::map< int, CfgInt >
 
using fcf::devmgr::common::MapCfgUInt = std::map< int, CfgUInt >
 
using fcf::devmgr::common::MapCfgDouble = std::map< int, CfgDouble >
 

Variables

constexpr auto fcf::devmgr::common::CI_IDENTIFIER = "identifier"
 
constexpr auto fcf::devmgr::common::CI_SIMULATED = "simulated"
 
constexpr auto fcf::devmgr::common::CI_IGNORED = "ignored"
 
constexpr auto fcf::devmgr::common::CI_ADDRESS = "address"
 
constexpr auto fcf::devmgr::common::CI_SIM_ADDRESS = "simaddr"
 
constexpr auto fcf::devmgr::common::CI_TYPE = "type"
 
constexpr auto fcf::devmgr::common::CI_PREFIX = "prefix"
 
constexpr auto fcf::devmgr::common::CI_NAMESPACE = "namespace"
 
constexpr auto fcf::devmgr::common::CI_MAP_FILE = "mapfile"
 
constexpr auto fcf::devmgr::common::CI_FITS_PREFIX = "fits_prefix"
 
constexpr auto fcf::devmgr::common::CI_ALIAS = "alias"
 
constexpr auto fcf::devmgr::common::CI_CFG_FILE = "cfgfile"
 
constexpr auto fcf::devmgr::common::CI_CTRL_CONFIG = "ctrl_config"
 
constexpr auto fcf::devmgr::common::RPC_INIT = "rpcInit"
 
constexpr auto fcf::devmgr::common::RPC_ENABLE = "rpcEnable"
 
constexpr auto fcf::devmgr::common::RPC_DISABLE = "rpcDisable"
 
constexpr auto fcf::devmgr::common::RPC_STOP = "rpcStop"
 
constexpr auto fcf::devmgr::common::RPC_RESET = "rpcReset"
 
constexpr auto fcf::devmgr::common::CI_STAT_SUBSTATE = "substate"
 
constexpr auto fcf::devmgr::common::CI_STAT_STATE = "state"
 
constexpr auto fcf::devmgr::common::CI_STAT_STATU = "status"
 
constexpr auto fcf::devmgr::common::CI_STAT_LOCAL = "local"
 
constexpr auto fcf::devmgr::common::CI_STAT_ERROR_CODE = "error_code"
 
constexpr auto fcf::devmgr::common::CI_STAT_ERROR_STR = "error_str"
 
constexpr auto fcf::devmgr::common::DB_CONTROLLER_PREFIX = "lcs"
 
constexpr auto fcf::devmgr::common::CAT_STAT = "stat"
 
constexpr auto fcf::devmgr::common::CAT_CFG = "cfg"
 
constexpr auto fcf::devmgr::common::CAT_RPC = "rpc"
 
constexpr int fcf::devmgr::common::STATE_NOT_OPERATIONAL = 1
 
constexpr int fcf::devmgr::common::STATE_OPERATIONAL = 2
 
constexpr auto fcf::devmgr::common::STATE_NOT_OPERATIONAL_STR = "NotOperational"
 
constexpr auto fcf::devmgr::common::STATE_OPERATIONAL_STR = "Operational"
 
constexpr auto fcf::devmgr::common::STATE_UNAVAILABLE_STR = "Unavailable"
 
const std::unordered_map
< short, std::string > 
fcf::devmgr::common::StateMap
 
const std::unordered_map
< std::string, short > 
fcf::devmgr::common::StateStrMap
 
constexpr int fcf::devmgr::common::SUBSTATE_NOTREADY = 100
 
constexpr int fcf::devmgr::common::SUBSTATE_READY = 101
 
constexpr int fcf::devmgr::common::SUBSTATE_INITIALISING = 102
 
constexpr int fcf::devmgr::common::SUBSTATE_ERROR = 199
 
constexpr auto fcf::devmgr::common::SUBSTATE_NOTREADY_STR = "NotReady"
 
constexpr auto fcf::devmgr::common::SUBSTATE_INITIALISING_STR = "Initialising"
 
constexpr auto fcf::devmgr::common::SUBSTATE_READY_STR = "Ready"
 
constexpr auto fcf::devmgr::common::SUBSTATE_ERROR_STR = "Error"
 
constexpr int fcf::devmgr::common::SUBSTATE_OP_DISABLING = 205
 
constexpr int fcf::devmgr::common::SUBSTATE_OP_ERROR = 299
 
constexpr auto fcf::devmgr::common::SUBSTATE_OP_DISABLING_STR = "Disabling"
 
constexpr auto fcf::devmgr::common::SUBSTATE_OP_ERROR_STR = "OpError"
 
constexpr auto fcf::devmgr::common::FITS_PARAM_ID = "ID"
 
constexpr auto fcf::devmgr::common::FITS_PARAM_NAME = "NAME"
 
constexpr auto fcf::devmgr::common::FITS_PARAM_STAT = "STAT"
 
constexpr auto fcf::devmgr::common::FITS_PARAM_DEVSIM = "DEVSIM"
 
constexpr auto fcf::devmgr::common::FITS_PARAM_DEVIGN = "DEVIGN"
 

Detailed Description

DeviceConfig class header file.