Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::Singleton< T > Class Template Reference

Singleton. More...

#include <singleton.h>

Inheritance diagram for roc::core::Singleton< T >:
Collaboration 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: