SObjectizer 5.8
Loading...
Searching...
No Matches
subscr_storage_flat_set_based.cpp File Reference

A flat-set based storage for agent's subscriptions information. More...

#include <so_5/impl/subscription_storage_iface.hpp>
#include <so_5/details/rollback_on_exception.hpp>
#include <algorithm>
#include <iterator>
#include <tuple>
#include <vector>

Go to the source code of this file.

Classes

class  so_5::impl::flat_set_based_subscr_storage::storage_t
 A flat-set based storage for agent's subscriptions information. More...
 
struct  so_5::impl::flat_set_based_subscr_storage::storage_t::is_same_mbox_msg_t
 A helper predicate for searching the same mbox and message type pairs. More...
 
struct  so_5::impl::flat_set_based_subscr_storage::storage_t::key_info_t
 Helper type for storing only key information about a subscription. More...
 
struct  so_5::impl::flat_set_based_subscr_storage::storage_t::key_info_comparator_t
 A helper predicate for searching specific subscription. More...
 

Namespaces

namespace  so_5
 Private part of message limit implementation.
 
namespace  so_5::impl
 Details of SObjectizer run-time implementations.
 
namespace  so_5::impl::flat_set_based_subscr_storage
 A flat-set storage for agent's subscriptions information.
 
namespace  so_5::impl::flat_set_based_subscr_storage::anonymous_namespace{subscr_storage_flat_set_based.cpp}
 

Functions

bool so_5::impl::flat_set_based_subscr_storage::anonymous_namespace{subscr_storage_flat_set_based.cpp}::is_equal (const subscription_storage_common::subscr_info_t &a, const subscription_storage_common::subscr_info_t &b) noexcept
 Helper to check if two objects are for the same subscription.
 
bool so_5::impl::flat_set_based_subscr_storage::anonymous_namespace{subscr_storage_flat_set_based.cpp}::is_equal (const subscription_storage_common::subscr_info_t &a, mbox_id_t mbox_id, const std::type_index &msg_type, const state_t *target_state) noexcept
 Helper to check if subscription information the same.
 
SO_5_FUNC subscription_storage_factory_t so_5::flat_set_based_subscription_storage_factory (std::size_t initial_capacity)
 Factory for subscription storage based on sorted std::vector.
 

Detailed Description

A flat-set based storage for agent's subscriptions information.

Since
v.5.8.2

Definition in file subscr_storage_flat_set_based.cpp.