SObjectizer-5 Extra
Classes | Typedefs | Functions
so_5::extra::sync::details Namespace Reference

Classes

class  basic_request_reply_part_t
 The basic part of implementation of request_reply type. More...
 
struct  ensure_no_mutability_modificators
 Helper class to ensure that immutable_msg/mutable_msg modificators are not used. More...
 
struct  ensure_no_mutability_modificators< immutable_msg< T > >
 
struct  ensure_no_mutability_modificators< mutable_msg< T > >
 
class  reply_target_holder_t
 A special holder for reply_target instance. More...
 
class  request_holder_part_t
 The type to be used as holder for request type instance. More...
 
class  request_holder_part_t< Base, false >
 A specialization for the case when request type is not a signal. More...
 
class  request_holder_part_t< Base, true >
 A specialization for the case when request type is a signal. More...
 

Typedefs

template<typename T >
using ensure_no_mutability_modificators_t = typename ensure_no_mutability_modificators< T >::type
 A short form of ensure_no_mutability_modificators metafunction. More...
 
using reply_target_t = std::variant< mchain_t, mbox_t >
 Type of storage for reply's target. More...
 

Functions

mbox_t query_actual_reply_target (const reply_target_t &rt) noexcept
 Helper function for extraction of actual reply target from reply_target instance. More...
 

Typedef Documentation

◆ ensure_no_mutability_modificators_t

A short form of ensure_no_mutability_modificators metafunction.

Definition at line 85 of file pub.hpp.

◆ reply_target_t

using so_5::extra::sync::details::reply_target_t = typedef std::variant< mchain_t, mbox_t >

Type of storage for reply's target.

A reply can be sent to a mchain or to a mbox. If a mchain is used as a target then it should be closed.

This type allow to distinguish between mchain and mbox cases.

Definition at line 98 of file pub.hpp.

Function Documentation

◆ query_actual_reply_target()

mbox_t so_5::extra::sync::details::query_actual_reply_target ( const reply_target_t rt)
inlinenoexcept

Helper function for extraction of actual reply target from reply_target instance.

Note
Reply target is returned as mbox_t.

Definition at line 159 of file pub.hpp.