SObjectizer  5.8
Loading...
Searching...
No Matches
so_5::anonymous_namespace{environment.cpp} Namespace Reference

Classes

class  autoshutdown_guard_t
 
class  core_data_sources_t
 A bunch of data sources for core objects. More...
 
class  default_event_queue_hook_t
 Default implementation of event_queue_hook. More...
 

Functions

queue_locks_defaults_manager_unique_ptr_t ensure_locks_defaults_manager_exists (queue_locks_defaults_manager_unique_ptr_t current)
 Helper function for creation of appropriate manager object if necessary.
 
event_queue_hook_unique_ptr_t ensure_event_queue_hook_exists (event_queue_hook_unique_ptr_t current)
 Helper function for creation of appropriate event_queue_hook object if necessary.
 
so_5::disp::abstract_work_thread_factory_shptr_t ensure_work_thread_factory_exists (so_5::disp::abstract_work_thread_factory_shptr_t user_provided_factory)
 Helper function for creation of the default global work thread factory.
 
so_5::subscription_storage_factory_t ensure_subscription_storage_factory_exists (subscription_storage_factory_t user_provided_factory)
 Helper function for creation of the default subscription storage factory.
 

Function Documentation

◆ ensure_event_queue_hook_exists()

event_queue_hook_unique_ptr_t so_5::anonymous_namespace{environment.cpp}::ensure_event_queue_hook_exists ( event_queue_hook_unique_ptr_t current)
nodiscard

Helper function for creation of appropriate event_queue_hook object if necessary.

Since
v.5.5.24
Parameters
currentThe current value. Note: can be nullptr.

Definition at line 244 of file environment.cpp.

◆ ensure_locks_defaults_manager_exists()

queue_locks_defaults_manager_unique_ptr_t so_5::anonymous_namespace{environment.cpp}::ensure_locks_defaults_manager_exists ( queue_locks_defaults_manager_unique_ptr_t current)

Helper function for creation of appropriate manager object if necessary.

Since
v.5.5.18
Parameters
currentThe current value. Note: can be nullptr.

Definition at line 194 of file environment.cpp.

◆ ensure_subscription_storage_factory_exists()

so_5::subscription_storage_factory_t so_5::anonymous_namespace{environment.cpp}::ensure_subscription_storage_factory_exists ( subscription_storage_factory_t user_provided_factory)
nodiscard

Helper function for creation of the default subscription storage factory.

If user_provided_factory is nullptr then standard default subscription storage factory will be returned. Otherwise user_provided_factory is returned.

Since
v.5.8.2
Parameters
user_provided_factoryThe current value provided by a user. Note: it can be nullptr.

Definition at line 295 of file environment.cpp.

◆ ensure_work_thread_factory_exists()

so_5::disp::abstract_work_thread_factory_shptr_t so_5::anonymous_namespace{environment.cpp}::ensure_work_thread_factory_exists ( so_5::disp::abstract_work_thread_factory_shptr_t user_provided_factory)
nodiscard

Helper function for creation of the default global work thread factory.

If user_provided_factory is nullptr then standard work thread factory will be created. Otherwise user_provided_factory is returned.

Since
v.5.7.3
Parameters
user_provided_factoryThe current value provided by a user. Note: it can be nullptr.

Definition at line 269 of file environment.cpp.