|
TracktionEngine
|
RAII guard that ref-counts initializeARA/uninitializeARA calls per unique ARAFactory pointer. More...
#include <tracktion_ARAPluginFactory.h>
Public Member Functions | |
| ARAFactoryInitGuard (const ARAFactory *f, const ARAInterfaceConfiguration *config) | |
| ~ARAFactoryInitGuard () | |
Public Attributes | |
| const ARAFactory * | factoryPtr |
RAII guard that ref-counts initializeARA/uninitializeARA calls per unique ARAFactory pointer.
Multiple ARAPluginFactory entries may share the same underlying ARAFactory* (same DLL); this ensures initializeARA is called once on first use and uninitializeARA once on last destruction.
| ARAFactoryInitGuard::ARAFactoryInitGuard | ( | const ARAFactory * | f, |
| const ARAInterfaceConfiguration * | config | ||
| ) |
References factoryPtr.
| ARAFactoryInitGuard::~ARAFactoryInitGuard | ( | ) |
References factoryPtr.
| const ARAFactory* ARAFactoryInitGuard::factoryPtr |
Referenced by ARAFactoryInitGuard(), and ~ARAFactoryInitGuard().