gwnavruntime/queries/raycangoquery.h Source File

raycangoquery.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 
19 template<class TraverseLogic>
21 {
22 public:
23  virtual void Advance(WorkingMemory* workingMemory)
24  {
25  PerformQuery(workingMemory);
26  m_processStatus = QueryDone;
27  }
28 
30  void PerformQuery(WorkingMemory* workingMemory = nullptr);
31 
33  void PerformQueryWithInputCoordPos(WorkingMemory* workingMemory);
34 };
35 
36 }
37 
39 
40 
41 
QueryProcessStatus m_processStatus
Modified by the query within Advance(). Do not modify.
Definition: iquery.h:231
void PerformQueryWithInputCoordPos(WorkingMemory *workingMemory)
Performs the query after SetStartIntegerPos() and SetDestIntegerPos() were called.
Definition: raycangoquery.inl:34
The RayCanGoQuery tests if a ray can go from start to dest on the navmesh.
Definition: raycangoquery.h:20
void PerformQuery(WorkingMemory *workingMemory=nullptr)
If workingMemory param is nullptr, m_database.GetWorkingMemory() will be used.
Definition: raycangoquery.inl:11
virtual void Advance(WorkingMemory *workingMemory)
This function is called by the QueryQueue to process one step on the query.
Definition: raycangoquery.h:23
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
Base class for RayCanGoQuery.
Definition: baseraycangoquery.h:42