SObjectizer-5 Extra
|
Namespaces | |
details | |
errors | |
Classes | |
class | layer_t |
An interface of shutdowner layer. More... | |
struct | shutdown_initiated_t |
A message to be used to inform about start of shutdown operation. More... | |
Functions | |
template<typename Lock_Type = std::mutex> | |
std::unique_ptr< ::so_5::extra::shutdowner::layer_t > | make_layer (std::chrono::steady_clock::duration shutdown_max_time) |
Main function to create an instance of shutdowner layer. More... | |
inline ::so_5::extra::shutdowner::layer_t & | layer (::so_5::environment_t &env) |
A helper function to receive a reference to shutdowner layer. More... | |
inline ::so_5::extra::shutdowner::layer_t& so_5::extra::shutdowner::layer | ( | ::so_5::environment_t & | env | ) |
A helper function to receive a reference to shutdowner layer.
Usage example:
Definition at line 891 of file shutdowner.hpp.
std::unique_ptr< ::so_5::extra::shutdowner::layer_t > so_5::extra::shutdowner::make_layer | ( | std::chrono::steady_clock::duration | shutdown_max_time | ) |
Main function to create an instance of shutdowner layer.
Usage example:
Lock_Type | type of lock to be used for thread safety. |
shutdown_max_time | A maximum time for timeout operation. |
Definition at line 851 of file shutdowner.hpp.