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#ifndef PVD_CONNECTION_FLAGS_H
11#define PVD_CONNECTION_FLAGS_H
12
13#include "foundation/PxFlags.h"
14
15namespace physx { namespace debugger {
16
17 struct PvdConnectionType
18 {
19 enum Enum
20 {
21 eDEBUG = 1 << 0,
22 ePROFILE = 1 << 1,
23 eMEMORY = 1 << 2
24 };
25 };
26
27 typedef PxFlags<PvdConnectionType::Enum,PxU32> TConnectionFlagsType;
28 PX_FLAGS_OPERATORS(PvdConnectionType::Enum, PxU32 )
29
30 static inline TConnectionFlagsType defaultConnectionFlags() { return TConnectionFlagsType( PvdConnectionType::eDEBUG | PvdConnectionType::ePROFILE | PvdConnectionType::eMEMORY ); }
31
32 struct PvdConnectionState
33 {
34 enum Enum
35 {
36 eIDLE = 0,
37 eRECORDINGORVIEWING,
38 ePAUSED
39 };
40 };
41}}
42
43#endif
44