SObjectizer-5 Extra
Public Types | Static Public Attributes | List of all members
so_5::extra::mboxes::collecting_mbox::details::collected_bunch_type_selector< Config_Type > Struct Template Reference

A helper type for selection of actual message type and type of message builder. More...

#include <collecting_mbox.hpp>

Public Types

using message_type = typename std::conditional< is_signal, collected_signals_bunch_t< Config_Type >, collected_messages_bunch_t< Config_Type > > ::type
 
using builder_type = typename std::conditional< is_signal, collected_signals_bunch_builder_t< Config_Type >, collected_messages_bunch_builder_t< Config_Type > > ::type
 

Static Public Attributes

static constexpr bool is_signal
 

Detailed Description

template<typename Config_Type>
struct so_5::extra::mboxes::collecting_mbox::details::collected_bunch_type_selector< Config_Type >

A helper type for selection of actual message type and type of message builder.

It defines two typedefs:

Template Parameters
Config_Typea type with enumeration of all necessary type traits. It is expected to be config_type with appropriate type parameters.

Definition at line 498 of file collecting_mbox.hpp.

Member Typedef Documentation

◆ builder_type

template<typename Config_Type >
using so_5::extra::mboxes::collecting_mbox::details::collected_bunch_type_selector< Config_Type >::builder_type = typename std::conditional< is_signal, collected_signals_bunch_builder_t< Config_Type >, collected_messages_bunch_builder_t< Config_Type > > ::type

Definition at line 513 of file collecting_mbox.hpp.

◆ message_type

template<typename Config_Type >
using so_5::extra::mboxes::collecting_mbox::details::collected_bunch_type_selector< Config_Type >::message_type = typename std::conditional< is_signal, collected_signals_bunch_t< Config_Type >, collected_messages_bunch_t< Config_Type > > ::type

Definition at line 507 of file collecting_mbox.hpp.

Member Data Documentation

◆ is_signal

template<typename Config_Type >
constexpr bool so_5::extra::mboxes::collecting_mbox::details::collected_bunch_type_selector< Config_Type >::is_signal
static
Initial value:
=
::so_5::is_signal< collecting_msg_t<Config_Type> >::value

Definition at line 500 of file collecting_mbox.hpp.


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