/* * Copyright (c) 2024 Markus Lehr. * * * SPDX-License-Identifier: Owend property of Markus Lehr * */ #ifndef RTS_INCLUDE_RTSMONFRAME_H_ #define RTS_INCLUDE_RTSMONFRAME_H_ #include #include #include using json = nlohmann::json; class RTSMonFrame { private: /* data */ int id; std::string name; int samplerate; int sampleperiod; int downtime; std::list> mSenorDesriptions; std::string path; public: RTSMonFrame(int id, std::string name, int samplerate, int sampleperiod, int downtime, const std::list>& sensDesc, std::string path); ~RTSMonFrame(); int GetId(); void SetName(const std::string& name); const std::string& GetName(); void SetSampleRate(int samplerate); int GetSampleRate(); void SetSamplePeriod(int sampleperiod); int GetSamplePeriod(); void SetDownTime(int downtime); int GetDownTime(); bool generate(u_int32_t* values); }; #endif /* RTS_INCLUDE_RTSMONFRAME_H_ */