Public Member Functions | Public Attributes | Private Member Functions | List of all members
pal_statistics::Registration Class Reference

The Registration class is a handle to a registered variable, when out of scope unregisters the variable. More...

#include <pal_statistics_utils.h>

Public Member Functions

Registrationoperator= (Registration &&)=default
 
 Registration (const std::string &name, IdType id, const boost::weak_ptr< StatisticsRegistry > &obj)
 
 Registration (Registration &&other)=default
 
 ~Registration ()
 

Public Attributes

IdType id_
 
std::string name_
 
boost::weak_ptr< StatisticsRegistryobj_
 

Private Member Functions

Registrationoperator= (const Registration &)=delete
 
 Registration (const Registration &)=delete
 

Detailed Description

The Registration class is a handle to a registered variable, when out of scope unregisters the variable.

Definition at line 94 of file pal_statistics_utils.h.

Constructor & Destructor Documentation

◆ Registration() [1/3]

pal_statistics::Registration::Registration ( const std::string &  name,
IdType  id,
const boost::weak_ptr< StatisticsRegistry > &  obj 
)

Definition at line 14 of file pal_statistics_utils.cpp.

◆ Registration() [2/3]

pal_statistics::Registration::Registration ( Registration &&  other)
default

◆ ~Registration()

pal_statistics::Registration::~Registration ( )

Definition at line 26 of file pal_statistics_utils.cpp.

◆ Registration() [3/3]

pal_statistics::Registration::Registration ( const Registration )
privatedelete

Member Function Documentation

◆ operator=() [1/2]

Registration& pal_statistics::Registration::operator= ( const Registration )
privatedelete

◆ operator=() [2/2]

Registration& pal_statistics::Registration::operator= ( Registration &&  )
default

Member Data Documentation

◆ id_

IdType pal_statistics::Registration::id_

Definition at line 105 of file pal_statistics_utils.h.

◆ name_

std::string pal_statistics::Registration::name_

Definition at line 104 of file pal_statistics_utils.h.

◆ obj_

boost::weak_ptr<StatisticsRegistry> pal_statistics::Registration::obj_

Definition at line 106 of file pal_statistics_utils.h.


The documentation for this class was generated from the following files:


pal_statistics
Author(s):
autogenerated on Fri Aug 2 2024 08:29:35