MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Base class for polymorphic small objects providing fast allocations and deallocations. More...
#include <mdsSmallObject.h>
Public Types | |
typedef CLibraryLockableClass < CSmallObjectBase< C, M, A > >::CLock | tLock |
Lock type. | |
Public Member Functions | |
virtual | ~CSmallObject () |
Virtual destructor. | |
Static Public Member Functions | |
static void | lock () |
Locks the object. | |
static void | operator delete (void *p, std::size_t Size) |
Deallocates small object. | |
static void | operator delete (void *p, void *pPlace) |
Placement single-object delete merely calls global placement delete. | |
static void | operator delete[] (void *p, std::size_t Size) |
Deallocates array-object. | |
static void | operator delete[] (void *p, void *pPlace) |
Placement array-object delete merely calls global placement delete. | |
static void * | operator new (std::size_t Size) |
Allocates a small object. | |
static void * | operator new (std::size_t Size, void *pPlace) |
Placement single-object new merely calls global placement new. | |
static void * | operator new[] (std::size_t Size) |
Allocates array-object. | |
static void * | operator new[] (std::size_t Size, void *pPlace) |
Placement array-object new merely calls global placement new. | |
static void | unlock () |
Locks the object. | |
Protected Member Functions | |
CSmallObject () | |
Protected default constructor. | |
CSmallObject (const CSmallObject &) | |
Copy-constructor. | |
CSmallObject & | operator= (const CSmallObject &) |
Assignment operator. |
Base class for polymorphic small objects providing fast allocations and deallocations.
typedef CLibraryLockableClass<CSmallObjectBase<C,M,A> >::CLock mds::base::CSmallObjectBase< C, M, A >::tLock [inherited] |
Lock type.
virtual mds::base::CSmallObject< C, M, A >::~CSmallObject | ( | ) | [virtual] |
Virtual destructor.
mds::base::CSmallObject< C, M, A >::CSmallObject | ( | ) | [protected] |
Protected default constructor.
mds::base::CSmallObject< C, M, A >::CSmallObject | ( | const CSmallObject< C, M, A > & | ) | [protected] |
Copy-constructor.
static void mds::base::CLockableClass< CSmallObjectBase< C, M, A > >::lock | ( | ) | [static, inherited] |
Locks the object.
static void mds::base::CSmallObjectBase< C, M, A >::operator delete | ( | void * | p, |
std::size_t | Size | ||
) | [static, inherited] |
Deallocates small object.
static void mds::base::CSmallObjectBase< C, M, A >::operator delete | ( | void * | p, |
void * | pPlace | ||
) | [static, inherited] |
Placement single-object delete merely calls global placement delete.
static void mds::base::CSmallObjectBase< C, M, A >::operator delete[] | ( | void * | p, |
std::size_t | Size | ||
) | [static, inherited] |
Deallocates array-object.
static void mds::base::CSmallObjectBase< C, M, A >::operator delete[] | ( | void * | p, |
void * | pPlace | ||
) | [static, inherited] |
Placement array-object delete merely calls global placement delete.
static void* mds::base::CSmallObjectBase< C, M, A >::operator new | ( | std::size_t | Size | ) | [static, inherited] |
Allocates a small object.
static void* mds::base::CSmallObjectBase< C, M, A >::operator new | ( | std::size_t | Size, |
void * | pPlace | ||
) | [static, inherited] |
Placement single-object new merely calls global placement new.
static void* mds::base::CSmallObjectBase< C, M, A >::operator new[] | ( | std::size_t | Size | ) | [static, inherited] |
Allocates array-object.
static void* mds::base::CSmallObjectBase< C, M, A >::operator new[] | ( | std::size_t | Size, |
void * | pPlace | ||
) | [static, inherited] |
Placement array-object new merely calls global placement new.
CSmallObject& mds::base::CSmallObject< C, M, A >::operator= | ( | const CSmallObject< C, M, A > & | ) | [protected] |
Assignment operator.
static void mds::base::CLockableClass< CSmallObjectBase< C, M, A > >::unlock | ( | ) | [static, inherited] |
Locks the object.