SObjectizer  5.5
Public Member Functions | Private Member Functions | Private Attributes | List of all members
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. More...
 
 introduce_coop_helper_t (environment_t &env, coop_handle_t parent)
 Constructor for the case of creation a cooperation with parent. More...
 
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. More...
 
coop_handle_t m_parent
 Optional parent coop. More...
 

Detailed Description

Helper class for building and registering new cooperation.

Since
v.5.5.5

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.

◆ 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.

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

◆ introduce() [1/2]

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

For the case:

  • default dispatcher is used.

◆ introduce() [2/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.

Member Data Documentation

◆ m_env

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

Environment for creation of cooperation.

◆ m_parent

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

Optional parent coop.


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