![]() |
Protium
Math and Design Features
|
#include <DeletionPolicies.h>
Public Member Functions | |
| ConcreteDeletionTracker (Host *p, unsigned int priority, Destroyer d) | |
| ~ConcreteDeletionTracker () | |
| Calls the deletion method. More... | |
Public Member Functions inherited from Protium::Singleton::DeletionTracker | |
| DeletionTracker (unsigned int x) | |
| Default constructor. More... | |
| virtual | ~DeletionTracker ()=0 |
| Abstract definition. More... | |
Private Attributes | |
| Destroyer | fDestroyer |
| instance of destroyer More... | |
| Host * | fHost |
| Pointer to the host object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Protium::Singleton::DeletionTracker | |
| static bool | Compare (const DeletionTracker *lhs, const DeletionTracker *rhs) |
| For Comparing priority of deletion. More... | |
Concrete templated instance of a deletion tracker
| Host | Type of object to be tracked |
| Destroyer | Templated type of destroyer (usually derivative of Deleter) |
Definition at line 67 of file DeletionPolicies.h.
|
inline |
Default constructor
| p | The host object to be deleted |
| priority | the priority of the object to be deleted (higher gets deleted first) |
| d | the destroyer to be used |
Definition at line 78 of file DeletionPolicies.h.
|
inline |
Calls the deletion method.
Definition at line 85 of file DeletionPolicies.h.
|
private |
instance of destroyer
Definition at line 71 of file DeletionPolicies.h.
|
private |
Pointer to the host object.
Definition at line 69 of file DeletionPolicies.h.