Goby3
3.1.4
2024.02.22
|
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 301 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 306 of file interprocess.h.
|
inlinevirtual |
Definition at line 315 of file interprocess.h.
friend goby::middleware::InterProcessForwarder< InnerTransporter >::Base |
Definition at line 323 of file interprocess.h.