SObjectizer 5.8
Loading...
Searching...
No Matches
so_5::stats::activity_tracking_stuff Namespace Reference

Classes

struct  default_lock_policy
 Default locking policy for stats_collector_t. More...
 
class  external_lock
 Base for the case of externals stats lock. More...
 
class  internal_lock
 Base for the case of internal stats lock. More...
 
struct  no_actual_lock
 An analog of std::lock_guard but without actual locking actions. More...
 
struct  no_lock_at_start_stop_policy
 A custom locking policy for stats_collector_t. More...
 
struct  null_lock
 A special class for cases where lock is not needed at all. More...
 
class  stats_collector_t
 Helper for collecting activity stats. More...
 
struct  traits
 Various traits of activity tracking implementation. More...
 

Functions

template<typename Common_Disp_Iface_Type , typename Disp_No_Tracking , typename Disp_With_Tracking , typename Env , typename Disp_Params , typename... Args>
std::unique_ptr< Common_Disp_Iface_Type > create_appropriate_disp (outliving_reference_t< Env > env, const std::string_view name_base, Disp_Params disp_params, Args &&...args)
 Helper function for creation of dispatcher with respect to activity tracking flag in dispatcher params and in Environment's params.
 

Function Documentation

◆ create_appropriate_disp()

template<typename Common_Disp_Iface_Type , typename Disp_No_Tracking , typename Disp_With_Tracking , typename Env , typename Disp_Params , typename... Args>
std::unique_ptr< Common_Disp_Iface_Type > so_5::stats::activity_tracking_stuff::create_appropriate_disp ( outliving_reference_t< Env > env,
const std::string_view name_base,
Disp_Params disp_params,
Args &&... args )

Helper function for creation of dispatcher with respect to activity tracking flag in dispatcher params and in Environment's params.

Since
v.5.5.18

Definition at line 264 of file activity_tracking.hpp.