Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::QPtr< T > Class Template Reference

#include <qptr.h>

+ Inheritance diagram for inviwo::QPtr< T >:

Public Member Functions

 QPtr (std::nullptr_t)
 
 QPtr (T *ptr)
 
 QPtr (const QPtr &rhs)=delete
 
QPtroperator= (const QPtr &that)=delete
 
 QPtr (QPtr &&rhs) noexcept
 
QPtroperator= (QPtr &&that) noexcept
 
void reset (T *ptr=nullptr)
 

Detailed Description

template<typename T>
class inviwo::QPtr< T >

A unique pointer that automatically connects to the QObject's destroyed signal to automatically release the pointer if the object is destroyed.


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