26 std::map<std::string, IAnalogDigitalConverterComponent*>&
myAdcsByType;
62 const nlohmann::json&
GetEntry()
const;
77 std::map<std::string, IAnalogDigitalConverterComponent*>&
GetAdcsByType();
Everything a component creator needs, bundled so every creator can share one signature and live in th...
Definition: ComponentCreationContext.h:19
std::map< std::string, IAnalogDigitalConverterComponent * > & GetAdcsByType()
Gets the map of ADC providers created so far, keyed by type name.
Definition: ComponentCreationContext.cpp:56
ComponentCreationContext(const nlohmann::json &entry, std::map< std::string, IAnalogDigitalConverterComponent * > &adcsByType, const RumPiConfig &config)
Binds the references the component creators read from.
Definition: ComponentCreationContext.cpp:21
const RumPiConfig & GetConfig() const
Gets the loaded library configuration, for components whose settings come from config.
Definition: ComponentCreationContext.cpp:73
const nlohmann::json & GetEntry() const
Gets the manifest entry describing the component to build.
Definition: ComponentCreationContext.cpp:38
const RumPiConfig & myConfig
The loaded library configuration, for components whose settings come from config (e....
Definition: ComponentCreationContext.h:29
std::map< std::string, IAnalogDigitalConverterComponent * > & myAdcsByType
ADC providers created earlier in the build pass, keyed by type name.
Definition: ComponentCreationContext.h:26
const nlohmann::json & myEntry
The manifest entry (a JSON object) describing the component to build - its "type" and its parameters.
Definition: ComponentCreationContext.h:22
Holds the library's runtime configuration, loaded from a JSON file.
Definition: RumPiConfig.h:17
RumPi is the library's top-level facade.
Definition: AlertManager.h:6