Update keyword’s value on primary or backup path

This commit adds the stub API in BackupAndRestore, to update keyword’s
value on backup or primary path. The stub API is triggered when
vpd-manager’s interface method UpdateKeyword/WriteKeyword is triggered.

This commit also implements using shared pointer to hold the
BackupAndRestore object in manager, and changes are made to use same in
the manager.

Change-Id: I078d28d1bb3e2cc13ae38a75543c3208ffb5cf3f
Signed-off-by: Anupama B R <anupama.b.r1@ibm.com>
diff --git a/vpd-manager/include/manager.hpp b/vpd-manager/include/manager.hpp
index ad67694..94c5693 100644
--- a/vpd-manager/include/manager.hpp
+++ b/vpd-manager/include/manager.hpp
@@ -1,5 +1,6 @@
 #pragma once
 
+#include "backup_restore.hpp"
 #include "constants.hpp"
 #include "gpio_monitor.hpp"
 #include "types.hpp"
@@ -321,6 +322,9 @@
 
     // Variable to hold current collection status
     std::string m_vpdCollectionStatus = "NotStarted";
+
+    // Shared pointer to backup and restore class
+    std::shared_ptr<BackupAndRestore> m_backupAndRestoreObj;
 };
 
 } // namespace vpd