ISSUE ID:- (RICAPP-176).
[ric-app/bouncer.git] / Bouncer / src / xapp-utils / xapp_sdl.hpp
1 /*
2 ==================================================================================
3
4         Copyright (c) 2019-2020 AT&T Intellectual Property.
5
6    Licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8    You may obtain a copy of the License at
9
10        http://www.apache.org/licenses/LICENSE-2.0
11
12    Unless required by applicable law or agreed to in writing, software
13    distributed under the License is distributed on an "AS IS" BASIS,
14    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15    See the License for the specific language governing permissions and
16    limitations under the License.
17 ==================================================================================
18  */
19
20 /*
21  * xapp_sdl.hpp
22  *
23  *  Created on: Mar, 2020
24  *  Author: Shraboni Jana
25  */
26 #pragma once
27
28 #ifndef SRC_XAPP_UTILS_XAPP_SDL_HPP_
29 #define SRC_XAPP_UTILS_XAPP_SDL_HPP_
30
31 #include <iostream>
32 #include <string>
33 #include <memory>
34 #include <vector>
35 #include <map>
36 #include <set>
37 #include <sdl/syncstorage.hpp>
38 #include <mdclog/mdclog.h>
39
40 using namespace std;
41 using Namespace = std::string;
42 using Key = std::string;
43 using Data = std::vector<uint8_t>;
44 using DataMap = std::map<Key, Data>;
45 using Keys = std::set<Key>;
46
47 /*class XappSDL{
48 private:
49         std::string sdl_namespace;
50
51 public:
52         XappSDL(std::string ns) { sdl_namespace=ns; }
53         void get_data(shareddatalayer::SyncStorage *);
54         bool set_data(shareddatalayer::SyncStorage *);
55 };*/
56
57 #endif /* SRC_XAPP_UTILS_XAPP_SDL_HPP_ */