Goby3  3.1.5a
2024.05.23
goby::acomms::RouteManager Class Reference

#include <goby/acomms/route/route.h>

Public Member Functions

 RouteManager ()
 
 ~RouteManager ()=default
 
void set_cfg (const protobuf::RouteManagerConfig &cfg)
 
void merge_cfg (const protobuf::RouteManagerConfig &cfg)
 
void handle_in (const protobuf::QueuedMessageMeta &meta, const google::protobuf::Message &data_msg, int modem_id)
 
void handle_out (protobuf::QueuedMessageMeta *meta, const google::protobuf::Message &data_msg, int modem_id)
 
void add_subnet_queue (QueueManager *manager)
 
bool is_in_route (int modem_id)
 
int route_index (int modem_id)
 
int find_next_hop (int us, int dest)
 
int find_next_route_hop (int us, int dest)
 

Detailed Description

Definition at line 53 of file route.h.

Constructor & Destructor Documentation

◆ RouteManager()

goby::acomms::RouteManager::RouteManager ( )
inline

Definition at line 56 of file route.h.

◆ ~RouteManager()

goby::acomms::RouteManager::~RouteManager ( )
default

Member Function Documentation

◆ add_subnet_queue()

void goby::acomms::RouteManager::add_subnet_queue ( QueueManager manager)

◆ find_next_hop()

int goby::acomms::RouteManager::find_next_hop ( int  us,
int  dest 
)

◆ find_next_route_hop()

int goby::acomms::RouteManager::find_next_route_hop ( int  us,
int  dest 
)

◆ handle_in()

void goby::acomms::RouteManager::handle_in ( const protobuf::QueuedMessageMeta meta,
const google::protobuf::Message data_msg,
int  modem_id 
)

◆ handle_out()

void goby::acomms::RouteManager::handle_out ( protobuf::QueuedMessageMeta meta,
const google::protobuf::Message data_msg,
int  modem_id 
)

◆ is_in_route()

bool goby::acomms::RouteManager::is_in_route ( int  modem_id)
inline

Definition at line 70 of file route.h.

◆ merge_cfg()

void goby::acomms::RouteManager::merge_cfg ( const protobuf::RouteManagerConfig cfg)

◆ route_index()

int goby::acomms::RouteManager::route_index ( int  modem_id)

◆ set_cfg()

void goby::acomms::RouteManager::set_cfg ( const protobuf::RouteManagerConfig cfg)

The documentation for this class was generated from the following file: