gwnavruntime/visualdebug/visualdebugattributesmanager.h Source File

visualdebugattributesmanager.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 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 #pragma once
8 
10 
11 namespace Kaim
12 {
13 
14 class VisualDebugServer;
15 
16 class VisualDebugAttributesManager
17 {
18  KY_DEFINE_NEW_DELETE_OPERATORS(MemStat_VisualDebug)
19 
20 public:
21  VisualDebugAttributesManager() {}
22  ~VisualDebugAttributesManager() { Clear(); }
23 
24  void Clear();
25 
26  VisualDebugAttributeGroup* GetAttributeGroup(const char* groupName);
27  VisualDebugAttributeGroup* CreateAttributeGroup(const char* groupName);
28  VisualDebugAttributeGroup* GetOrCreateAttributeGroup(const char* groupName);
29 
30  void RemoveAttributeGroup(const char* groupName, VisualDebugServer* server);
31 
32  void OnServerReadyToSend(VisualDebugServer* server);
33  void SendVisualDebug(VisualDebugServer* server);
34 
35 public:
36  KyArray<VisualDebugAttributeGroup*> m_attributeGroups;
37 };
38 
39 }
40 
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17