The Vish Visualization Shell 0.3
Vish
List of all members
Wizt::ApplicationQuitter Struct Referenceabstract

Registerable objects to be called by some plugin when the application is supposed to quit soon, to be used to flush caches and close files in a clean way yet before any plugins are unloaded. More...

#include <ocean/plankton/VGlobals.hpp>

Inheritance diagram for Wizt::ApplicationQuitter:
MemCore::ReferenceBase< ApplicationQuitter >

Additional Inherited Members

- Public Types inherited from MemCore::ReferenceBase< ApplicationQuitter >
using reference_domain_t = ApplicationQuitter
 The type of the base class.
 
using SelfPtr_t = WeakPtr< ApplicationQuitter, ApplicationQuitter >
 Type for a pointer to this object itself.
 
- Public Member Functions inherited from MemCore::ReferenceBase< ApplicationQuitter >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
 
bool isIdentical (const WeakPtr< ApplicationQuitter, ApplicationQuitter > &PossibleSelf) const noexcept
 Check if this object is identical to the one used by the given pointer.
 
void mkAutoDestructive ()
 Marks this object as being automatically destructed, e.g.
 
refcount_t refcount () const noexcept
 The strong reference count.
 
 ReferenceBase (ApplicationQuitter *that) noexcept
 Constructor, initializes reference counter to zero.
 
const auto & self () const
 Return weak pointer to the object self.
 
refcount_t wrefcount () const noexcept
 The weak reference count.
 
- Protected Member Functions inherited from MemCore::ReferenceBase< ApplicationQuitter >
virtual void extremeUnction ()
 A virtual function that will be called just before the object is destroyed.
 
ReferenceBaseoperator= (const ReferenceBase &R)
 Protected assignment operator (should not be called).
 
void suicide ()
 Delete this.
 
virtual ~ReferenceBase ()
 Virtual destructor.
 

Detailed Description

Registerable objects to be called by some plugin when the application is supposed to quit soon, to be used to flush caches and close files in a clean way yet before any plugins are unloaded.