SObjectizer-5 Extra
so_5_extra
async_op
details.hpp
Go to the documentation of this file.
1
/*!
2
* \file
3
* \brief Various details for implementation of async operations.
4
*
5
* \since
6
* v.1.0.4
7
*/
8
9
#
pragma
once
10
11
#
include
<
so_5
/
rt
/
h
/
agent
.
hpp
>
12
#
include
<
so_5
/
rt
/
h
/
adhoc_agent_wrapper
.
hpp
>
13
14
namespace
so_5
{
15
16
namespace
extra
{
17
18
namespace
async_op
{
19
20
namespace
details
{
21
22
/*!
23
* \name Helper functions for translation various type of message targets to message boxes.
24
* \{
25
*/
26
27
inline
const
::
so_5
::
mbox_t
&
28
target_to_mbox
(
const
::
so_5
::
mbox_t
&
mbox
)
29
{
return
mbox; }
30
31
inline
const
::
so_5
::
mbox_t
&
32
target_to_mbox
(
const
::
so_5
::
agent_t
&
agent
)
33
{
return
agent.so_direct_mbox(); }
34
35
inline
const
::
so_5
::
mbox_t
&
36
target_to_mbox
(
const
::
so_5
::
adhoc_agent_definition_proxy_t
&
agent
)
37
{
return
agent.direct_mbox(); }
38
39
/*!
40
* \}
41
*/
42
43
}
/* namespace details */
44
45
}
/* namespace async_op */
46
47
}
/* namespace extra */
48
49
}
/* namespace so_5 */
so_5::extra::async_op::details
Definition:
details.hpp:20
so_5::extra::async_op::details::target_to_mbox
const ::so_5::mbox_t & target_to_mbox(const ::so_5::adhoc_agent_definition_proxy_t &agent)
Definition:
details.hpp:36
so_5
Ranges for error codes of each submodules.
Definition:
details.hpp:14
so_5::extra::async_op
Definition:
details.hpp:18
so_5::extra
Definition:
details.hpp:16
Generated by
1.8.14