card_message_handle.h 807 B

123456789101112131415161718192021222324252627282930
  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 message_tdoa_locinfo;
  9. struct message_pdoa_locinfo;
  10. struct task;
  11. template<typename NT> struct zloop;
  12. struct card_message_handle
  13. {
  14. card_location_base*m_card;
  15. std::array<one_ct_message_handle*,16> m_ct_list; // 用于tof,pdoa
  16. card_message_handle(card_location_base*card);
  17. ~card_message_handle();
  18. void on_message(zloop<task*>* loop,const message_locinfo& loc,bool is_history);
  19. void on_message(zloop<task*>* loop, const message_tdoa_locinfo& loc, bool is_history);
  20. void on_message(zloop<task*>* loop, const message_pdoa_locinfo& loc, bool is_history);
  21. };
  22. #endif