SObjectizer-5 Extra
Public Types | List of all members
so_5::extra::mboxes::collecting_mbox::details::config_type< Collecting_Msg, Traits, Lock_Type > Struct Template Reference

A helper type which is a collection of type parameters. More...

#include <collecting_mbox.hpp>

Public Types

using collecting_msg_type = Collecting_Msg
 
using traits_type = Traits
 
using lock_type = Lock_Type
 

Detailed Description

template<typename Collecting_Msg, typename Traits, typename Lock_Type>
struct so_5::extra::mboxes::collecting_mbox::details::config_type< Collecting_Msg, Traits, Lock_Type >

A helper type which is a collection of type parameters.

This type is used to simplify code of collecting_mbox internals. Instead of writting something like:

template< typename Collecting_Msg, typename Traits >
class ... {...};
template< typename Collecting_Msg, typename Traits, typename Lock_Type >
class ... {...};

this config_type allows to write like that:

template< typename Config_Type >
class ... {...};
template< typename Config_Type >
class ... {...};
Template Parameters
Collecting_Msgtype of collecting messages or signals. Note: if mutable messages is collecting then it should be so_5::mutable_msg<M>.
Traitstype of size-dependent traits (like so_5::extra::mboxes::collecting_mbox::constexpr_size_traits_t or so_5::extra::mboxes::collecting_mbox::runtime_size_traits_t).
Lock_Typetype of object to be used for thread-safety (like std::mutex or so_5::null_mutex_t).

Definition at line 102 of file collecting_mbox.hpp.

Member Typedef Documentation

◆ collecting_msg_type

template<typename Collecting_Msg , typename Traits , typename Lock_Type >
using so_5::extra::mboxes::collecting_mbox::details::config_type< Collecting_Msg, Traits, Lock_Type >::collecting_msg_type = Collecting_Msg

Definition at line 104 of file collecting_mbox.hpp.

◆ lock_type

template<typename Collecting_Msg , typename Traits , typename Lock_Type >
using so_5::extra::mboxes::collecting_mbox::details::config_type< Collecting_Msg, Traits, Lock_Type >::lock_type = Lock_Type

Definition at line 106 of file collecting_mbox.hpp.

◆ traits_type

template<typename Collecting_Msg , typename Traits , typename Lock_Type >
using so_5::extra::mboxes::collecting_mbox::details::config_type< Collecting_Msg, Traits, Lock_Type >::traits_type = Traits

Definition at line 105 of file collecting_mbox.hpp.


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