28 #include <boost/bind.hpp> 30 #include "goby/acomms/amac.h" 31 #include "goby/acomms/connect.h" 32 #include "goby/acomms/dccl.h" 33 #include "goby/acomms/modem_driver.h" 34 #include "goby/acomms/queue.h" 35 #include "goby/acomms/route.h" 36 #include "goby/common/logger.h" 62 route_manager.add_subnet_queue(&queue_manager);
65 &RouteManager::handle_out);
95 route_manager.add_subnet_queue(&queue_manager);
97 &RouteManager::handle_in);
99 &RouteManager::handle_out);
provides an API to the goby-acomms Queuing Library.
void handle_modem_data_request(protobuf::ModemTransmission *msg)
Finds data to send to the modem.
boost::signals2::signal< void(const protobuf::QueuedMessageMeta &meta, const google::protobuf::Message &data_msg, int modem_id)> signal_in_route
Used by a router to intercept messages and requeue them if desired.
void handle_modem_receive(const protobuf::ModemTransmission &message)
Receive incoming data from the modem.
boost::signals2::signal< void(const protobuf::ModemTransmission &message)> signal_receive
Called when a binary data transmission is received from the modem.
boost::signals2::signal< void(protobuf::QueuedMessageMeta *meta, const google::protobuf::Message &data_msg, int modem_id)> signal_out_route
Used by a router to change next-hop destination (in meta)
provides an API to the goby-acomms MAC library. MACManager is essentially a std::list<protobuf::Modem...
virtual void handle_initiate_transmission(const protobuf::ModemTransmission &m)=0
Virtual initiate_transmission method. Typically connected to MACManager::signal_initiate_transmission...
void connect(Signal *signal, Slot slot)
connect a signal to a slot (e.g. function pointer)
The global namespace for the Goby project.
provides an abstract base class for acoustic modem drivers. This is subclassed by the various drivers...
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 unbind(ModemDriverBase &driver, QueueManager &queue_manager)
unbinds the driver link-layer callbacks to the QueueManager
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...
void bind(ModemDriverBase &driver, QueueManager &queue_manager)
binds the driver link-layer callbacks to the QueueManager
void disconnect(Signal *signal, Slot slot)
disconnect a signal to a slot (e.g. function pointer)