Go to the documentation of this file.
26 #ifndef GOBY_MIDDLEWARE_FRONTSEAT_INTERFACE_H
27 #define GOBY_MIDDLEWARE_FRONTSEAT_INTERFACE_H
32 #include <boost/signals2/signal.hpp>
33 #include <boost/smart_ptr/shared_ptr.hpp>
46 class FrontSeatLegacyTranslator;
94 virtual void loop() = 0;
113 void check_error_states();
114 void check_change_state();
122 DIRECTION_TO_FRONTSEAT,
123 DIRECTION_FROM_FRONTSEAT
136 std::unique_ptr<goby::util::UTMGeodesy> geodesy_;
139 std::string glog_out_group_, glog_in_group_;
virtual protobuf::FrontSeatState frontseat_state() const =0
virtual void send_command_to_frontseat(const protobuf::CommandRequest &command)=0
friend class goby::apps::moos::FrontSeatLegacyTranslator
void set_helm_state(::goby::middleware::frontseat::protobuf::HelmState value)
void set_frontseat_error(::goby::middleware::frontseat::protobuf::FrontSeatError value)
The global namespace for the Goby project.
void set_frontseat_state(::goby::middleware::frontseat::protobuf::FrontSeatState value)
void set_helm_error(::goby::middleware::frontseat::protobuf::HelmError value)
InterfaceBase(protobuf::Config cfg)
boost::signals2::signal< void(const protobuf::CommandResponse &data)> signal_command_response
virtual bool frontseat_providing_data() const =0
protobuf::HelmState helm_state() const
void compute_missing(protobuf::CTDSample *ctd_sample)
protobuf::InterfaceStatus status()
const protobuf::Config & cfg() const
virtual ~InterfaceBase()=default
void set_state(::goby::middleware::frontseat::protobuf::InterfaceState value)
void set_helm_state(protobuf::HelmState state)
protobuf::InterfaceState state() const
virtual void send_data_to_frontseat(const protobuf::InterfaceData &data)=0
virtual void send_raw_to_frontseat(const protobuf::Raw &data)=0
boost::signals2::signal< void(const protobuf::Raw &data)> signal_raw_from_frontseat
void update_utm_datum(goby::util::UTMGeodesy::LatLonPoint datum)
boost::units::quantity< MicroTimeUnit, std::int64_t > MicroTime
quantity of microseconds (using int64)
boost::signals2::signal< void(const protobuf::Raw &data)> signal_raw_to_frontseat
boost::signals2::signal< void(const protobuf::InterfaceData &data)> signal_data_from_frontseat