19 class PerfCounterManager;
20 class IPerfMarkerInterface;
44 enum InitializationLogLevel { InitializationLogLevel_None, InitializationLogLevel_Normal, InitializationLogLevel_Detailled };
51 , m_rootHeapDesc(nullptr)
82 MemoryHeap::HeapDesc* m_rootHeapDesc;
122 static void Init(
const Config& config)
139 static void DoInit(
const Config& config);
140 static void DestroyMemorySystemAndLog();
141 static void RegisterBlobs();
144 static bool s_isInitialized;
Default implementation of the BaseLog interface.
Definition: defaultlog.h:26
The BaseSystemConfig class contains a set of objects and configuration parameters that are required i...
Definition: basesystem.h:40
IPerfMarkerInterface * m_perfMarkerInterface
Provides an instance of a custom class that implements IPerfMarkerInterface.
Definition: basesystem.h:72
BaseLog * m_log
Provides an instance of class that derives from Log, which Autodesk Navigation components will invoke...
Definition: basesystem.h:67
A base class for an object that manages memory allocations and de-allocations.
Definition: SF_SysAlloc.h:18
bool m_useStackRegistryToTrackAllocations
The StackRegistry class allows to record and output the call-stacks for any leaks that remain after t...
Definition: basesystem.h:86
static bool HasMemoryLeaks()
Indicates whether or not any memory allocated by the BaseSystem remains to be freed.
Definition: basesystem.h:133
static void Destroy()
Destroys the BaseSystem.
Definition: basesystem.cpp:133
BaseSystem(const Config &config)
Creates and sets up the BaseSystem according to the specified configuration.
Definition: basesystem.h:116
bool m_initSymbolTable
This flag controls whether or not the StackRegistry calls SymInitialize() and SymCleanup().
Definition: basesystem.h:90
InitializationLogLevel
Controls the log level to use in the function BaseSystem::Init()
Definition: basesystem.h:44
BaseSystemConfig Config
Defines a type for the configuration object used to initialize the BaseSystem.
Definition: basesystem.h:109
DefaultLog::LogToMode m_defaultLogToMode
Specifies the output locations in which the BaseSystem will print debug messages when using its defau...
Definition: basesystem.h:61
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
static void Init(const Config &config)
Sets up the BaseSystem according to the specified configuration.
Definition: basesystem.h:122
SysAllocBase * m_sysAlloc
Provides an instance of a class that implements the SysAlloc interface, which will be invoked any tim...
Definition: basesystem.h:81
static bool IsInitialized()
Indicates whether or not the BaseSystem has been successfully initialized.
Definition: basesystem.h:129
In Navigation, BaseLog MUST be used instead of Kaim::Log.
Definition: baselog.h:18
InitializationLogLevel m_initializationLogLevel
Controls the log level to use in the function BaseSystem::Init().
Definition: basesystem.h:94
The BaseSystem provides Autodesk Navigation components with a set of objects used for memory allocati...
Definition: basesystem.h:106
BaseSystem()
Creates and sets up the new BaseSystem with a default configuration.
Definition: basesystem.h:113
~BaseSystem()
Calls static function BaseSystem::Destroy()
Definition: basesystem.h:119
An abstract interface for performance tracking markers.
Definition: iperfmarkerinterface.h:18