integration/gwnavgenerationglue/defaultgeneratorglue.h Source File

defaultgeneratorglue.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 
8 
9 #ifndef KyGlue_DefaultGeneratorGlue_H
10 #define KyGlue_DefaultGeneratorGlue_H
11 
12 
18 
19 
20 namespace KyGlue
21 {
22 
26 {
27 public:
28  virtual Kaim::IParallelForInterface* GetParallelFor() { return &m_tbbparallelFor; }
29  virtual Kaim::ITlsAlloc* GetTlsAlloc() { return &m_tbbtlsAlloc; }
30  virtual Kaim::ICollisionInterface* GetVisInterface() { return &m_collisionInterface; }
31 
32 public:
33  KyGlue::DefaultGuidGeneratorInterface m_defaultGuidGenerator;
34  KyGlue::TbbParallelForInterface m_tbbparallelFor;
35  KyGlue::TbbTlsAlloc m_tbbtlsAlloc;
36  CollisionInterface m_collisionInterface;
37 };
38 
39 
40 }
41 
42 #endif
43 
Provides an abstract base interface for an object that can treat computational jobs in parallel...
Definition: iparallelforinterface.h:43
virtual Kaim::IParallelForInterface * GetParallelFor()
This method is expected to return a pointer to an object that the Generator will use to parallelize c...
Definition: defaultgeneratorglue.h:29
This implementation of Kaim::ITlsAlloc uses the scalable memory allocation functions provided with th...
Definition: tbbtlsalloc.h:23
Definition: defaultgeneratorglue.h:20
Generates GUIDs automatically on Windows, Mac OS X and Linux platforms by calling system functions...
Definition: defaultguidgeneratorinterface.h:19
Implementation of ICollisionInterface that uses Bullet.
Definition: bulletcollisioninterface.h:32
An abstract interface for an object that can perform collision queries.
Definition: icollisioninterface.h:26
virtual Kaim::ITlsAlloc * GetTlsAlloc()
This method is expected to return a pointer to an object that the Generator will use to allocate and ...
Definition: defaultgeneratorglue.h:30
This implementation of Kaim::IParallelForInterface uses the open-source Threaded Building Blocks (TBB...
Definition: tbbparallelforinterface.h:26
Default implementation of a class that hooks a third-party parallel processing framework to the NavDa...
Definition: defaultgeneratorglue.h:25
Provides an abstract base interface for a class that the Generator can invoke in order to retrieve ob...
Definition: igeneratorglue.h:35