SObjectizer-5 Extra
Classes | Namespaces | Typedefs | Functions
retained_msg.hpp File Reference

Implementation of mbox which holds last sent message. More...

#include <so_5/version.hpp>
#include <so_5_extra/error_ranges.hpp>
#include <so_5/impl/msg_tracing_helpers.hpp>
#include <so_5/impl/local_mbox_basic_subscription_info.hpp>
#include <so_5/details/sync_helpers.hpp>
#include <so_5/mbox.hpp>
#include <memory>

Go to the source code of this file.

Classes

struct  so_5::extra::mboxes::retained_msg::details::config_type< Traits, Lock_Type >
 A helper type which is a collection of type parameters. More...
 
struct  so_5::extra::mboxes::retained_msg::details::messages_table_item_t
 A type of item of message table for retained message mbox. More...
 
struct  so_5::extra::mboxes::retained_msg::details::messages_table_item_t::sink_ptr_comparator_t
 A special coparator for sinks with respect to sinks's priority. More...
 
struct  so_5::extra::mboxes::retained_msg::details::template_independent_mbox_data_t
 A mixin with actual data which is necessary for implementation of retained mbox. More...
 
class  so_5::extra::mboxes::retained_msg::details::actual_mbox_t< Config, Tracing_Base >
 An actual implementation of retained message mbox. More...
 
struct  so_5::extra::mboxes::retained_msg::default_traits_t
 Default traits for retained message mbox. More...
 

Namespaces

 so_5
 Ranges for error codes of each submodules.
 
 so_5::extra
 
 so_5::extra::mboxes
 
 so_5::extra::mboxes::retained_msg
 
 so_5::extra::mboxes::retained_msg::errors
 
 so_5::extra::mboxes::retained_msg::details
 

Typedefs

using so_5::extra::mboxes::retained_msg::details::subscriber_info_t = so_5::impl::local_mbox_details::subscription_info_without_sink_t
 An information block about one subscriber. More...
 
Type extractors for config_type
template<typename Config_Type >
using so_5::extra::mboxes::retained_msg::details::traits_t = typename Config_Type::traits_type
 
template<typename Config_Type >
using so_5::extra::mboxes::retained_msg::details::lock_t = typename Config_Type::lock_type
 

Functions

template<typename Traits = default_traits_t, typename Lock_Type = std::mutex>
mbox_t so_5::extra::mboxes::retained_msg::make_mbox (environment_t &env)
 Create an instance of retained message mbox. More...
 

Detailed Description

Implementation of mbox which holds last sent message.

Since
v.1.0.3

Definition in file retained_msg.hpp.