![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Singleton. More...
#include <pthread.h>
#include "roc_core/aligned_storage.h"
#include "roc_core/atomic_ops.h"
#include "roc_core/noncopyable.h"
#include "roc_core/panic.h"
Go to the source code of this file.
Classes | |
class | roc::core::Singleton< T > |
Singleton. More... |
Namespaces | |
namespace | roc |
Root namespace. | |
namespace | roc::core |
General-purpose building blocks and platform abstraction layer. |
Variables | |
template<class T> | |
pthread_once_t | roc::core::Singleton< T >::once_ = PTHREAD_ONCE_INIT |
template<class T> | |
AlignedStorage< sizeof(T)> | roc::core::Singleton< T >::storage_ |
template<class T> | |
T * | roc::core::Singleton< T >::instance_ |
Singleton.
Definition in file singleton.h.