area_business_forbid.h 914 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * @file
  3. * @brief
  4. * @version
  5. * @author
  6. * @date
  7. * @note
  8. * @warning
  9. * @bug
  10. * @copyright
  11. * */
  12. #ifndef AREA_BUSINESS_FORBID_H
  13. #define AREA_BUSINESS_FORBID_H
  14. #include"area_business.h"
  15. class area_business_forbid : public area_business
  16. {
  17. public:
  18. void on_load_his(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  19. //记录进入时间等信息,生成告警
  20. void on_enter(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  21. void on_hover(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  22. //记录退出时间等信息
  23. void on_leave(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  24. };
  25. #endif // AREA_BUSINESS_FORBID_H