25#ifndef GOBY_UTIL_LINEBASEDCOMMS_THREAD_STUB
26#define GOBY_UTIL_LINEBASEDCOMMS_THREAD_STUB
35template <
typename Config>
41 : middleware::
Thread<Config, middleware::InterThreadTransporter>(
42 cfg, &interthread_, loop_freq_hertz *
boost::units::si::hertz,
index)
A transporter for the interthread layer.
Represents a thread of execution within the Goby middleware, interleaving periodic events (loop()) wi...
Thread(const Config &cfg, middleware::InterThreadTransporter *transporter, int index)
Construct a thread with a given configuration, underlying transporter, and index (for multiple instan...
const Config & cfg() const
LineBasedCommsThreadStub(const Config &cfg, double loop_freq_hertz, int index)
middleware::InterThreadTransporter & interthread()
~LineBasedCommsThreadStub()=default
The global namespace for the Goby project.