Gui::ViewProviderWeakPtrT Class Reference
The ViewProviderWeakPtrT class. More...
#include <DocumentObserver.h>
Classes | |
class | Private |
Public Member Functions | |
bool | expired () const noexcept |
expired More... | |
template<typename T > | |
T * | get () const noexcept |
ViewProviderDocumentObject * | operator-> () noexcept |
operator -> More... | |
void | reset () noexcept |
reset Releases the reference to the managed object. After the call *this manages no object. More... | |
ViewProviderWeakPtrT (ViewProviderDocumentObject *) noexcept | |
~ViewProviderWeakPtrT () | |
Detailed Description
The ViewProviderWeakPtrT class.
Constructor & Destructor Documentation
◆ ViewProviderWeakPtrT()
|
noexcept |
◆ ~ViewProviderWeakPtrT()
ViewProviderWeakPtrT::~ViewProviderWeakPtrT | ( | ) |
Member Function Documentation
◆ expired()
|
noexcept |
expired
- Returns
- true if the managed object has already been deleted, false otherwise.
◆ get()
template<typename T >
|
noexcept |
Get a pointer to the object or 0 if it doesn't exist any more or the type doesn't match.
Referenced by draftguitools.gui_trackers.editTracker::move().
◆ operator->()
|
noexcept |
operator ->
- Returns
- pointer to the document
◆ reset()
|
noexcept |
reset Releases the reference to the managed object. After the call *this manages no object.
Referenced by draftguitools.gui_trackers.gridTracker::set().
The documentation for this class was generated from the following files:
- src/Gui/DocumentObserver.h
- src/Gui/DocumentObserver.cpp