Goby3  3.0.1
2021.08.17
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 719 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 722 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 734 of file interprocess.h.

◆ sub_port

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

Definition at line 735 of file interprocess.h.


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