#pragma once // image process interface classes // // created on 2022-12-14 // #include "../../common/referer.h" #include "../../common/packet.h" class event_handler; enum mon_obj { MON_OBJ_MEM = 0, MON_OBJ_CPU, MON_OBJ_DISK, }; class res_mon : public refer { event_handler* handler_; public: res_mon(event_handler*); protected: virtual ~res_mon(); public: int set_monitor_object(mon_obj obj, uint8_t consume_percent = 0/*0 is no monitor*/); int stop(void); };