Base Module VST 3.7 SDK for developing VST plug-in

Typedefs | Functions | Variables
Steinberg::Singleton Namespace Reference

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

## Typedefs
using | ObjectVector = std::vector< FObject ** >

## 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
ObjectVector * | singletonInstances = nullptr
bool | singletonsTerminated = false
Steinberg::Base::Thread::FLock * | singletonsLock
struct Steinberg::Singleton::Deleter | deleter

## Detailed Description

Automatic creation and destruction of singleton instances.

## Typedef Documentation

## ◆ ObjectVector

using ObjectVector = std::vector<FObject**>

## Function Documentation

## ◆ isTerminated()

bool isTerminated | ( |  | ) |

Returns true when singleton instances were already released.

## ◆ lockRegister()

void lockRegister | ( |  | ) |

lock and unlock the singleton registration for multi-threading safety

## ◆ unlockRegister()

void unlockRegister | ( |  | ) |

## ◆ registerInstance()

void registerInstance | ( | FObject ** | o | ) |

registers an instance (type FObject)

## Variable Documentation

## ◆ singletonInstances

ObjectVector* singletonInstances = nullptr

## ◆ singletonsTerminated

bool singletonsTerminated = false

## ◆ singletonsLock

Steinberg::Base::Thread::FLock* singletonsLock

## ◆ deleter

struct Steinberg::Singleton::Deleter deleter

Empty

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