gwnavgeneration/generator/iparallelforinterface.h Source File
Go to the documentation of this file.
27 virtual void Do(
void* element) = 0;
43 InitObject(
IParallelForInterface* parallelFor) : m_parallelFor(parallelFor) {
if (m_parallelFor) m_parallelFor->Init(); }
44 ~InitObject() {
if (m_parallelFor) m_parallelFor->Terminate(); }
Provides an abstract base interface for an object that can treat computational jobs in parallel...
Definition: iparallelforinterface.h:36
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
virtual KyResult Init()=0
This method is expected to perform whatever steps are needed to initialize the parallelization mechan...
Provides an abstract base interface for an object that treats an element of data that can be passed t...
Definition: iparallelforinterface.h:21
virtual KyResult ParallelFor(void **elements, KyUInt32 elementsCount, Kaim::IParallelElementFunctor *functor)=0
This is the main method of the IParallelForInterface: it is called by Autodesk Navigation to manage t...
virtual void Do(void *element)=0
This method is carries out whatever processing needs to be done for the specified data element...
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
virtual KyResult Terminate()=0
This method is expected to perform whatever steps are needed to shut down the parallelization mechani...