You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
479 B

2 years ago
  1. #pragma once
  2. #include <stdint.h>
  3. #include <functional>
  4. #include "errorcode.hpp"
  5. namespace iflytop {
  6. using namespace std;
  7. typedef enum {
  8. kreg_change_event = 1,
  9. } event_type_t;
  10. class ZIEventBusSender {
  11. public:
  12. virtual ~ZIEventBusSender() {}
  13. /**
  14. * @brief ģ״̬ı,״̬λͨѯָȷ
  15. *
  16. * @param moduleid
  17. */
  18. virtual void push_reg_state_change_event(int32_t moduleid, int32_t regindex, int32_t toval) = 0;
  19. };
  20. } // namespace iflytop