Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <observed_ptr.h>
Public Member Functions | |
ObservedPtr ()=default | |
ObservedPtr (T *pObservable) | |
ObservedPtr (const ObservedPtr &that) | |
~ObservedPtr () override | |
void | Reset (T *pObservable=nullptr) |
void | OnObservableDestroyed () override |
bool | HasObservable () const |
ObservedPtr & | operator= (const ObservedPtr &that) |
bool | operator== (const ObservedPtr &that) const |
bool | operator!= (const ObservedPtr &that) const |
template<typename U > | |
bool | operator== (const U *that) const |
template<typename U > | |
bool | operator!= (const U *that) const |
operator bool () const | |
T * | Get () const |
T & | operator* () const |
T * | operator-> () const |
Public Member Functions inherited from fxcrt::Observable::ObserverIface | |
virtual | ~ObserverIface ()=default |
Definition at line 46 of file observed_ptr.h.
|
default |
|
inlineexplicit |
Definition at line 49 of file observed_ptr.h.
|
inline |
Definition at line 53 of file observed_ptr.h.
|
inlineoverride |
Definition at line 54 of file observed_ptr.h.
|
inline |
Definition at line 90 of file observed_ptr.h.
Referenced by fxcrt::ObservedPtr< T >::operator==().
|
inline |
Definition at line 69 of file observed_ptr.h.
Referenced by fxcrt::ObservedPtr< T >::operator bool().
|
inlineoverridevirtual |
Implements fxcrt::Observable::ObserverIface.
Definition at line 65 of file observed_ptr.h.
|
inlineexplicit |
Definition at line 89 of file observed_ptr.h.
References fxcrt::ObservedPtr< T >::HasObservable().
|
inline |
Definition at line 77 of file observed_ptr.h.
|
inline |
Definition at line 85 of file observed_ptr.h.
|
inline |
Definition at line 91 of file observed_ptr.h.
|
inline |
Definition at line 92 of file observed_ptr.h.
|
inline |
Definition at line 70 of file observed_ptr.h.
References fxcrt::ObservedPtr< T >::Reset().
|
inline |
Definition at line 74 of file observed_ptr.h.
|
inline |
Definition at line 80 of file observed_ptr.h.
References fxcrt::ObservedPtr< T >::Get().
|
inline |
Definition at line 58 of file observed_ptr.h.
Referenced by fxcrt::ObservedPtr< T >::operator=().