SObjectizer  5.8
Loading...
Searching...
No Matches
so_5::impl::description_preparation_details Namespace Reference

Functions

void append_dummy_limit_for_state_timeout_msg (so_5::message_limit::description_container_t &original_descriptions)
 Check presence of limit for msg_state_timeout and add it if there is no such a limit.
 
std::tuple< so_5::message_limit::description_container_t, std::optional< so_5::message_limit::description_t > > prepare (so_5::message_limit::description_container_t original_descriptions)
 

Function Documentation

◆ append_dummy_limit_for_state_timeout_msg()

void so_5::impl::description_preparation_details::append_dummy_limit_for_state_timeout_msg ( so_5::message_limit::description_container_t & original_descriptions)
inline

Check presence of limit for msg_state_timeout and add it if there is no such a limit.

The addition of a pseudo-limit for so_5::details::msg_state_timeout is neccessary to avoid exceptions during an attempt to make a subscription for it when message limits are used.

Since
v.5.8.3

Definition at line 270 of file std_message_sinks.hpp.

◆ prepare()

std::tuple< so_5::message_limit::description_container_t, std::optional< so_5::message_limit::description_t > > so_5::impl::description_preparation_details::prepare ( so_5::message_limit::description_container_t original_descriptions)
inlinenodiscard

Returns sorted array as the first item of the result tuple.

If there is a description for any_unspecified_message type then this description is removed from original_descriptions and it is returned as the second item of the result tuple.

Throws if there is a duplicate in the original_descriptions.

Since
v.5.7.1

Definition at line 312 of file std_message_sinks.hpp.