#include <Singleton.h>
template<typename S>
class prtx::Singleton< S >
Singleton helper template typically used by subclasses of ExtensionFactory. This class uses the static mix-in pattern (a.k.a. CRTP) to let subclasses implement their own singleton creation in createInstance. See EncoderFactory for a usage example.
- See also
- EncoderFactory
◆ createInstance()
Subclasses must implement this static member function to create the factory singletons.
- Returns
- The single instance of factory class S.
The documentation for this class was generated from the following file: