Helper class for building and registering new cooperation.
More...
#include <environment.hpp>
Helper class for building and registering new cooperation.
- Since
- v.5.5.5
◆ 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, |
|
|
const std::string & |
parent_coop_name |
|
) |
| |
|
inline |
Constructor for the case of creation of child cooperation.
◆ build_and_register_coop()
template<typename Coop_Name , typename Lambda >
| void so_5::details::introduce_coop_helper_t::build_and_register_coop |
( |
Coop_Name && |
name, |
|
|
disp_binder_unique_ptr_t |
binder, |
|
|
Lambda && |
lambda |
|
) |
| |
|
inlineprivate |
◆ introduce() [1/6]
template<typename L >
| void so_5::details::introduce_coop_helper_t::introduce |
( |
L && |
lambda | ) |
|
|
inline |
For the case:
- name autogenerated;
- default dispatcher is used.
◆ introduce() [2/6]
For the case:
- name autogenerated;
- default dispatcher is used.
◆ introduce() [3/6]
For the case:
- name autogenerated;
- dispatcher builder is specified.
◆ introduce() [4/6]
For the case:
- name autogenerated;
- dispatcher builder is specified.
◆ introduce() [5/6]
template<typename L >
| void so_5::details::introduce_coop_helper_t::introduce |
( |
const std::string & |
name, |
|
|
L && |
lambda |
|
) |
| |
|
inline |
For the case:
- name explicitely specified;
- default dispatcher is used.
◆ introduce() [6/6]
template<typename L >
| void so_5::details::introduce_coop_helper_t::introduce |
( |
const std::string & |
name, |
|
|
disp_binder_unique_ptr_t |
binder, |
|
|
L && |
lambda |
|
) |
| |
|
inline |
For the case:
- name explicitely specified;
- dispatcher builder is specified.
◆ m_env
Environment for creation of cooperation.
◆ m_parent_coop_name
| const std::string* so_5::details::introduce_coop_helper_t::m_parent_coop_name |
|
private |
Optional name of parent cooperation.
Value nullptr means that there is no parent.
The documentation for this class was generated from the following file: