gwnavruntime/queries/monodirectionalraycangoquery.h Source File

monodirectionalraycangoquery.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 
18 template<class TraverseLogic>
20 {
21 public:
22  virtual void Advance(WorkingMemory* workingMemory)
23  {
24  PerformQuery(workingMemory);
25  m_processStatus = QueryDone;
26  }
27 
29  void PerformQuery(WorkingMemory* workingMemory = nullptr);
30 
32  void PerformQueryWithInputCoordPos(WorkingMemory* workingMemory);
33 };
34 
35 }
36 
38 
39 
40 
QueryProcessStatus m_processStatus
Modified by the query within Advance(). Do not modify.
Definition: iquery.h:231
virtual void Advance(WorkingMemory *workingMemory)
This function is called by the QueryQueue to process one step on the query.
Definition: monodirectionalraycangoquery.h:22
void PerformQueryWithInputCoordPos(WorkingMemory *workingMemory)
Performs the query after SetStartIntegerPos() and SetDestIntegerPos() were called.
Definition: monodirectionalraycangoquery.inl:34
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
The MonodirectionalRayCanGoQuery is an internal version of the RayCanGoQuery that tests navTag switch...
Definition: monodirectionalraycangoquery.h:19
Base class for RayCanGoQuery.
Definition: baseraycangoquery.h:42
void PerformQuery(WorkingMemory *workingMemory=nullptr)
If workingMemory param is nullptr, m_database.GetWorkingMemory() will be used.
Definition: monodirectionalraycangoquery.inl:11