ifw-fcf
5.0.0-pre2
|
Public Types | |
enum | { CFG_VAL1_MAN = 0 , CFG_VAL1_OPT = 1 } |
Public Member Functions | |
MyDeviceConfig (const std::string &filename, const std::string &name) | |
void | GetConfig (protocol::base::VectorVariant ¶ms) |
MyDeviceConfig (const std::string filename, const std::string name) | |
void | ReadConfig () |
void | GetConfig (protocol::base::VectorVariant ¶ms) |
std::string | GetMapFile () |
![]() | |
DeviceConfig (const std::string &filename, const std::string &name) | |
DeviceConfig constructor. More... | |
DeviceConfig (const std::string &name) | |
DeviceConfig constructor. More... | |
virtual | ~DeviceConfig () |
DeviceConfig destructor. More... | |
bool | Init () |
Initialises a device. More... | |
void | InitFromString (std::string config) |
Init the internal configuration from a string. More... | |
void | InitFromFile (const std::string &filename) |
Init the internal configuration from a given file. More... | |
virtual void | GetConfig (protocol::base::VectorVariant ¶ms) const |
Obtain the list of configuration parameters. More... | |
std::string | GetIdentifier () const |
std::string | GetPrefix () const |
std::string | GetAddress () const |
std::string | GetSimAddress () const |
std::string | GetFitsPrefix () const |
Get Fits Prefix. More... | |
std::string | GetType () const |
int | GetNamespace () const |
std::string | GetAlias () const |
std::string | GetId () const |
std::string | GetOverview () const |
std::string | GetDescription () const |
std::string | GetName () const noexcept |
std::string | GetLogName () const noexcept |
std::string | GetNodeId (const std::string &attrib) const |
Get node id. More... | |
std::string | GetProcId (const std::string &attrib) const |
Get procedure id. More... | |
std::string | GetObjId () const |
Get object id. More... | |
virtual void | GetConfigList (utils::bat::DbVector &cfg_list, std::string prefix) const |
Get configuration list. More... | |
std::string | GetCfgFile () const |
GetCfgFile. More... | |
std::string | GetCfgAsString () const |
GetCfgAsString. More... | |
virtual void | SetSimulateFlag (const bool flag) |
Set simulation flag. More... | |
virtual void | SetIgnoreFlag (const bool flag) |
Set ignore flag. More... | |
virtual bool | GetIgnored () const |
Get ignored flag. More... | |
virtual bool | GetSimulated () const |
Get simulated flag. More... | |
virtual std::string | GetMapFile () const |
Get name of the device mapping file. More... | |
void | CheckConfig () const |
Validates the document configuration. More... | |
Additional Inherited Members | |
![]() | |
void | MergeConfig (const elt::configng::CiiConfigDocument &doc, bool check=true) |
Merges a configuration file. More... | |
bool | GetVariantValue (const elt::configng::CiiConfigInstanceNode node, protocol::base::Variant &value) const |
Obtain the variant value with the correct type. More... | |
![]() | |
std::string | m_filename |
filename of device configuration file More... | |
std::string | m_name |
device identifier More... | |
std::string | m_identifier |
Address space identifier. More... | |
std::string | m_type |
Device type. More... | |
std::string | m_fits_prefix |
bool | m_simulated |
bool | m_ignored |
std::string | m_lcs_prefix |
std::string | m_address |
std::string | m_sim_address |
std::string | m_map_file |
std::string | m_alias |
int | m_lcs_namespace |
std::unique_ptr< elt::configng::CiiConfigDocument > | m_config_doc |
Internal configuration document object. More... | |
|
inline |
|
inline |
|
inline |
|
inline |