PerformScan: Add updateSystemConfiguration() as a member function
Pull the guts out of the PerformProbe callback lambda and add it as a
member function on PerformScan.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I30b815f92b303d4cd81b0b6a417c1982c11f7b1d
diff --git a/include/EntityManager.hpp b/include/EntityManager.hpp
index 22a8042..781d3a1 100644
--- a/include/EntityManager.hpp
+++ b/include/EntityManager.hpp
@@ -70,6 +70,10 @@
std::list<nlohmann::json>& configurations,
sdbusplus::asio::object_server& objServer,
std::function<void()>&& callback);
+ void updateSystemConfiguration(const nlohmann::json& recordRef,
+ const std::string& probeName,
+ FoundDevices& foundDevices,
+ const MapperGetSubTreeResponse& dbusSubtree);
void run(void);
virtual ~PerformScan();
nlohmann::json& _systemConfiguration;