SObjectizer  5.7
Public Member Functions | Public Attributes | List of all members
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. More...
 

Public Attributes

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

Detailed Description

Internal details of SObjectizer Environment object.

Since
v.5.5.0

Constructor & Destructor Documentation

◆ internals_t()

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

Constructor.

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

◆ 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

◆ m_error_logger

error_logger_shptr_t so_5::environment_t::internals_t::m_error_logger

Error logger object for this environment.

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

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

◆ m_layer_core

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

An utility for layers.

◆ m_mbox_core

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

An utility for mboxes.

◆ 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

◆ 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

◆ 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

◆ 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

◆ 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

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