#include <pathprogresscomputer.h>
PathProgressComputer maintains the progress of a Bot along a Path.
PathProgressComputer does NOT compute the output trajectory (spline or velocity...), the Trajectory class has this responsibility.
PathProgressComputer is stateless and shared among bots that use the same NavigationProfile.
There is a BasePathProgressComputer abstract base class and a PathProgressComputer<TraverseLogic> concrete class so that the Bot can call pathProgressComputer->Update() without being templated by TraverseLogic.
Users are not supposed to implement their own implementation of BasePathProgressComputer.
Inherits Kaim::BasePathProgressComputer.
Public Member Functions | |
| void | SetPathEventListObserver (const Ptr< IPathEventListObserver > &m_pathEventListObserver) |
| Ptr< IPathEventListObserver > | GetPathEventListObserver () |
| void | SetPositionOnPathCheckPointValidator (const Ptr< IPositionOnPathValidator > &positionOnPathCheckPointValidator) |
| Ptr< IPositionOnPathValidator > | GetPositionOnPathCheckPointValidator () |
| void | CleanPathEventListOnNewPath (Bot *bot) |
Public Member Functions | |
| PathProgressComputer () | |
| virtual | ~PathProgressComputer () |
| virtual void | Update (Bot *bot, KyFloat32 simulationTimeInSeconds) |
|
inherited |
Sets the SetPathEventListObserver.
|
inherited |
Sets the IPositionOnPathValidator to be used to validate target on path check points.