Base Module  VST 3.6.7
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Namespaces | Typedefs | Functions | Variables
fobject.cpp File Reference
#include "base/source/fobject.h"
#include "base/source/flock.h"
#include <vector>

Namespaces

 Steinberg
 
 Steinberg::Singleton
 Automatic creation and destruction of singleton instances.
 

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

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

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