Goby3
3.1.5a
2024.05.23
|
Implements the forwarder concept for the interprocess layer. More...
#include <goby/middleware/io/detail/io_interface.h>
Public Types | |
using | Base = InterProcessTransporterBase< InterProcessForwarder< InnerTransporter >, InnerTransporter > |
Public Member Functions | |
InterProcessForwarder (InnerTransporter &inner) | |
Construct a forwarder for the interprocess layer. More... | |
virtual | ~InterProcessForwarder () |
Public Attributes | |
friend | Base |
Implements the forwarder concept for the interprocess layer.
The forwarder is intended to be used by inner nodes within the layer that do not connect directly to other nodes on that layer. For example, the main thread might instantiate a portal and then spawn several threads that instantiate forwarders. These auxiliary threads can then communicate on the interprocess layer as if they had a direct connection to other interprocess nodes.
InnerTransporter | The type of the inner transporter used to forward data to and from this node |
Definition at line 56 of file io_interface.h.
using goby::middleware::InterProcessForwarder< InnerTransporter >::Base = InterProcessTransporterBase<InterProcessForwarder<InnerTransporter>, InnerTransporter> |
Definition at line 302 of file interprocess.h.
|
inline |
Construct a forwarder for the interprocess layer.
inner | A reference to the inner transporter used to forward messages to and from the portal |
Definition at line 307 of file interprocess.h.
|
inlinevirtual |
Definition at line 316 of file interprocess.h.
friend goby::middleware::InterProcessForwarder< InnerTransporter >::Base |
Definition at line 324 of file interprocess.h.