rad  3.0.0
Classes | Functions | Variables
hello Namespace Reference

Classes

class  ActionMgr
 
class  ActionsStd
 
class  Config
 
class  DataContext
 
class  DbInterface
 
class  MsgParsers
 
class  TopicParsers
 

Functions

log4cplus::Logger & GetLogger ()
 

Variables

const std::string CONFIG_DEFAULT_PROCNAME = "hello"
 
const std::string CONFIG_DEFAULT_FILENAME = ""
 no default value to force user to specify config filename since it overwrites the command line options. More...
 
const std::string CONFIG_DEFAULT_SCXML_FILENAME = "hello/sm.xml"
 
const std::string CONFIG_DEFAULT_LOG_LEVEL = "INFO"
 
const std::string CONFIG_DEFAULT_LOG_PROPERTIES = "hello/log.properties"
 
const std::string CONFIG_DEFAULT_DB_ENDPOINT = "127.0.0.1:6379"
 
const int CONFIG_DEFAULT_DB_TIMEOUT = 2
 
const std::string CONFIG_DEFAULT_REQ_ENDPOINT = "tcp://*:5577"
 
const std::string CONFIG_DEFAULT_SUB_ENDPOINT = "tcp://127.0.0.1::5560"
 
const std::string CONFIG_ENVVAR_DBHOST = "DB_HOST"
 
const std::string KEY_CONTROL_STATE = "ctr.state"
 
const std::string KEY_CONTROL_SUBSTATE = "ctr.substate"
 
const std::string KEY_CONTROL_STATUS = "ctr.status"
 
const std::string KEY_CONTROL_SIMULATION = "ctr.simulation"
 
const std::string KEY_CONFIG_REQ_ENDPOINT = "cfg.req.endpoint"
 
const std::string KEY_CONFIG_SUB_ENDPOINT = "cfg.sub.endpoint"
 
const std::string KEY_CONFIG_DB_ENDPOINT = "cfg.db.endpoint"
 
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 LOGGER_NAME = "hello"
 

Function Documentation

◆ GetLogger()

log4cplus::Logger & hello::GetLogger ( )

Variable Documentation

◆ CONFIG_DEFAULT_DB_ENDPOINT

const std::string hello::CONFIG_DEFAULT_DB_ENDPOINT = "127.0.0.1:6379"

◆ CONFIG_DEFAULT_DB_TIMEOUT

const int hello::CONFIG_DEFAULT_DB_TIMEOUT = 2

◆ CONFIG_DEFAULT_FILENAME

const std::string hello::CONFIG_DEFAULT_FILENAME = ""

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

◆ CONFIG_DEFAULT_LOG_LEVEL

const std::string hello::CONFIG_DEFAULT_LOG_LEVEL = "INFO"

◆ CONFIG_DEFAULT_LOG_PROPERTIES

const std::string hello::CONFIG_DEFAULT_LOG_PROPERTIES = "hello/log.properties"

◆ CONFIG_DEFAULT_PROCNAME

const std::string hello::CONFIG_DEFAULT_PROCNAME = "hello"

Default application configuration values.

◆ CONFIG_DEFAULT_REQ_ENDPOINT

const std::string hello::CONFIG_DEFAULT_REQ_ENDPOINT = "tcp://*:5577"

◆ CONFIG_DEFAULT_SCXML_FILENAME

const std::string hello::CONFIG_DEFAULT_SCXML_FILENAME = "hello/sm.xml"

◆ CONFIG_DEFAULT_SUB_ENDPOINT

const std::string hello::CONFIG_DEFAULT_SUB_ENDPOINT = "tcp://127.0.0.1::5560"

◆ CONFIG_ENVVAR_DBHOST

const std::string hello::CONFIG_ENVVAR_DBHOST = "DB_HOST"

Application configuration environment variables

◆ KEY_CONFIG_DB_ENDPOINT

const std::string hello::KEY_CONFIG_DB_ENDPOINT = "cfg.db.endpoint"

◆ KEY_CONFIG_DB_TIMEOUT_SEC

const std::string hello::KEY_CONFIG_DB_TIMEOUT_SEC = "cfg.db.timeout.sec"

◆ KEY_CONFIG_FILENAME

const std::string hello::KEY_CONFIG_FILENAME = "cfg.filename"

◆ KEY_CONFIG_LOG_LEVEL

const std::string hello::KEY_CONFIG_LOG_LEVEL = "cfg.log.level"

◆ KEY_CONFIG_LOG_PROPERTIES

const std::string hello::KEY_CONFIG_LOG_PROPERTIES = "cfg.log.properties"

◆ KEY_CONFIG_REQ_ENDPOINT

const std::string hello::KEY_CONFIG_REQ_ENDPOINT = "cfg.req.endpoint"

◆ KEY_CONFIG_SM_SCXML

const std::string hello::KEY_CONFIG_SM_SCXML = "cfg.sm.scxml"

◆ KEY_CONFIG_SUB_ENDPOINT

const std::string hello::KEY_CONFIG_SUB_ENDPOINT = "cfg.sub.endpoint"

◆ KEY_CONTROL_SIMULATION

const std::string hello::KEY_CONTROL_SIMULATION = "ctr.simulation"

◆ KEY_CONTROL_STATE

const std::string hello::KEY_CONTROL_STATE = "ctr.state"

◆ KEY_CONTROL_STATUS

const std::string hello::KEY_CONTROL_STATUS = "ctr.status"

◆ KEY_CONTROL_SUBSTATE

const std::string hello::KEY_CONTROL_SUBSTATE = "ctr.substate"

◆ LOGGER_NAME

const std::string hello::LOGGER_NAME = "hello"