Encapsulates an ARAFactory pointer and makes sure that it remains in a valid state for the lifetime of the ARAFactoryWrapper object.
More...
Encapsulates an ARAFactory pointer and makes sure that it remains in a valid state for the lifetime of the ARAFactoryWrapper object.
◆ ARAFactoryWrapper() [1/2]
ARAFactoryWrapper::ARAFactoryWrapper |
( |
| ) |
|
|
default |
◆ ARAFactoryWrapper() [2/2]
ARAFactoryWrapper::ARAFactoryWrapper |
( |
std::shared_ptr< const ARA::ARAFactory > |
factoryIn | ) |
|
|
explicit |
Used by the framework to encapsulate ARAFactory pointers loaded from plugins.
◆ get()
const ARA::ARAFactory * ARAFactoryWrapper::get |
( |
| ) |
const |
|
noexcept |
Returns the contained ARAFactory pointer, which can be a nullptr.
The validity of the returned pointer is only guaranteed for the lifetime of this wrapper.
The documentation for this class was generated from the following file: