Goby3  3.1.5a
2024.05.23
goby::middleware::InnerTransporterInterface< Transporter, InnerTransporter, Enable > Class Template Reference

Recursive inner layer transporter storage or generator. More...

#include <goby/middleware/transport/interface.h>

Public Types

using InnerTransporterType = InnerTransporter
 the InnerTransporter type (accessible for other uses) More...
 

Public Member Functions

InnerTransporter & inner ()
 
auto innermost ()
 

Detailed Description

template<typename Transporter, typename InnerTransporter, typename Enable = void>
class goby::middleware::InnerTransporterInterface< Transporter, InnerTransporter, Enable >

Recursive inner layer transporter storage or generator.

Can either be passed a reference to an inner transporter, in which case this reference is stored, or else the inner layer is instantiated and stored within this class.

Template Parameters
TransporterThis tranporter type
InnerTransporterThe inner transporter type
EnableSFINAE enable/disable type

Definition at line 57 of file interface.h.

Member Typedef Documentation

◆ InnerTransporterType

template<typename Transporter , typename InnerTransporter , typename Enable = void>
using goby::middleware::InnerTransporterInterface< Transporter, InnerTransporter, Enable >::InnerTransporterType = InnerTransporter

the InnerTransporter type (accessible for other uses)

Definition at line 61 of file interface.h.

Member Function Documentation

◆ inner()

template<typename Transporter , typename InnerTransporter , typename Enable = void>
InnerTransporter& goby::middleware::InnerTransporterInterface< Transporter, InnerTransporter, Enable >::inner ( )
inline
Returns
Reference to the inner transporter

Definition at line 63 of file interface.h.

◆ innermost()

template<typename Transporter , typename InnerTransporter , typename Enable = void>
auto goby::middleware::InnerTransporterInterface< Transporter, InnerTransporter, Enable >::innermost ( )
inline

Definition at line 67 of file interface.h.


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