Goby3 3.5.1
2026.06.04
Loading...
Searching...
No Matches
goby::zeromq::Router Class Reference

#include <goby/zeromq/transport/interprocess.h>

Public Member Functions

 Router (zmq::context_t &context, const protobuf::InterProcessPortalConfig &cfg)
void run ()
unsigned last_port (zmq::socket_t &socket)
 Router (Router &)=delete
Routeroperator= (Router &)=delete

Public Attributes

std::atomic< unsigned > pub_port {0}
std::atomic< unsigned > sub_port {0}

Detailed Description

Definition at line 393 of file interprocess.h.

Constructor & Destructor Documentation

◆ Router() [1/2]

goby::zeromq::Router::Router ( zmq::context_t & context,
const protobuf::InterProcessPortalConfig & cfg )
inline

Definition at line 396 of file interprocess.h.

◆ Router() [2/2]

goby::zeromq::Router::Router ( Router & )
delete

Member Function Documentation

◆ last_port()

unsigned goby::zeromq::Router::last_port ( zmq::socket_t & socket)

◆ operator=()

Router & goby::zeromq::Router::operator= ( Router & )
delete

◆ run()

void goby::zeromq::Router::run ( )

Member Data Documentation

◆ pub_port

std::atomic<unsigned> goby::zeromq::Router::pub_port {0}

Definition at line 408 of file interprocess.h.

◆ sub_port

std::atomic<unsigned> goby::zeromq::Router::sub_port {0}

Definition at line 409 of file interprocess.h.


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