23 #ifndef Modem20110225H 24 #define Modem20110225H 26 #include "goby/common/time.h" 28 #include "driver_base.h" 29 #include "goby/acomms/acomms_helpers.h" 30 #include "goby/acomms/protobuf/abc_driver.pb.h" 49 void parse_in(
const std::string& in, std::map<std::string, std::string>* out);
50 void signal_and_write(
const std::string& raw);
provides an API to the imaginary ABC modem (as an example how to write drivers)
void do_work()
Allows the modem driver to do its work.
The global namespace for the Goby project.
void handle_initiate_transmission(const protobuf::ModemTransmission &m)
Virtual initiate_transmission method. Typically connected to MACManager::signal_initiate_transmission...
provides an abstract base class for acoustic modem drivers. This is subclassed by the various drivers...
void startup(const protobuf::DriverConfig &cfg)
Starts the modem driver. Must be called before poll().
void shutdown()
Shuts down the modem driver.