SObjectizer-5 Extra
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 &
29  { return mbox; }
30 
31 inline const ::so_5::mbox_t &
33  { return agent.so_direct_mbox(); }
34 
35 inline const ::so_5::mbox_t &
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 */
const ::so_5::mbox_t & target_to_mbox(const ::so_5::adhoc_agent_definition_proxy_t &agent)
Definition: details.hpp:36
Ranges for error codes of each submodules.
Definition: details.hpp:14