|
SObjectizer
5.5
|
Parameters for the SObjectizer Environment initialization. More...
#include <environment.hpp>
Private Member Functions | |
| void | add_layer (const std::type_index &type, layer_unique_ptr_t layer_ptr) |
| Add an additional layer. More... | |
Friends | |
| SO_5_FUNC void | swap (environment_params_t &a, environment_params_t &b) |
| Swap operation. More... | |
Parameters for the SObjectizer Environment initialization.
This class is used for setting SObjectizer Parameters.
| so_5::environment_params_t::environment_params_t | ( | ) |
Constructor.
Sets default values for parameters.
| so_5::environment_params_t::environment_params_t | ( | environment_params_t && | other | ) |
Move constructor.
| so_5::environment_params_t::~environment_params_t | ( | ) |
|
inline |
Add an additional layer to the SObjectizer Environment.
If this layer is already added it will be replaced by layer_ptr.
The method distinguishes layers from each other by the type SO_LAYER.
| layer_ptr | A layer to be added. |
|
private |
Add an additional layer.
If this layer is already added it will be replaced by layer_ptr.
The method distinguishes layers from each other by the type SO_LAYER.
| type | Type identification for layer. |
| layer_ptr | A layer to be added. |
|
inline |
| environment_params_t & so_5::environment_params_t::coop_listener | ( | coop_listener_unique_ptr_t | coop_listener | ) |
Set cooperation listener object.
|
inline |
Set parameters for the default dispatcher.
|
inline |
Get the parameters for the default dispatcher.
|
inline |
Do not shutdown SO Environment when it is becomes empty.
|
inline |
Set error logger for the environment.
| environment_params_t & so_5::environment_params_t::event_exception_logger | ( | event_exception_logger_unique_ptr_t | logger | ) |
Set exception logger object.
|
inline |
Set event_queue_hook object.
Since v.5.5.24 it is possible to use special event_queue_hook object. If it is used it should be set for SObjectizer Environment before the Environment will be started. This method allows to specify event_queue_hook object for a new Environment object.
Usage example:
|
inline |
Get exception reaction flag value.
|
inline |
Set exception reaction flag value.
|
inline |
Get the current environment infrastructure factory.
|
inline |
Set new environment infrastructure factory.
|
inline |
Set message delivery tracer for the environment.
Usage example:
|
inline |
Set message tracer filter for the environment.
| environment_params_t & so_5::environment_params_t::operator= | ( | environment_params_t && | other | ) |
Move operator.
|
inline |
Set manager for queue locks defaults.
|
inline |
Get error logger for the environment.
|
inline |
Get cooperation listener.
|
inline |
Get exception logger.
|
inline |
Take out event_queue_hook object.
|
inline |
Get message delivery tracer for the environment.
|
inline |
Get message delivery tracer filter for the environment.
|
inline |
Take out queue locks defaults manager.
|
inline |
Get the timer_thread factory.
|
inline |
Get map of default SObjectizer's layers.
| environment_params_t & so_5::environment_params_t::timer_thread | ( | so_5::timer_thread_factory_t | factory | ) |
Set the timer_thread factory.
If factory is a null then the default timer thread will be used.
| factory | timer_thread factory to be used. |
|
inline |
Helper for turning work thread activity tracking off.
|
inline |
Helper for turning work thread activity tracking on.
|
inline |
Set activity tracking flag for the whole SObjectizer Environment.
|
inline |
Get activity tracking flag for the whole SObjectizer Environment.
|
friend |
Swap operation.
|
private |
Is autoshutdown when there is no more cooperation disabled?
|
private |
Cooperation listener.
|
private |
Parameters for the default dispatcher.
|
private |
Error logger for the environment.
|
private |
Exception logger.
|
private |
An event_queue_hook object.
|
private |
Exception reaction flag for the whole SO Environment.
|
private |
A factory for environment infrastructure entity.
|
private |
Tracer for message delivery.
|
private |
Message delivery tracer filter to be used with environment.
|
private |
Manager for defaults of queue locks.
|
private |
Additional layers.
|
private |
Timer thread factory.
|
private |
Work thread activity tracking for the whole Environment.
1.8.14