2
3
5#include <so_5/so_layer.hpp>
7#include <so_5/exception.hpp>
30 if(
nullptr ==
m_env )
33 "so_environment isn't bound to this layer",
The base class for all SObjectizer exceptions.
exception_t(const std::string &error_descr, int error_code)
An interface of the additional SObjectizer Environment layer.
environment_t * m_env
SObjectizer Environment to which layer is bound.
virtual void start()
Start hook.
virtual void shutdown()
Shutdown signal hook.
virtual void wait()
Waiting for the complete shutdown of a layer.
environment_t & so_environment() const
Access to the SObjectizer Environment.
void bind_to_environment(environment_t *env)
Bind layer to the SObjectizer Environment.
Private part of message limit implementation.
const int rc_layer_not_binded_to_so_env
The layer is not bound to the SObjectizer Environment.