Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
roc::core::Singleton< T > Class Template Reference

Singleton. More...

#include <roc_core/target_posix/roc_core/singleton.h>

Inheritance diagram for roc::core::Singleton< T >:

Static Public Member Functions

static T & instance ()
 Get singleton instance. More...
 

Detailed Description

template<class T>
class roc::core::Singleton< T >

Singleton.

Definition at line 26 of file singleton.h.

Member Function Documentation

◆ instance()

template<class T >
static T& roc::core::Singleton< T >::instance ( )
inlinestatic

Get singleton instance.

Definition at line 29 of file singleton.h.


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