#ifndef AREA_BUSINESS_FORBID_H #define AREA_BUSINESS_FORBID_H #include"area_business.h" class area_business_forbid : public area_business { public: area_business_forbid(); virtual int area_business_type() { return 7; } //记录进入时间等信息,生成告警 void on_enter(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr&ptr); void on_hover(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr ptr); //记录退出时间等信息 void on_leave(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr ptr); }; #endif // AREA_BUSINESS_FORBID_H