Class RegistrationsRAII

Class Documentation

class RegistrationsRAII

The RegistrationsRAII class holds handles to registered variables and when it is destroyed, unregisters them automatically.

Public Functions

RegistrationsRAII()
void add(Registration &&registration)
bool remove(const std::string &name)
bool remove(IdType id)
void removeAll()
bool enable(const std::string &name)
bool enable(IdType id)
bool enableAll()
bool disable(const std::string &name)
bool disable(IdType id)
bool disableAll()