gwnavgeneration/generator/igeneratorglue.h Source File

igeneratorglue.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 
13 namespace Kaim
14 {
15 
16 class IParallelForInterface;
17 class ITlsAlloc;
18 class ICollisionInterface;
19 
27 class IGeneratorGlue : public RefCountBaseV<IGeneratorGlue, MemStat_NavDataGen>
28 {
29 public:
30  virtual ~IGeneratorGlue() {}
31 
37 
41  virtual ITlsAlloc* GetTlsAlloc() = 0;
42 
43  // At the moment, the CollisionInterface is not used in the generation, even when the generation generates CollisionData files.
44  // This may change in the future, if the generation uses some 3D raycast against the geometry for example.
45  virtual ICollisionInterface* GetCollisionInterface() { return nullptr; }
46 };
47 
48 }
49 
50 
virtual IParallelForInterface * GetParallelFor()=0
This method is expected to return a pointer to an object that the Generator will use to parallelize c...
Provides an abstract base interface for an object that can treat computational jobs in parallel...
Definition: iparallelforinterface.h:36
An abstract interface for an object that can perform collision queries.
Definition: icollisioninterface.h:25
virtual ITlsAlloc * GetTlsAlloc()=0
This method is expected to return a pointer to an object that the Generator will use to allocate and ...
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
Provides an abstract base interface for a class that the Generator can invoke in order to retrieve ob...
Definition: igeneratorglue.h:27