The Vish Visualization Shell 0.3
Vish
List of all members
MemCore::CrashHandler Struct Reference

Usage: More...

#include <elementary/memcore/Terminator.hpp>

Inheritance diagram for MemCore::CrashHandler:
MemCore::ReferenceBase< CrashHandler >

Additional Inherited Members

- Public Types inherited from MemCore::ReferenceBase< CrashHandler >
using reference_domain_t = CrashHandler
 The type of the base class.
 
using SelfPtr_t = WeakPtr< CrashHandler, CrashHandler >
 Type for a pointer to this object itself.
 
- Public Member Functions inherited from MemCore::ReferenceBase< CrashHandler >
auto getObjectCountID () const noexcept
 Get a unique ID for this object in the given domain.
 
bool isIdentical (const WeakPtr< CrashHandler, CrashHandler > &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 (CrashHandler *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< CrashHandler >
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

Usage:

static Ref<CrashHandler> CH ( []()
{
FiberIOHDF5cleanup();
}
);
CrashHandler::insert( "HDF5 I/O Layer", CH);
Pointer to a refcountable object which automatically initializes the pointer with constructing an obj...
Definition RefPtr.hpp:1138