X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fxapp-utils%2Fxapp_sdl.hpp;h=470bb8d00f2ffa2c8a9f7f96fedc3926f4a5122e;hb=b85024cd183a527cd8d61353637850cb6d30cf36;hp=647235276f39d1952ee88f7ff4d717f23c90d928;hpb=6df19a4dacb4fcb6edb35a32af9c8f5c07c95e37;p=ric-app%2Fhw.git diff --git a/src/xapp-utils/xapp_sdl.hpp b/src/xapp-utils/xapp_sdl.hpp index 6472352..470bb8d 100644 --- a/src/xapp-utils/xapp_sdl.hpp +++ b/src/xapp-utils/xapp_sdl.hpp @@ -35,7 +35,7 @@ #include #include #include - +#include using namespace std; using Namespace = std::string; @@ -46,16 +46,12 @@ using Keys = std::set; class XappSDL{ private: - std::unique_ptr sdl; - Namespace ns; -public: + std::string sdl_namespace; - XappSDL(std::string s) { - Namespace temp(s); - ns = temp; - sdl = (shareddatalayer::SyncStorage::create()); - }; - void insert_data(); +public: + XappSDL(std::string ns) { sdl_namespace=ns; } + void get_data(shareddatalayer::SyncStorage *); + bool set_data(shareddatalayer::SyncStorage *); }; #endif /* SRC_XAPP_UTILS_XAPP_SDL_HPP_ */