#include <OTC/memory/mpobject.hh> class OTC_MPObject {
public:
virtual ~OTC_MPObject();
void* operator new(size_t theSize);
void operator delete(void* theMemory, size_t theSize);
void* operator new( size_t theSize, os_segment* theSegment, os_typespec* theTypeSpec );
void* operator new( size_t theSize, os_database* theDatabase, os_typespec* theTypeSpec );
void* operator new( size_t theSize, os_object_cluster* theCluster, os_typespec* theTypeSpec );
protected:
OTC_MPObject();
};
virtual ~OTC_MPObject();
void* operator new(size_t theSize);
void operator delete(void* theMemory, size_t theSize);
void* operator new(
size_t theSize,
os_segment* theSegment,
os_typespec* theTypeSpec
);
void* operator new(
size_t theSize,
os_database* theDatabase,
os_typespec* theTypeSpec
);
void* operator new(
size_t theSize,
os_object_cluster* theCluster,
os_typespec* theTypeSpec
);
OTC_MPObject();