SObjectizer
5.5
|
An interface of the additional SObjectizer Environment layer. More...
#include <so_layer.hpp>
Public Member Functions | |
layer_t ()=default | |
virtual | ~layer_t () SO_5_NOEXCEPT=default |
virtual void | start () |
Start hook. More... | |
virtual void | shutdown () |
Shutdown signal hook. More... | |
virtual void | wait () |
Waiting for the complete shutdown of a layer. More... | |
Protected Member Functions | |
environment_t & | so_environment () |
Access to the SObjectizer Environment. More... | |
Private Member Functions | |
layer_t (const layer_t &)=delete | |
layer_t (layer_t &&)=delete | |
layer_t & | operator= (const layer_t &)=delete |
layer_t & | operator= (layer_t &&)=delete |
void | bind_to_environment (environment_t *env) |
Bind layer to the SObjectizer Environment. More... | |
Private Attributes | |
environment_t * | m_env {} |
SObjectizer Environment to which layer is bound. More... | |
Friends | |
class | impl::layer_core_t |
An interface of the additional SObjectizer Environment layer.
|
privatedelete |
|
privatedelete |
|
default |
|
virtualdefault |
|
private |
Bind layer to the SObjectizer Environment.
|
virtual |
Shutdown signal hook.
The default implementation do nothing.
|
protected |
Access to the SObjectizer Environment.
Throws an exception if a layer is not bound to the SObjectizer Environment.
|
virtual |
Start hook.
The default implementation do nothing.
|
virtual |
Waiting for the complete shutdown of a layer.
The default implementation do nothing and returned immediately.
|
friend |
|
private |
SObjectizer Environment to which layer is bound.
Pointer has the actual value only after binding to the SObjectizer Environment.