#include <DeadObject.hpp>
Public Member Functions | |
void * | operator new (size_t size, void *address) |
void | operator delete (void *, void *) |
void | addEyeCatcher (const char *string) |
DeadObject (size_t objectSize) | |
DeadObject () | |
void | setObjectSize (size_t newSize) |
size_t | getObjectSize () |
void | insertAfter (DeadObject *newDead) |
void | insertBefore (DeadObject *newDead) |
void | remove () |
bool | isReal () |
bool | isHeader () |
void | reset () |
DeadObject * | end () |
bool | overlaps (DeadObject *o) |
Protected Attributes | |
char | VFT [sizeof(void *)] |
ObjectHeader | header |
DeadObject * | next |
DeadObject * | previous |
Friends | |
class | DeadObjectPool |
Definition at line 59 of file DeadObject.hpp.
|
inline |
Definition at line 67 of file DeadObject.hpp.
References addEyeCatcher(), header, and ObjectHeader::setObjectSize().
|
inline |
Definition at line 76 of file DeadObject.hpp.
References addEyeCatcher(), header, next, previous, and ObjectHeader::setObjectSize().
|
inline |
|
inline |
Definition at line 116 of file DeadObject.hpp.
References getObjectSize().
Referenced by overlaps().
|
inline |
Definition at line 85 of file DeadObject.hpp.
References ObjectHeader::getObjectSize(), and header.
Referenced by DeadObjectPool::addSortedBySize(), DeadObjectPool::checkObjectOverlap(), end(), DeadObjectPool::findBestFit(), DeadObjectPool::findFit(), DeadObjectPool::findSmallestFit(), MemorySegmentSet::mergeSegments(), and RexxMemory::reSize().
|
inline |
Definition at line 87 of file DeadObject.hpp.
References next, and previous.
Referenced by DeadObjectPool::add().
|
inline |
Definition at line 94 of file DeadObject.hpp.
References next, and previous.
Referenced by DeadObjectPool::addSortedByLocation(), and DeadObjectPool::addSortedBySize().
|
inline |
Definition at line 107 of file DeadObject.hpp.
References ObjectHeader::getObjectSize(), and header.
|
inline |
Definition at line 106 of file DeadObject.hpp.
References ObjectHeader::getObjectSize(), and header.
Referenced by DeadObjectPool::addSortedByLocation(), DeadObjectPool::addSortedBySize(), DeadObjectPool::checkObjectOverlap(), DeadObjectPool::findSmallestFit(), DeadObjectPool::getFirst(), and DeadObjectPool::isEmpty().
|
inline |
Definition at line 64 of file DeadObject.hpp.
|
inline |
Definition at line 63 of file DeadObject.hpp.
|
inline |
Definition at line 117 of file DeadObject.hpp.
References end().
Referenced by DeadObjectPool::checkObjectOverlap().
|
inline |
Definition at line 101 of file DeadObject.hpp.
References next, and previous.
Referenced by MemorySegmentSet::combineEmptySegments(), DeadObjectPool::findBestFit(), DeadObjectPool::findFit(), DeadObjectPool::findSmallestFit(), DeadObjectPool::getFirst(), MemorySegmentSet::mergeSegments(), MemorySegment::removeAll(), and MemorySegmentSet::splitSegment().
|
inline |
Definition at line 109 of file DeadObject.hpp.
References next, and previous.
Referenced by DeadObjectPool::empty().
|
inline |
Definition at line 84 of file DeadObject.hpp.
References header, and ObjectHeader::setObjectSize().
Referenced by MemorySegmentSet::mergeSegments().
|
friend |
Definition at line 60 of file DeadObject.hpp.
|
protected |
Definition at line 123 of file DeadObject.hpp.
Referenced by DeadObject(), getObjectSize(), isHeader(), isReal(), and setObjectSize().
|
protected |
Definition at line 124 of file DeadObject.hpp.
Referenced by DeadObjectPool::addSingle(), DeadObjectPool::addSortedByLocation(), DeadObjectPool::addSortedBySize(), DeadObjectPool::checkObjectOverlap(), DeadObject(), DeadObjectPool::emptySingle(), DeadObjectPool::findBestFit(), DeadObjectPool::findFit(), DeadObjectPool::findSmallestFit(), DeadObjectPool::firstBlock(), DeadObjectPool::getFirst(), DeadObjectPool::getFirstSingle(), insertAfter(), insertBefore(), DeadObjectPool::isEmpty(), DeadObjectPool::isEmptySingle(), remove(), and reset().
|
protected |
Definition at line 125 of file DeadObject.hpp.
Referenced by DeadObject(), insertAfter(), insertBefore(), DeadObjectPool::lastBlock(), remove(), and reset().
|
protected |
Definition at line 121 of file DeadObject.hpp.
Referenced by addEyeCatcher().