HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_TBBProxy.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: UT_TBBProxy.h (UT Library, C++)
7  *
8  * COMMENTS: Proxy interface for using TBB features that may not be
9  * available when loaded into a third-party application.
10  */
11 
12 #ifndef __UT_TBBPROXY_H_INCLUDED__
13 #define __UT_TBBPROXY_H_INCLUDED__
14 
15 #include "UT_API.h"
16 #include <stddef.h>
17 
19 {
20 public:
21 
22  static UT_TBBProxy* get();
23 
24  void * (*createTaskArena)(
25  void *arena, size_t sizeof_arena,
26  int max_concurrency, unsigned reserved_for_masters);
27 
28  void (*destroyTaskArena)(void *arena);
29  void (*taskArenaExecute)(
30  void *arena, void (*callback)(void *data), void *data);
31 
32  int (*scalableAllocationCommand)(int cmd, void *param);
33 
34  class Lib;
35 
36 private:
37  UT_TBBProxy();
38 
39  friend class Lib;
40 };
41 
42 #endif // __UT_TBBPROXY_H_INCLUDED__
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
#define UT_API
Definition: UT_API.h:12
GLboolean * data
Definition: glcorearb.h:130
GLenum GLfloat param
Definition: glcorearb.h:103
typedef int
Definition: png.h:1175