Functions
novarwgt::registry Namespace Reference

Functions

Registry & __GetRegistry ()
 

Function Documentation

Registry& novarwgt::registry::__GetRegistry ( )

Definition at line 19 of file Registry.cxx.

Referenced by novarwgt::GetRegisterableByName().

20  {
21  // Registry of all Registerables that have been requested.
22  // Centralized here to avoid the "static initialization order problem."
23  static std::unordered_map <registry::_ClassID, std::unique_ptr<novarwgt::IRegisterable>, registry::Hasher>
24  registerables = {};
25 
26  return registerables;
27  }