SObjectizer  5.8
Loading...
Searching...
No Matches
so_5::multi_sink_binding_impl Namespace Reference

Classes

class  actual_binding_handler_t
 Class that actually holds multiple sinks bindings. More...
 
class  insertion_it_with_auto_erase_if_not_committed_t
 Helper type for insertion into a std::map with automatic rollback. More...
 

Typedefs

using one_sink_bindings_t = std::map< std::type_index, single_sink_binding_t >
 Type of container for bindings for messages.
 
using one_mbox_bindings_t
 Type of container for bindings for one msink.
 
using bindings_map_t = std::map< mbox_id_t, one_mbox_bindings_t >
 Type of container for bindings for messages from mboxes.
 

Functions

template<typename C , typename K >
 insertion_it_with_auto_erase_if_not_committed_t (C &, const K &) -> insertion_it_with_auto_erase_if_not_committed_t< C >
 

Typedef Documentation

◆ bindings_map_t

Type of container for bindings for messages from mboxes.

Several msinks can be bound to one mbox.

Since
v.5.8.0

Definition at line 59 of file multi_sink_binding.hpp.

◆ one_mbox_bindings_t

Initial value:
std::map<
std::map< std::type_index, single_sink_binding_t > one_sink_bindings_t
Type of container for bindings for messages.
intrusive_ptr_t< abstract_sink_owner_t > msink_t
Smart reference for abstract_sink_owner.
Helper class to be used as a comparator for msinks.

Type of container for bindings for one msink.

There could be bindings for several message types for the same msink.

Since
v.5.8.0

Definition at line 47 of file multi_sink_binding.hpp.

◆ one_sink_bindings_t

Type of container for bindings for messages.

There could be just one binding for one message type.

Since
v.5.8.0

Definition at line 38 of file multi_sink_binding.hpp.

Function Documentation

◆ insertion_it_with_auto_erase_if_not_committed_t()

template<typename C , typename K >
so_5::multi_sink_binding_impl::insertion_it_with_auto_erase_if_not_committed_t ( C & ,
const K &  ) -> insertion_it_with_auto_erase_if_not_committed_t< C >