Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/del-stash.hpp"
Manage a collection of deleter functions.
This component can memorise addresses and deleter functions and trigger deletion of single objects, or delete all objects on demand or automatically on shutdown.
Definition at line 56 of file del-stash.hpp.
Classes | |
class | Killer |
Private Types | |
typedef std::vector< Killer > | Killers |
typedef void | KillFun(void *) |
Private Member Functions | |
Killers::iterator | findEntry (const void *obj) |
bool | isRegistered (const void *objAddress) |
void | triggerKill (void *objAddress) |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |
Static Private Member Functions | |
template<typename X > | |
static void | how_to_kill (void *subject) |
trampoline function to invoke destructor of the specific target type | |
Private Attributes | |
Killers | killers_ |