PxVisualDebuggerExt.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
11 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
12 
13 
14 #ifndef PX_PHYSICS_EXTENSIONS_VISUAL_DEBUGGER_H
15 #define PX_PHYSICS_EXTENSIONS_VISUAL_DEBUGGER_H
16 
19 #include "pvd/PxVisualDebugger.h"
20 #include "foundation/Px.h"
21 #include "PxPhysXConfig.h"
22 #include "foundation/PxFlags.h"
23 #include "physxvisualdebuggersdk/PvdConnectionManager.h"
24 #include "physxvisualdebuggersdk/PvdConnection.h"
25 
26 
27 #ifndef PX_DOXYGEN
28 namespace physx { namespace debugger { namespace comm {
29 #endif
30  class PvdConnectionManager;
31  class PvdConnection;
32 #ifndef PX_DOXYGEN
33 }}}
34 #endif
35 
36 #ifndef PX_DOXYGEN
37 namespace physx
38 {
39 #endif
40 
47 {
48  enum Enum
49  {
58  eDEBUG = 1 << 0,
70  ePROFILE = 1 << 1,
91  eMEMORY = 1 << 2
92  };
93 };
94 
95 typedef physx::PxFlags<PxVisualDebuggerConnectionFlag::Enum, PxU32> PxVisualDebuggerConnectionFlags;
97 
98 
102 {
103 public:
104 
119  static PxVisualDebuggerConnection* createConnection( PxVisualDebuggerConnectionManager* inMgr
120  , const char* inHost
121  , int inPort //defaults to 5425
122  , unsigned int inTimeoutInMilliseconds
123  , PxVisualDebuggerConnectionFlags inConnectionType = getDefaultConnectionFlags() );
124 
125 
137  static PxVisualDebuggerConnection* createConnection( PxVisualDebuggerConnectionManager* inMgr
138  , const char* filename
139  , PxVisualDebuggerConnectionFlags inConnectionType = getDefaultConnectionFlags() );
140 
141 
148 
154 
155 };
156 
157 #ifndef PX_DOXYGEN
158 } // namespace physx
159 #endif
160 
162 #endif // PX_PHYSICS_EXTENSIONS_VISUAL_DEBUGGER_H


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com