24 #ifndef GOBY_MIDDLEWARE_FRONTSEAT_SIMULATOR_BASIC_BASIC_SIMULATOR_FRONTSEAT_DRIVER_H
25 #define GOBY_MIDDLEWARE_FRONTSEAT_SIMULATOR_BASIC_BASIC_SIMULATOR_FRONTSEAT_DRIVER_H
70 void send_command_to_frontseat(
const protobuf::CommandRequest& command)
override;
71 void send_data_to_frontseat(
const protobuf::InterfaceData& data)
override;
72 void send_raw_to_frontseat(
const protobuf::Raw& data)
override;
74 bool frontseat_providing_data()
const override;
77 void check_connection_state();
80 void process_receive(
const std::string& s);
81 void parse_in(
const std::string& in, std::map<std::string, std::string>* out);
83 void write(
const std::string& s);
86 const protobuf::BasicSimulatorFrontSeatConfig sim_config_;
89 bool frontseat_providing_data_;
93 protobuf::CommandRequest last_request_;
goby::middleware::frontseat::InterfaceBase * frontseat_driver_load(goby::middleware::frontseat::protobuf::Config *cfg)
BasicSimulatorFrontSeatInterface(const protobuf::Config &cfg)
const protobuf::Config & cfg() const
provides a basic TCP client for line by line text based communications to a remote TCP server
The global namespace for the Goby project.
std::chrono::time_point< SystemClock > time_point