SObjectizer-5 Extra
Public Types | Public Member Functions | Private Attributes | List of all members
so_5::extra::mboxes::collecting_mbox::details::collected_signals_bunch_builder_t< Config_Type > Class Template Reference

A builder for case when collecting_mbox collects signals. More...

#include <collecting_mbox.hpp>

Public Types

using message_type = collected_signals_bunch_t< Config_Type >
 

Public Member Functions

void store (message_ref_t, std::size_t)
 
bool is_ready_to_be_sent (std::size_t messages_to_collect) const
 
std::unique_ptr< message_typeextract_message ()
 

Private Attributes

std::size_t m_collected_messages = 0
 Count of collected signals. More...
 

Detailed Description

template<typename Config_Type>
class so_5::extra::mboxes::collecting_mbox::details::collected_signals_bunch_builder_t< Config_Type >

A builder for case when collecting_mbox collects signals.

In this case only count of collected signals must be maintained.

A message to be sent can be created directly in extract_message().

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 445 of file collecting_mbox.hpp.

Member Typedef Documentation

◆ message_type

Definition at line 449 of file collecting_mbox.hpp.

Member Function Documentation

◆ extract_message()

template<typename Config_Type >
std::unique_ptr< message_type > so_5::extra::mboxes::collecting_mbox::details::collected_signals_bunch_builder_t< Config_Type >::extract_message ( )
inline

Definition at line 471 of file collecting_mbox.hpp.

◆ is_ready_to_be_sent()

template<typename Config_Type >
bool so_5::extra::mboxes::collecting_mbox::details::collected_signals_bunch_builder_t< Config_Type >::is_ready_to_be_sent ( std::size_t  messages_to_collect) const
inline

Definition at line 465 of file collecting_mbox.hpp.

◆ store()

template<typename Config_Type >
void so_5::extra::mboxes::collecting_mbox::details::collected_signals_bunch_builder_t< Config_Type >::store ( message_ref_t  ,
std::size_t   
)
inline

Definition at line 457 of file collecting_mbox.hpp.

Member Data Documentation

◆ m_collected_messages

template<typename Config_Type >
std::size_t so_5::extra::mboxes::collecting_mbox::details::collected_signals_bunch_builder_t< Config_Type >::m_collected_messages = 0
private

Count of collected signals.

Definition at line 453 of file collecting_mbox.hpp.


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