Entry: Setup constructor

Persist the log manager dbus bus and create a
vector of Entry instances to store the Entry
dbus objects as they get created.

Change-Id: I4add43c4ce6795b6ec6c041e41cd7455d34b3b6b
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/elog_entry.hpp b/elog_entry.hpp
index 6c0e52e..bd3915c 100644
--- a/elog_entry.hpp
+++ b/elog_entry.hpp
@@ -24,8 +24,7 @@
  *  @details A concrete implementation for the
  *  xyz.openbmc_project.Logging.Entry DBus API.
  */
-class Entry final :
-    public details::ServerObject<details::EntryIface>
+class Entry : public details::ServerObject<details::EntryIface>
 {
     public:
         Entry() = delete;
@@ -35,11 +34,12 @@
         Entry& operator=(Entry&&) = delete;
         virtual ~Entry() = default;
 
-        /** @brief Constructor for the Log Entry object
-         *  @param[in] bus - DBus bus to attach to.
-         *  @param[in] obj - Object path to attach to.
+        /** @brief Constructor to put object onto bus at a dbus path.
+         *  @param[in] bus - Bus to attach to.
+         *  @param[in] path - Path to attach at.
          */
-        Entry(sdbusplus::bus::bus& bus, const char* obj);
+        Entry(sdbusplus::bus::bus& bus, const char* path) :
+              details::ServerObject<details::EntryIface>(bus, path) {};
 };
 
 } // namespace logging