eis/TestProject/RNG/Generator.h

26 lines
622 B
C
Raw Normal View History

#pragma once
#include <glob/BinaryTele.h>
#include <log4cplus/LOG.h>
#include <zlib/MemVar.h>
#include <zlib/zoneDef.h>
#include <array>
#include <chrono>
#include <numeric>
#include <string>
#include <zlib/MemFix.hpp>
#include <zlib/MemTable.hpp>
using namespace chrono;
class Generator {
public:
Generator();
~Generator();
bool wtite_in_shm(int event_no);
private:
std::unique_ptr<LOG> logger_;
BinaryTele binary_tele{CMemVar::Const()->event_eis_start, "T_LOV_FDAAITEM"};
// map<int, CMemTable<PLC_DATA>*> map_tables_;
map<int, CMemFix<PLC_DATA>*> m_mapfix;
chrono::system_clock::time_point stime;
};