An interface of the additional SObjectizer Environment layer.
More...
#include <so_layer.hpp>
|
| | layer_t ()=default |
| |
| virtual | ~layer_t () noexcept=default |
| |
| virtual void | start () |
| | Start hook.
|
| |
| virtual void | shutdown () |
| | Shutdown signal hook.
|
| |
| virtual void | wait () |
| | Waiting for the complete shutdown of a layer.
|
| |
An interface of the additional SObjectizer Environment layer.
- Examples
- so_5/named_dispatchers_layer/main.cpp.
Definition at line 30 of file so_layer.hpp.
◆ layer_t() [1/3]
| so_5::layer_t::layer_t |
( |
const layer_t & | | ) |
|
|
privatedelete |
◆ layer_t() [2/3]
| so_5::layer_t::layer_t |
( |
layer_t && | | ) |
|
|
privatedelete |
◆ layer_t() [3/3]
| so_5::layer_t::layer_t |
( |
| ) |
|
|
default |
◆ ~layer_t()
| virtual so_5::layer_t::~layer_t |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ bind_to_environment()
Bind layer to the SObjectizer Environment.
Definition at line 41 of file so_layer.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ shutdown()
| void so_5::layer_t::shutdown |
( |
| ) |
|
|
virtual |
Shutdown signal hook.
The default implementation do nothing.
Definition at line 18 of file so_layer.cpp.
◆ so_environment()
Access to the SObjectizer Environment.
Throws an exception if a layer is not bound to the SObjectizer Environment.
Definition at line 28 of file so_layer.cpp.
◆ start()
| void so_5::layer_t::start |
( |
| ) |
|
|
virtual |
Start hook.
The default implementation do nothing.
Definition at line 13 of file so_layer.cpp.
◆ wait()
| void so_5::layer_t::wait |
( |
| ) |
|
|
virtual |
Waiting for the complete shutdown of a layer.
The default implementation do nothing and returned immediately.
Definition at line 23 of file so_layer.cpp.
◆ impl::layer_core_t
◆ m_env
SObjectizer Environment to which layer is bound.
Pointer has the actual value only after binding to the SObjectizer Environment.
Definition at line 85 of file so_layer.hpp.
The documentation for this class was generated from the following files: