Add getManagedObjects helper function

This will return all of the interfaces and
properties on an object.  It will be used on
startup of the application to check for existing
error logs.

Change-Id: I29f25da0fe69a3200a1f690397af13f8513c8844
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/dbus.hpp b/dbus.hpp
index 54dfd4a..468e327 100644
--- a/dbus.hpp
+++ b/dbus.hpp
@@ -20,6 +20,13 @@
 using DbusInterfaceMap = std::map<DbusInterface, DbusPropertyMap>;
 using DbusInterfaceList = std::vector<DbusInterface>;
 
+using ObjectValueTree =
+    std::map<sdbusplus::message::object_path, DbusInterfaceMap>;
+
+ObjectValueTree getManagedObjects(
+        sdbusplus::bus::bus& bus,
+        const std::string& service,
+        const std::string& objPath);
 }
 }