Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
DelStash::Killer Class Reference

Description

entry to store target pointer and the actual deleter function to use

Definition at line 66 of file del-stash.hpp.

Public Member Functions

 Killer (KillFun *f, void *t)
 
void trigger ()
 
bool operator== (const void *target) const
 
bool operator!= (const void *target) const
 
bool isActive () const
 

Private Attributes

void * target_
 
KillFunkillIt_
 

Constructor & Destructor Documentation

◆ Killer()

Killer ( KillFun f,
void *  t 
)
inline

Definition at line 72 of file del-stash.hpp.

Member Function Documentation

◆ trigger()

void trigger ( )
inline

Definition at line 80 of file del-stash.hpp.

References DelStash::Killer::killIt_, NULL, and DelStash::Killer::target_.

◆ operator==()

bool operator== ( const void *  target) const
inline

Definition at line 87 of file del-stash.hpp.

References DelStash::Killer::target_.

◆ operator!=()

bool operator!= ( const void *  target) const
inline

Definition at line 88 of file del-stash.hpp.

References DelStash::Killer::target_.

◆ isActive()

bool isActive ( ) const
inline

Definition at line 91 of file del-stash.hpp.

References DelStash::Killer::target_.

Member Data Documentation

◆ target_

◆ killIt_

KillFun* killIt_
private

Definition at line 69 of file del-stash.hpp.

Referenced by DelStash::Killer::trigger().

+ Collaboration diagram for DelStash::Killer:

The documentation for this class was generated from the following file: