SObjectizer 5.8
Loading...
Searching...
No Matches
so_5::environment_t::internals_t Struct Reference

Internal details of SObjectizer Environment object. More...

Public Member Functions

 internals_t (environment_t &env, environment_params_t &&params)
 Constructor.
 

Public Attributes

error_logger_shptr_t m_error_logger
 Error logger object for this environment.
 
so_5::msg_tracing::impl::std_holder_t m_msg_tracing_stuff
 Holder of stuff related to message delivery tracing.
 
impl::mbox_core_ref_t m_mbox_core
 An utility for mboxes.
 
impl::stop_guard_repository_t m_stop_guards
 A repository of stop_guards.
 
environment_infrastructure_unique_ptr_t m_infrastructure
 A specific infrastructure for environment.
 
impl::layer_core_t m_layer_core
 An utility for layers.
 
const exception_reaction_t m_exception_reaction
 An exception reaction for the whole SO Environment.
 
const bool m_autoshutdown_disabled
 Is autoshutdown when there is no more cooperation disabled?
 
core_data_sources_t m_core_data_sources
 Data sources for core objects.
 
work_thread_activity_tracking_t m_work_thread_activity_tracking
 Work thread activity tracking for the whole Environment.
 
queue_locks_defaults_manager_unique_ptr_t m_queue_locks_defaults_manager
 Manager for defaults of queue locks.
 
event_queue_hook_unique_ptr_t m_event_queue_hook
 Actual event_queue_hook.
 
so_5::disp::abstract_work_thread_factory_shptr_t m_work_thread_factory
 Actual global work thread factory.
 
std::mutex m_event_exception_logger_lock
 Lock object for protection of exception logger object.
 
event_exception_logger_unique_ptr_t m_event_exception_logger
 Logger for exceptions thrown from event-handlers.
 
subscription_storage_factory_t m_default_subscription_storage_factory
 Factory to be used as default subscription storage factory.
 

Detailed Description

Internal details of SObjectizer Environment object.

Since
v.5.5.0

Definition at line 315 of file environment.cpp.

Constructor & Destructor Documentation

◆ internals_t()

so_5::environment_t::internals_t::internals_t ( environment_t & env,
environment_params_t && params )
inline

Constructor.

Definition at line 457 of file environment.cpp.

Member Data Documentation

◆ m_autoshutdown_disabled

const bool so_5::environment_t::internals_t::m_autoshutdown_disabled

Is autoshutdown when there is no more cooperation disabled?

See also
environment_params_t::disable_autoshutdown()
Since
v.5.4.0

Definition at line 375 of file environment.cpp.

◆ m_core_data_sources

core_data_sources_t so_5::environment_t::internals_t::m_core_data_sources

Data sources for core objects.

Attention
This instance must be created after stats_controller and destroyed before it. Because of that m_core_data_sources declared after m_stats_controller and after all corresponding objects. NOTE: since v.5.5.19 stats_controller and stats_repository are parts of environment_infrastructure. Because of that m_core_data_sources declared and created after m_infrastructure.
Since
v.5.5.4

Definition at line 389 of file environment.cpp.

◆ m_default_subscription_storage_factory

subscription_storage_factory_t so_5::environment_t::internals_t::m_default_subscription_storage_factory

Factory to be used as default subscription storage factory.

Note
It can't be null. This has to be checked in the constructor.
Since
v.5.8.2

Definition at line 454 of file environment.cpp.

◆ m_error_logger

error_logger_shptr_t so_5::environment_t::internals_t::m_error_logger

Error logger object for this environment.

Attention
Must be the first attribute of the object! It must be created and initilized first and destroyed last.
Since
v.5.5.0

Definition at line 325 of file environment.cpp.

◆ m_event_exception_logger

event_exception_logger_unique_ptr_t so_5::environment_t::internals_t::m_event_exception_logger

Logger for exceptions thrown from event-handlers.

Since
v.5.6.0

Definition at line 444 of file environment.cpp.

◆ m_event_exception_logger_lock

std::mutex so_5::environment_t::internals_t::m_event_exception_logger_lock

Lock object for protection of exception logger object.

Note
Manipulations with m_event_exception_logger are performed only under that lock.
Since
v.5.6.0

Definition at line 437 of file environment.cpp.

◆ m_event_queue_hook

event_queue_hook_unique_ptr_t so_5::environment_t::internals_t::m_event_queue_hook

Actual event_queue_hook.

Note
If there is no event_queue_hook in environment_params_t then an instance of default_event_queue_hook_t will be created and used.
Since
v.5.5.24

Definition at line 414 of file environment.cpp.

◆ m_exception_reaction

const exception_reaction_t so_5::environment_t::internals_t::m_exception_reaction

An exception reaction for the whole SO Environment.

Since
v.5.3.0

Definition at line 366 of file environment.cpp.

◆ m_infrastructure

environment_infrastructure_unique_ptr_t so_5::environment_t::internals_t::m_infrastructure

A specific infrastructure for environment.

Note: infrastructure takes care about coop repository, timer threads/managers and default dispatcher.

Since
v.5.5.19

Definition at line 356 of file environment.cpp.

◆ m_layer_core

impl::layer_core_t so_5::environment_t::internals_t::m_layer_core

An utility for layers.

Definition at line 359 of file environment.cpp.

◆ m_mbox_core

impl::mbox_core_ref_t so_5::environment_t::internals_t::m_mbox_core

An utility for mboxes.

Definition at line 339 of file environment.cpp.

◆ m_msg_tracing_stuff

so_5::msg_tracing::impl::std_holder_t so_5::environment_t::internals_t::m_msg_tracing_stuff

Holder of stuff related to message delivery tracing.

Attention
This field must be declared and initialized before m_mbox_core because a reference to that object will be passed to the constructor of m_mbox_core.
Since
v.5.5.22

Definition at line 336 of file environment.cpp.

◆ m_queue_locks_defaults_manager

queue_locks_defaults_manager_unique_ptr_t so_5::environment_t::internals_t::m_queue_locks_defaults_manager

Manager for defaults of queue locks.

Since
v.5.5.18

Definition at line 403 of file environment.cpp.

◆ m_stop_guards

impl::stop_guard_repository_t so_5::environment_t::internals_t::m_stop_guards

A repository of stop_guards.

Since
v.5.5.19.2

Definition at line 346 of file environment.cpp.

◆ m_work_thread_activity_tracking

work_thread_activity_tracking_t so_5::environment_t::internals_t::m_work_thread_activity_tracking

Work thread activity tracking for the whole Environment.

Since
v.5.5.18

Definition at line 396 of file environment.cpp.

◆ m_work_thread_factory

so_5::disp::abstract_work_thread_factory_shptr_t so_5::environment_t::internals_t::m_work_thread_factory

Actual global work thread factory.

Note
If there is no work_thread_factory in environment_params_t then an instance of the standard work thread factory will be created and used.
Since
v.5.7.3

Definition at line 426 of file environment.cpp.


The documentation for this struct was generated from the following file: