1
0

tdoa_sync.h 389 B

12345678910111213141516171819
  1. #ifndef _TDOA_SYNC_HPP_
  2. #define _TDOA_SYNC_HPP_
  3. #include "message.h"
  4. struct tdoa_sync
  5. {
  6. //分站TDOA同步消息发送到此接口
  7. virtual void on_message(message_tdoasync&sync_msg) = 0;
  8. //将tdoa定位消息中的时间戳换算为同步链中最低级别的时间戳
  9. virtual void translate(message_tdoa_locinfo& tdoa_msg) = 0;
  10. //单例
  11. static tdoa_sync*instance();
  12. };
  13. #endif