1
0

card_message_handle.h 633 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _card_message_handle_h_
  2. #define _card_message_handle_h_
  3. //一张卡一个ct的所有不同天线的信息
  4. #include <thread>
  5. struct card_location_base;
  6. struct one_ct_message_handle;
  7. struct message_locinfo;
  8. struct task;
  9. template<typename NT> struct zloop;
  10. struct card_message_handle
  11. {
  12. card_location_base*m_card;
  13. std::array<one_ct_message_handle*,16> m_ct_list;
  14. card_message_handle(card_location_base*card);
  15. ~card_message_handle();
  16. #ifndef _RELEASE_
  17. bool m_first_call=true;
  18. std::thread::id m_first_call_thread;
  19. #endif
  20. void on_message(zloop<task*> * loop,const message_locinfo&loc,bool is_history);
  21. };
  22. #endif