/* * supervisor.hpp * * Created on: Jan 6, 2024 * Author: Dario */ #ifndef STA_TASTY_TASKS_SUPERVISOR_HPP #define STA_TASTY_TASKS_SUPERVISOR_HPP #include #include #include namespace sta { namespace tasty { typedef std::function TastyCheck; class Supervisor : public tacos::TacosThread { public: Supervisor(std::list checks); void func() override; private: std::list checks_; }; } // namespace tasty } // namespace sta #endif // STA_TASTY_TASKS_SUPERVISOR_HPP