Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CCmpPathfinder::PathRequests< T > Class Template Reference

#include <CCmpPathfinder_Common.h>

Public Member Functions

void ClearComputed ()
 
void PrepareForComputation (u16 max)
 
template<typename U >
void Compute (const CCmpPathfinder &cmpPathfinder, const U &pathfinder)
 

Public Attributes

std::vector< Tm_Requests
 
std::vector< PathResultm_Results
 
std::atomic< size_t > m_NextPathToCompute = 0
 
std::atomic< bool > m_ComputeDone = true
 

Member Function Documentation

◆ ClearComputed()

template<typename T >
void CCmpPathfinder::PathRequests< T >::ClearComputed ( )
inline

◆ Compute()

template<typename T >
template<typename U >
void CCmpPathfinder::PathRequests< T >::Compute ( const CCmpPathfinder cmpPathfinder,
const U &  pathfinder 
)

◆ PrepareForComputation()

template<typename T >
void CCmpPathfinder::PathRequests< T >::PrepareForComputation ( u16  max)
inline
Parameters
max- if non-zero, how many paths to process.

Member Data Documentation

◆ m_ComputeDone

template<typename T >
std::atomic<bool> CCmpPathfinder::PathRequests< T >::m_ComputeDone = true

◆ m_NextPathToCompute

template<typename T >
std::atomic<size_t> CCmpPathfinder::PathRequests< T >::m_NextPathToCompute = 0

◆ m_Requests

template<typename T >
std::vector<T> CCmpPathfinder::PathRequests< T >::m_Requests

◆ m_Results

template<typename T >
std::vector<PathResult> CCmpPathfinder::PathRequests< T >::m_Results

The documentation for this class was generated from the following files: