integration/gwnavgenerationglue/defaultgeneratorglue.h Source File

defaultgeneratorglue.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 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 #pragma once
8 
12 #include "tbbtlsalloc.h"
13 
14 namespace KyGlue
15 {
16 
20 {
21 public:
22  virtual Kaim::IParallelForInterface* GetParallelFor() { return &m_tbbparallelFor; }
23  virtual Kaim::ITlsAlloc* GetTlsAlloc() { return &m_tbbtlsAlloc; }
24  virtual Kaim::ICollisionInterface* GetCollisionInterface() { return &m_collisionInterface; }
25 
26 public:
27  KyGlue::TbbParallelForInterface m_tbbparallelFor;
28  KyGlue::TbbTlsAlloc m_tbbtlsAlloc;
29  KyGlue::BulletCollisionInterface m_collisionInterface;
30 };
31 
32 }
33 
Provides an abstract base interface for an object that can treat computational jobs in parallel...
Definition: iparallelforinterface.h:36
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:22
This implementation of Kaim::ITlsAlloc uses the scalable memory allocation functions provided with th...
Definition: tbbtlsalloc.h:18
Definition: defaultgeneratorglue.h:14
An abstract interface for an object that can perform collision queries.
Definition: icollisioninterface.h:25
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:23
This implementation of Kaim::IParallelForInterface uses the open-source Threaded Building Blocks (TBB...
Definition: tbbparallelforinterface.h:22
Default implementation of a class that hooks a third-party parallel processing framework to the NavDa...
Definition: defaultgeneratorglue.h:19
Implementation of ICollisionInterface that uses Bullet.
Definition: bulletcollisioninterface.h:33
Provides an abstract base interface for a class that the Generator can invoke in order to retrieve ob...
Definition: igeneratorglue.h:27