#include <MCoreSystem.h>
Public Member Functions | |
MCORE_INLINE LogManager & | GetLogManager () |
MCORE_INLINE IDGenerator & | GetIDGenerator () |
MCORE_INLINE StringIdPool & | GetStringIdPool () |
MCORE_INLINE AttributeFactory & | GetAttributeFactory () |
MCORE_INLINE MemoryTracker & | GetMemoryTracker () |
MCORE_INLINE bool | GetIsTrackingMemory () const |
MCORE_INLINE void * | GetMemTempBuffer () |
MCORE_INLINE size_t | GetMemTempBufferSize () const |
void | MemTempBufferAssureSize (size_t numBytes) |
void | MemTempBufferFree () |
void | RegisterMemoryCategories (MemoryTracker &memTracker) |
MCORE_INLINE Mutex & | GetMemoryMutex () |
MCORE_INLINE AllocateCallback | GetAllocateFunction () |
MCORE_INLINE ReallocCallback | GetReallocFunction () |
MCORE_INLINE FreeCallback | GetFreeFunction () |
Friends | |
class | Initializer |
The core main system, which stores some manager objects. This includes a memory manager, coordinate system converter and log manager. An instance from this class can be accessed with the MCore::gMCore global variable. This global object is created when you call MCore::Init() and it is deleted when you call MCore::Shutdown(). Please keep in mind that you do not have any more allocations such as string or array allocations remaining after you call the Shutdown method. Also don't create any String or Array allocations before MCore::Init() has been called.
|
inline |
Get the attribute factory.
|
inline |
Get the ID generator.
|
inline |
Get the log manager.
|
inline |
Get the memory tracker.
|
inline |
Get the string based ID generator.