PxCpuDispatcher.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 
11 #ifndef PX_CPU_DISPATCHER_H
12 #define PX_CPU_DISPATCHER_H
13 
14 #include "foundation/Px.h"
15 
16 #ifndef PX_DOXYGEN
17 namespace physx
18 {
19 #endif
20 
21 class PxBaseTask;
22 
34 {
35 public:
47  virtual void submitTask( PxBaseTask& task ) = 0;
48 
56  virtual PxU32 getWorkerCount() const = 0;
57 
58  virtual ~PxCpuDispatcher() {}
59 };
60 
61 #ifndef PX_DOXYGEN
62 } // end physx namespace
63 #endif
64 
65 #endif


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