Go to the documentation of this file.
27 #ifndef GOBY_ACOMMS_BIND_H
28 #define GOBY_ACOMMS_BIND_H
30 #include <boost/bind/bind.hpp>
boost::signals2::signal< void(const protobuf::ModemTransmission &m)> signal_initiate_transmission
Signals when it is time for this platform to begin transmission of an acoustic message at the start o...
The global namespace for the Goby project.
void unbind(ModemDriverBase &driver, QueueManager &queue_manager)
unbinds the driver link-layer callbacks to the QueueManager
void handle_out(protobuf::QueuedMessageMeta *meta, const google::protobuf::Message &data_msg, int modem_id)
boost::signals2::signal< void(protobuf::ModemTransmission *msg)> signal_data_request
Called when the modem or modem driver needs data to send. The returned data should be stored in Modem...
void add_subnet_queue(QueueManager *manager)
void handle_modem_receive(const protobuf::ModemTransmission &message)
Receive incoming data from the modem.
provides an API to the goby-acomms MAC library. MACManager is essentially a std::list<protobuf::Modem...
boost::signals2::signal< void(const protobuf::ModemTransmission &message)> signal_receive
Called when a binary data transmission is received from the modem.
void handle_modem_data_request(protobuf::ModemTransmission *msg)
Finds data to send to the modem.
void connect(Signal *signal, Slot slot)
connect a signal to a slot (e.g. function pointer)
provides an API to the goby-acomms Queuing Library.
void bind(ModemDriverBase &driver, QueueManager &queue_manager)
binds the driver link-layer callbacks to the QueueManager
void handle_in(const protobuf::QueuedMessageMeta &meta, const google::protobuf::Message &data_msg, int modem_id)
provides an abstract base class for acoustic modem drivers. This is subclassed by the various drivers...
virtual void handle_initiate_transmission(const protobuf::ModemTransmission &m)=0
Virtual initiate_transmission method. Typically connected to MACManager::signal_initiate_transmission...
void disconnect(Signal *signal, Slot slot)
disconnect a signal to a slot (e.g. function pointer)