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>
Classes | |
class | ObserverIface |
Public Member Functions | |
Observable () | |
Observable (const Observable &that)=delete | |
Observable & | operator= (const Observable &that)=delete |
~Observable () | |
void | AddObserver (ObserverIface *pObserver) |
void | RemoveObserver (ObserverIface *pObserver) |
void | NotifyObservers () |
Protected Member Functions | |
size_t | ActiveObserversForTesting () const |
Definition at line 17 of file observed_ptr.h.
|
default |
|
delete |
fxcrt::Observable::~Observable | ( | ) |
Definition at line 14 of file observed_ptr.cpp.
References NotifyObservers().
|
inlineprotected |
Definition at line 36 of file observed_ptr.h.
void fxcrt::Observable::AddObserver | ( | ObserverIface * | pObserver | ) |
Definition at line 18 of file observed_ptr.cpp.
void fxcrt::Observable::NotifyObservers | ( | ) |
Definition at line 28 of file observed_ptr.cpp.
Referenced by CJS_Runtime::~CJS_Runtime(), and ~Observable().
|
delete |
void fxcrt::Observable::RemoveObserver | ( | ObserverIface * | pObserver | ) |
Definition at line 23 of file observed_ptr.cpp.