45 ~TcpCmdInterface() =
default;
46 void run_cmd_server(
int tcp_port);
59 void set_pvt(std::shared_ptr<PvtInterface> PVT_sptr);
62 std::unordered_map<std::string, std::function<std::string(
const std::vector<std::string> &)>>
64 std::string status(
const std::vector<std::string> &commandLine);
65 std::string reset(
const std::vector<std::string> &commandLine);
66 std::string standby(
const std::vector<std::string> &commandLine);
67 std::string hotstart(
const std::vector<std::string> &commandLine);
68 std::string warmstart(
const std::vector<std::string> &commandLine);
69 std::string coldstart(
const std::vector<std::string> &commandLine);
70 std::string set_ch_satellite(
const std::vector<std::string> &commandLine);
72 void register_functions();
74 std::shared_ptr<Concurrent_Queue<pmt::pmt_t>> control_queue_;
75 std::shared_ptr<PvtInterface> PVT_sptr_;
81 time_t receiver_utc_time_;
std::array< float, 3 > get_LLH() const
gets the Latitude, Longitude and Altitude vector from the last TC command issued