|
Goby3 3.3.0
2025.07.10
|
#include <goby/middleware/transport/intervehicle/driver_thread.h>
Public Types | |
| using | buffer_data_type = goby::middleware::protobuf::SerializerTransporterMessage |
| using | modem_id_type = goby::acomms::DynamicBuffer< buffer_data_type >::modem_id_type |
| using | subbuffer_id_type = goby::acomms::DynamicBuffer< buffer_data_type >::subbuffer_id_type |
Public Types inherited from goby::middleware::Thread< intervehicle::protobuf::PortalConfig::LinkConfig, InterProcessForwarder< InterThreadTransporter > > | |
| using | Transporter = InterProcessForwarder< InterThreadTransporter > |
Public Member Functions | |
| ModemDriverThread (const intervehicle::protobuf::PortalConfig::LinkConfig &cfg) | |
| void | loop () override |
| int | tx_queue_size () |
Public Member Functions inherited from goby::middleware::Thread< intervehicle::protobuf::PortalConfig::LinkConfig, InterProcessForwarder< InterThreadTransporter > > | |
| Thread (const intervehicle::protobuf::PortalConfig::LinkConfig &cfg, InterProcessForwarder< InterThreadTransporter > *transporter, int index) | |
| Construct a thread with a given configuration, underlying transporter, and index (for multiple instantiations), but without any loop() frequency. | |
| Thread (const intervehicle::protobuf::PortalConfig::LinkConfig &cfg, InterProcessForwarder< InterThreadTransporter > *transporter, double loop_freq_hertz=0, int index=-1) | |
| Construct a thread with all possible metadata (using double to specify frequency in Hertz) | |
| Thread (const intervehicle::protobuf::PortalConfig::LinkConfig &cfg, InterProcessForwarder< InterThreadTransporter > *transporter, boost::units::quantity< boost::units::si::frequency > loop_freq, int index=-1) | |
| Construct a thread with all possible metadata (using boost::units to specify frequency) | |
| virtual | ~Thread () |
| void | run (std::atomic< bool > &alive) |
| Run the thread until the boolean reference passed is set false. This call blocks, and should be run in a std::thread by the caller. | |
| int | index () const |
| std::type_index | type_index () |
| void | set_type_index (std::type_index type_i) |
| std::string | name () |
| void | set_name (const std::string &name) |
| int | uid () |
| void | set_uid (int uid) |
Definition at line 130 of file driver_thread.h.
| using goby::middleware::intervehicle::ModemDriverThread::buffer_data_type = goby::middleware::protobuf::SerializerTransporterMessage |
Definition at line 135 of file driver_thread.h.
| using goby::middleware::intervehicle::ModemDriverThread::modem_id_type = goby::acomms::DynamicBuffer<buffer_data_type>::modem_id_type |
Definition at line 136 of file driver_thread.h.
| using goby::middleware::intervehicle::ModemDriverThread::subbuffer_id_type = goby::acomms::DynamicBuffer<buffer_data_type>::subbuffer_id_type |
Definition at line 137 of file driver_thread.h.
| goby::middleware::intervehicle::ModemDriverThread::ModemDriverThread | ( | const intervehicle::protobuf::PortalConfig::LinkConfig & | cfg | ) |
|
overridevirtual |
|
inline |
Definition at line 141 of file driver_thread.h.