SObjectizer 5.8
Loading...
Searching...
No Matches
so_5::details::introduce_coop_helper_t Class Reference

Helper class for building and registering new cooperation. More...

#include <environment.hpp>

Public Member Functions

 introduce_coop_helper_t (environment_t &env)
 Constructor for the case of creation a cooperation without parent.
 
 introduce_coop_helper_t (environment_t &env, coop_handle_t parent)
 Constructor for the case of creation a cooperation with parent.
 
template<typename L >
decltype(auto) introduce (L &&lambda)
 
template<typename L >
decltype(auto) introduce (disp_binder_shptr_t binder, L &&lambda)
 

Private Member Functions

template<typename Lambda >
decltype(auto) build_and_register_coop (disp_binder_shptr_t binder, Lambda &&lambda)
 

Private Attributes

environment_tm_env
 Environment for creation of cooperation.
 
coop_handle_t m_parent
 Optional parent coop.
 

Detailed Description

Helper class for building and registering new cooperation.

Since
v.5.5.5

Definition at line 2101 of file environment.hpp.

Constructor & Destructor Documentation

◆ introduce_coop_helper_t() [1/2]

so_5::details::introduce_coop_helper_t::introduce_coop_helper_t ( environment_t & env)
inline

Constructor for the case of creation a cooperation without parent.

Definition at line 2149 of file environment.hpp.

◆ introduce_coop_helper_t() [2/2]

so_5::details::introduce_coop_helper_t::introduce_coop_helper_t ( environment_t & env,
coop_handle_t parent )
inline

Constructor for the case of creation a cooperation with parent.

Definition at line 2153 of file environment.hpp.

Member Function Documentation

◆ build_and_register_coop()

template<typename Lambda >
decltype(auto) so_5::details::introduce_coop_helper_t::build_and_register_coop ( disp_binder_shptr_t binder,
Lambda && lambda )
inlineprivate

Definition at line 2111 of file environment.hpp.

◆ introduce() [1/2]

template<typename L >
decltype(auto) so_5::details::introduce_coop_helper_t::introduce ( disp_binder_shptr_t binder,
L && lambda )
inline

For the case:

  • dispatcher builder is specified.

Definition at line 2179 of file environment.hpp.

◆ introduce() [2/2]

template<typename L >
decltype(auto) so_5::details::introduce_coop_helper_t::introduce ( L && lambda)
inline

For the case:

  • default dispatcher is used.

Definition at line 2166 of file environment.hpp.

Member Data Documentation

◆ m_env

environment_t& so_5::details::introduce_coop_helper_t::m_env
private

Environment for creation of cooperation.

Definition at line 2105 of file environment.hpp.

◆ m_parent

coop_handle_t so_5::details::introduce_coop_helper_t::m_parent
private

Optional parent coop.

Definition at line 2107 of file environment.hpp.


The documentation for this class was generated from the following file: