hlit-mon
0.5.2
Main Page
Related Pages
Modules
Classes
Files
File List
All
Classes
Functions
Groups
Pages
Keeper.h
1
5
#ifndef Keeper_cpp
6
#define Keeper_cpp
7
8
#include <czmq.h>
9
#include <json/json.h>
10
#include <map>
11
#include <string>
12
13
using namespace
std;
14
21
class
Keeper
{
22
public
:
23
Keeper
();
24
virtual
~
Keeper
();
25
30
void
Insert_Message(pair<string, string> message);
31
36
void
Set_Time_Calc(
int
time);
37
42
bool
Time_Write();
43
48
map<pair<string, string>, map<string, double> > Get_Map();
49
53
void
Clear_Map();
54
55
private
:
59
Json::Value root;
60
64
Json::Reader reader;
65
69
map<pair<string, string>, map<string, double> > map_journal;
70
74
int64_t time;
75
79
int
time_calculate;
80
};
81
82
#endif
83
Keeper
This class accumulates data.
Definition:
Keeper.h:21
registrar
Keeper.h
Generated by
1.8.5