gwnavruntime/basesystem/baselog.h Source File

baselog.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 // primary contact: GUAL - secondary contact: NOBODY
8 #ifndef Navigation_BaseLog_H
9 #define Navigation_BaseLog_H
10 
12 
13 namespace Kaim
14 {
15 
16 class VisualDebugServer;
17 
19 class BaseLog : public Log
20 {
21 public:
22  virtual void SetVisualDebugServer(VisualDebugServer* server) = 0;
23  virtual VisualDebugServer* GetVisualDebugServer() = 0;
24 
28  virtual void ReleaseMemorySystemResources() {}
29 
31  static BaseLog* GetGlobalBaseLog() { return (BaseLog*) GetGlobalLog(); }
32  static void SetGlobalBaseLog(BaseLog *log) { SetGlobalLog(log); }
33 };
34 
35 }
36 
37 #endif //Navigation_Logger_H
static BaseLog * GetGlobalBaseLog()
BaseLog static functions must be used instead of Log::
Definition: baselog.h:33
virtual void ReleaseMemorySystemResources()
This is called in Kaim::BaseSystem::Destroy() before Navigation memory system is destroyed.
Definition: baselog.h:30
Definition: gamekitcrowddispersion.h:20
The VisualDebugServer manages the sending of data to clients.
Definition: visualdebugserver.h:254
BaseLog must used instead of Kaim::Log due to parti pris for Navigation's VisualDebug.
Definition: baselog.h:19