Interface for managing the lifetime of objects.
More...
#include <ILifetimeManager.h>
Interface for managing the lifetime of objects.
Definition at line 39 of file ILifetimeManager.h.
virtual bool are_all_finalized |
( |
| ) |
const |
|
pure virtual |
Checks if the lifetime of the registered object is complete.
- Returns
- True if all object lifetimes are finalized else false.
Implemented in ISimpleLifetimeManager.
virtual void end_lifetime |
( |
void * |
obj, |
|
|
void ** |
handle, |
|
|
size_t |
size |
|
) |
| |
|
pure virtual |
Ends lifetime of an object.
- Parameters
-
[in] | obj | Object |
[in] | handle | Memory handle of the object |
[in] | size | Size of the given object at given time |
Implemented in ISimpleLifetimeManager.
Registers a group to the lifetime manager and assigns a group id.
- Parameters
-
[in] | group | The group id of the group |
Implemented in ISimpleLifetimeManager.
virtual void start_lifetime |
( |
void * |
obj | ) |
|
|
pure virtual |
Registers and starts lifetime of an object.
- Parameters
-
[in] | obj | Object to register |
Implemented in ISimpleLifetimeManager.
The documentation for this class was generated from the following file: