#pragma once #include #include #include #include #include "HousekeepingSet.h" class HousekeepingHelper { friend class HousekeepingSet; public: HousekeepingHelper(GeneratesHousekeepingIF* owner); ~HousekeepingHelper() = default; const HousekeepingSet* getHousekeepingSet(HousekeepingSetId_t id); const std::map* getHousekeepingSets() const { return &housekeepingSets; } ReturnValue_t initialize(); protected: GeneratesHousekeepingIF* owner; TmManager* tmManager = nullptr; void registerSet(HousekeepingSet* set); ReturnValue_t reportHousekeeping(HousekeepingSet* set, const Action* action = nullptr); private: std::map housekeepingSets; };