KyGlue::DefaultGeneratorGlue Class Reference

#include <defaultgeneratorglue.h>

Class Description

Default implementation of a class that hooks a third-party parallel processing framework to the NavData generation system.

This implementation uses the Threaded Building Blocks (TBB) library from Intel.

+ Examples:

Inherits Kaim::IGeneratorGlue.

Public Member Functions

virtual Kaim::IParallelForInterfaceGetParallelFor ()
 
virtual Kaim::ITlsAlloc * GetTlsAlloc ()
 

Member Function Documentation

virtual Kaim::IParallelForInterface* KyGlue::DefaultGeneratorGlue::GetParallelFor ( )
inlinevirtual

This method is expected to return a pointer to an object that the Generator will use to parallelize computations over multiple processors, or KY_NULL in order to perform all computations sequentially on a single processor.

This object is not copied; you must ensure that you do not destroy it until after you are finished using the Generator.

Implements Kaim::IGeneratorGlue.

virtual Kaim::ITlsAlloc* KyGlue::DefaultGeneratorGlue::GetTlsAlloc ( )
inlinevirtual

This method is expected to return a pointer to an object that the Generator will use to allocate and free memory in secondary threads, when configured to use parallel generation.

This object is not copied; you must ensure that you do not destroy it until after you are finished using the Generator.

Implements Kaim::IGeneratorGlue.


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