VSTGUI 4.5 Graphical User Interface Framework not only for VST plugins

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
OwningPointer< I > Class Template Reference

An owning pointer. More...

Inheritance diagram for OwningPointer< I >:

## Public Member Functions
| OwningPointer (I *p)
| OwningPointer (const SharedPointer< I > &p)
| OwningPointer (const OwningPointer< I > &p)
| OwningPointer ()
I * | operator= (I *_ptr)
Public Member Functions inherited from SharedPointer< I >
| SharedPointer (I *ptr, bool remember=true) noexcept
| SharedPointer (const SharedPointer &) noexcept
| SharedPointer () noexcept
| ~SharedPointer () noexcept
I * | operator= (I *ptr) noexcept
SharedPointer< I > & | operator= (const SharedPointer< I > &) noexcept
| operator I * () const noexcept
I * | operator-> () const noexcept
I * | get () const noexcept
template<class T >
T * | cast () const
| SharedPointer (SharedPointer< I > &&mp) noexcept
SharedPointer< I > & | operator= (SharedPointer< I > &&mp) noexcept
template<typename T >
| SharedPointer (const SharedPointer< T > &op) noexcept
template<typename T >
SharedPointer & | operator= (const SharedPointer< T > &op) noexcept
template<typename T >
| SharedPointer (SharedPointer< T > &&op) noexcept
template<typename T >
SharedPointer & | operator= (SharedPointer< T > &&op) noexcept
template<class I>
| SharedPointer (const SharedPointer< I > &other) noexcept

## Additional Inherited Members
Protected Attributes inherited from SharedPointer< I >
I * | ptr {nullptr}

## Detailed Description

### template<class I>
class VSTGUI::OwningPointer< I >

An owning pointer.

Deprecated:

This class is now deprecated. Please change your code from

OwningPointer<MyClass> obj = new MyClass ()

to

SharedPointer<MyClass> obj = makeOwned<MyClass> ();

## Constructor & Destructor Documentation

OwningPointer | ( | I * | p | ) |
| inline

OwningPointer | ( | const SharedPointer< I > & | p | ) |
| inline

OwningPointer | ( | const OwningPointer< I > & | p | ) |
| inline

OwningPointer | ( |  | ) |
| inline

## Member Function Documentation

I* operator= | ( | I * | _ptr | ) |
| inline

The documentation for this class was generated from the following file:

- vstguibase.h