Base Module  VST 3.6.14
SDK for developing VST Plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Steinberg::Singleton Namespace Reference

Automatic creation and destruction of singleton instances. More...

Typedefs

typedef std::vector< FObject ** > ObjectVector
 

Functions

bool isTerminated ()
 Returns true when singleton instances were already released. More...
 
void lockRegister ()
 lock and unlock the singleton registration for multi-threading safety More...
 
void unlockRegister ()
 
void registerInstance (FObject **o)
 registers an instance (type FObject) More...
 

Variables

ObjectVectorsingletonInstances = 0
 
bool singletonsTerminated = false
 
Steinberg::Base::Thread::FLock * singletonsLock
 
struct
Steinberg::Singleton::Deleter 
deleter
 

Detailed Description

Automatic creation and destruction of singleton instances.

Typedef Documentation

typedef std::vector<FObject**> ObjectVector

Function Documentation

bool isTerminated ( )

Returns true when singleton instances were already released.

void lockRegister ( )

lock and unlock the singleton registration for multi-threading safety

void unlockRegister ( )
void registerInstance ( FObject **  o)

registers an instance (type FObject)

Variable Documentation

ObjectVector* singletonInstances = 0
bool singletonsTerminated = false
Steinberg::Base::Thread::FLock* singletonsLock
struct Steinberg::Singleton::Deleter deleter
Empty

Copyright ©2019 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.