bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::distributed::InProcessBus Class Reference

Participants that are threads of one process, joined by queues. More...

#include <transport.h>

Inheritance diagram for bitsim::distributed::InProcessBus:
Collaboration diagram for bitsim::distributed::InProcessBus:

Classes

class  Endpoint

Public Member Functions

std::unique_ptr< Transport > connect ()
 A transport for a new participant.

Detailed Description

Participants that are threads of one process, joined by queues.

connect() gives every participant its own Transport; what one publishes is queued for each of the others that is connected at that time, so, like MQTT, a late participant misses what was sent before it connected. The bus must outlive its transports.

Member Function Documentation

◆ connect()

std::unique_ptr< Transport > bitsim::distributed::InProcessBus::connect ( )

A transport for a new participant.


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