Class Registration

Class Documentation

class Registration

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

Public Functions

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

Public Members

std::string name_
IdType id_
std::weak_ptr<StatisticsRegistry> obj_