HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 #pragma once
13 
14 #ifndef __UT_TBBPROXY_H_INCLUDED__
15 #define __UT_TBBPROXY_H_INCLUDED__
16 
17 #include "UT_API.h"
18 #include <stddef.h>
19 
21 {
22 public:
23 
24  static UT_TBBProxy* get();
25 
26  void * (*createTaskArena)(
27  void *arena, size_t sizeof_arena,
28  int max_concurrency, unsigned reserved_for_masters);
29 
30  void (*destroyTaskArena)(void *arena);
31  void (*taskArenaExecute)(
32  void *arena, void (*callback)(void *data), void *data);
33 
34  int (*scalableAllocationCommand)(int cmd, void *param);
35 
36  void (*initializeTaskArena)(void *arena);
37 
38  class Lib;
39 
40 private:
41  UT_TBBProxy();
42 
43  friend class Lib;
44 };
45 
46 #endif // __UT_TBBPROXY_H_INCLUDED__
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
void
Definition: png.h:1083
GLboolean * data
Definition: glcorearb.h:131
#define UT_API
Definition: UT_API.h:14
GLenum GLfloat param
Definition: glcorearb.h:104
Definition: format.h:895