gwnavruntime/visualdebug/visualdebugattributesmanager.h Source File

visualdebugattributesmanager.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 
8 // primary contact: MAMU - secondary contact: NOBODY
9 #ifndef GwNavRuntime_VisualDebugAttributesManager_H
10 #define GwNavRuntime_VisualDebugAttributesManager_H
11 
13 
14 namespace Kaim
15 {
16 
17 class VisualDebugServer;
18 
19 class VisualDebugAttributesManager
20 {
21  KY_DEFINE_NEW_DELETE_OPERATORS(MemStat_VisualDebug)
22 
23 public:
24  VisualDebugAttributesManager() {}
25  ~VisualDebugAttributesManager() { Clear(); }
26 
27  void Clear();
28 
29  VisualDebugAttributeGroup* GetAttributeGroup(const char* groupName);
30  VisualDebugAttributeGroup* CreateAttributeGroup(const char* groupName);
31  VisualDebugAttributeGroup* GetOrCreateAttributeGroup(const char* groupName);
32 
33  void RemoveAttributeGroup(const char* groupName, VisualDebugServer* server);
34 
35  void OnConnection(VisualDebugServer* server);
36  void SendVisualDebug(VisualDebugServer* server);
37 
38 public:
39  KyArray<VisualDebugAttributeGroup*> m_attributeGroups;
40 };
41 
42 }
43 
44 #endif
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137