#include <AbstractAllocator.hpp>
Inheritance diagram for corelinux::AbstractAllocator::

Public Methods | |
| AbstractAllocator (void) | |
| Default constructor. | |
| AbstractAllocator (const AbstractAllocator &aRef) | |
| Copy constructor. More... | |
| virtual | ~AbstractAllocator (void) |
| Virtual destructor. | |
| AbstractAllocator & | operator= (const AbstractAllocator &aRef) |
| Assingment operator overload. More... | |
| bool | operator== (const AbstractAllocator &aRef) const |
| Equality operator overload. More... | |
| TypeImpl * | createType (void) |
| Create type will invoke the allocateObject method of the derivation and will increment the number of allocations. More... | |
| void | destroyType (TypeImpl *aPtr) |
| Destroy type will invoke the deallocateObject method of the derivation and will increment the number of deallocation. More... | |
Protected Methods | |
| virtual TypeImpl * | allocateObject (void)=0 |
| allocates a object in the subclass. More... | |
| virtual void | deallocateObject (TypeImpl *)=0 |
| de-allocates a object in the subclass. More... | |
The derivation needs to implement the allocateObject and deallocateObject mutators for memory management.
|
||||||||||
|
Copy constructor.
|
|
||||||||||
|
allocates a object in the subclass.
Reimplemented in WallFactory. |
|
||||||||||
|
Create type will invoke the allocateObject method of the derivation and will increment the number of allocations. In the event of any exception, the allocation count will be adjusted.
|
|
||||||||||
|
de-allocates a object in the subclass.
|
|
||||||||||
|
Destroy type will invoke the deallocateObject method of the derivation and will increment the number of deallocation. In the event of any exception, the deallocation count will be adjusted
|
|
||||||||||
|
Assingment operator overload.
|
|
||||||||||
|
Equality operator overload.
|