openDAQ
Open data acquisition platform
IConfigProvider
+ Collaboration diagram for IConfigProvider:

Detailed Description

Modules

 Factories
 

Classes

struct  IConfigProvider
 Config provider is an interface that was made for populating an options dictionary of an instance builder from external sources like a config file, environment variables, or command line arguments. The process of population of the dictionary have to be alligned with rules: More...
 
struct  IInstance
 The top-level openDAQ object. It acts as container for the openDAQ context and the base module manager. More...
 
struct  IInstanceBuilder
 Builder component of Instance objects. Contains setter methods to configure the Instance parameters, such as Context (Logger, Scheduler, ModuleManager) and RootDevice. Contains a build method that builds the Instance object. More...
 
class  ConfigProviderPtr
 Config provider is an interface that was made for populating an options dictionary of an instance builder from external sources like a config file, environment variables, or command line arguments. The process of population of the dictionary have to be alligned with rules: More...
 
class  InstanceBuilderPtr
 Builder component of Instance objects. Contains setter methods to configure the Instance parameters, such as Context (Logger, Scheduler, ModuleManager) and RootDevice. Contains a build method that builds the Instance object. More...
 
class  InstancePtr
 The top-level openDAQ object. It acts as container for the openDAQ context and the base module manager. More...
 

Functions

ConfigProviderPtr populateOptions (const daq::DictPtr< daq::IString, daq::IBaseObject > &options) const
 Populate the existing options dictionary with variables from config provider. More...
 

Function Documentation

◆ populateOptions()

ConfigProviderPtr populateOptions ( const daq::DictPtr< daq::IString, daq::IBaseObject > &  options) const
inline

Populate the existing options dictionary with variables from config provider.

Parameters
optionsThe options dictionary