ifw-ccf  1.0.0
Classes | Namespaces | Variables
configBase.hpp File Reference
#include <yaml-cpp/yaml.h>
#include <dit/did/Did.hpp>
#include <ccf/common/base.hpp>

Go to the source code of this file.

Classes

class  ccf::common::ConfigBase
 Config class for CCF applications. More...
 

Namespaces

 ccf
 
 ccf::common
 

Variables

const std::string ccf::common::CFG_DEF_LOGLEVEL = "INFO"
 Default logging level. More...
 
const std::string ccf::common::CFG_PRIM_DID = "dit/stddid/primary.did"
 Name of primary dictionary. More...
 
Configuration system parameters.
const std::string ccf::common::CFG_SYS_NAME = "sys.name"
 
const std::string ccf::common::CFG_SYS_DID = "sys.did%d"
 
const std::string ccf::common::CFG_SYS_REQ_ENDPOINT = "sys.req.endpoint"
 
const std::string ccf::common::CFG_SYS_DB_ENDPOINT = "sys.db.endpoint"
 
const std::string ccf::common::CFG_SYS_DB_TIMEOUT_SEC = "sys.db.timeout.sec"
 
const std::string ccf::common::CFG_SYS_DB_PREFIX = "sys.db.prefix"
 
const std::string ccf::common::CFG_SYS_SM_SCXML = "sys.sm.scxml"
 
const std::string ccf::common::CFG_SYS_LOG_LEVEL = "sys.log.level"
 
const std::string ccf::common::CFG_SYS_LOG_PROPERTIES = "sys.log.properties"
 
const std::string ccf::common::CFG_SYS_PUB_SUB_ENDPOINT = "sys.pub_sub.endpoint"
 
const std::string ccf::common::CFG_SYS_REQ_HIST_SIZE = "sys.req.hist.size"
 
const std::string ccf::common::CFG_SYS_REQ_HIST_EXP = "sys.req.hist.expiration"
 
const std::string ccf::common::CFG_SYS_SIMULATION = "sys.simulation"
 
Monitor Thread configuration.
const std::string ccf::common::CFG_MON_PERIOD = "mon.period"
 
const std::string ccf::common::CFG_MON_NB_OF_SAMPLES = "mon.nb_of_samples"
 
Configuration camera parameters.
const std::string ccf::common::CFG_CAM_NAME = "cam.name"
 
const std::string ccf::common::CFG_CAM_ID = "cam.id"
 
const std::string ccf::common::CFG_CAM_MODEL = "cam.model"
 
const std::string ccf::common::CFG_CAM_CHIP_MODEL = "cam.chip.model"
 
const std::string ccf::common::CFG_CAM_TYPE = "cam.type"
 
const std::string ccf::common::CFG_CAM_MANUFACTURER = "cam.manufacturer"
 
const std::string ccf::common::CFG_CAM_ADAPTER_PROTOCOL = "cam.adapter.protocol"
 
const std::string ccf::common::CFG_CAM_ADAPTER_MAPPING = "cam.adapter.mapping"
 
const std::string ccf::common::CFG_CAM_ADAPTER_API = "cam.adapter.api"
 
const std::string ccf::common::CFG_CAM_ADAPTER_ADDRESS = "cam.adapter.address"
 
const std::string ccf::common::CFG_CAM_ADAPTER_SIM_ADDRESS = "cam.adapter.sim_address"
 
const std::string ccf::common::CFG_CAM_ADAPTER_PROPERTY = "cam.adapter.property%d"
 
const std::string ccf::common::CFG_CAM_CHIP_WIDTH = "cam.chip.width"
 
const std::string ccf::common::CFG_CAM_CHIP_HEIGHT = "cam.chip.height"
 
const std::string ccf::common::CFG_CAM_CHIP_MAX_RES = "cam.chip.max_resolution"
 
const std::string ccf::common::CFG_CAM_CHIP_RESOLUTION = "cam.chip.resolution"
 

Cfg par to allow silent frame skipping, i.e. no error reported, but frames skipped registered in statistics.

const std::string ccf::common::CFG_ACQ_LOST_FRAMES = "acq.allow_lost_frames"
 
const std::string ccf::common::CFG_ACQ_FRAME_SKIPPING = "acq.allow_frame_skipping"
 
const std::string ccf::common::CFG_ACQ_PRIORITY = "acq.priority"
 
const std::string ccf::common::CFG_PROC_SKIP_FRAMES = "proc%d.allow_frame_skipping"
 Cfg par to allow silent frame skipping, i.e. no error reported, but frames skipped registered in statistics. More...
 
const std::string ccf::common::CFG_PROC_PRIORITY = "proc%d.priority"
 
const std::string ccf::common::CFG_PUB_PRIORITY = "proc%d.pub%d.priority"
 
ConfigBase & ccf::common::GetCfg ()
 Return reference to the singleton instance of the configuration. More...