control: Create manager object for JSON configs
Begin to transition to separate JSON vs YAMl source objects by creating
a manager object that will contain all the cached data to be used across
all events & zones of a system. This will remove the issue in the YAML
based source where the zone objects contained the cache and essentially
restricted a system to having a single zone object.
Also, include parsing of any configured profiles of the system on the
manager object. These profiles will be used to determine which
configurations are to be used on a system given the active state of any
profiles configured.
Change-Id: I817210f8bb763f03b922651192231529bc48a306
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/manager.hpp b/control/manager.hpp
index a2e44f5..496b343 100644
--- a/control/manager.hpp
+++ b/control/manager.hpp
@@ -50,7 +50,7 @@
* setting fans to full, delaying so they
* can get there, and starting a target.
*/
- void doInit();
+ void doInit(const sdeventplus::Event& event);
private:
/**