bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
distributed_independent_learners::InProcessBus::Endpoint Class Referencefinal
Inheritance diagram for distributed_independent_learners::InProcessBus::Endpoint:
Collaboration diagram for distributed_independent_learners::InProcessBus::Endpoint:

Public Member Functions

 Endpoint (InProcessBus &bus)
 ~Endpoint () override
void publish (const std::string &bytes) override
 Send bytes to every other participant.
std::optional< std::string > receive (std::chrono::milliseconds timeout) override
 The next message from another participant, waiting at most timeout.
void deliver (const std::string &bytes)
Public Member Functions inherited from bitsim::distributed::Transport
virtual ~Transport ()=default

Constructor & Destructor Documentation

◆ Endpoint()

◆ ~Endpoint()

Member Function Documentation

◆ deliver()

void bitsim::distributed::InProcessBus::Endpoint::deliver ( const std::string & bytes)
inline

◆ publish()

void bitsim::distributed::InProcessBus::Endpoint::publish ( const std::string & bytes)
inlineoverridevirtual

Send bytes to every other participant.

Implements bitsim::distributed::Transport.

◆ receive()

std::optional< std::string > bitsim::distributed::InProcessBus::Endpoint::receive ( std::chrono::milliseconds timeout)
inlineoverridevirtual

The next message from another participant, waiting at most timeout.

Implements bitsim::distributed::Transport.


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