/* */ #include #include class RTSMonFrame { private: /* data */ std::string id; int samplerate; int sampleperiod; int downtime; std::list items; public: RTSMonFrame(std::string id, int samplerate, int sampleperiod, int downtime) { this->id = id; this->samplerate = samplerate; this->sampleperiod = sampleperiod; this->downtime = downtime; } RTSMonFrame(std::string id) { this->id = id; } RTSMonFrame(RTSMonFrame& rtsMonFrameCopy) { this->id = rtsMonFrameCopy.GetId(); } ~RTSMonFrame(); void Add(std::string item){ this->items.push_back(item); } std::string GetId() { return this->id; } int GetSampleRate() { return this->samplerate; } int GetSamplePeriod(){ return this->sampleperiod; } int GetDownTime(){ return this->downtime; } std::list& GetItems() { return this->items; } };