Loading...
Searching...
No Matches
juce::ARAFactoryWrapper Class Reference

Detailed Description

Encapsulates an ARAFactory pointer and makes sure that it remains in a valid state for the lifetime of the ARAFactoryWrapper object.

Public Member Functions

 ARAFactoryWrapper ()=default
 ARAFactoryWrapper (std::shared_ptr< const ARA::ARAFactory > factoryIn)
const ARA::ARAFactory * get () const noexcept
 Returns the contained ARAFactory pointer, which can be a nullptr.

Constructors and Destructors

◆ ARAFactoryWrapper() [1/2]

juce::ARAFactoryWrapper::ARAFactoryWrapper ( )
default

◆ ARAFactoryWrapper() [2/2]

juce::ARAFactoryWrapper::ARAFactoryWrapper ( std::shared_ptr< const ARA::ARAFactory > factoryIn)
explicit

Member Functions

◆ get()

const ARA::ARAFactory * juce::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.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram