VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
DtParallelExecutionContainer< Texec >::ExecutableItem Class Reference

This class is used by TBB to manage the work units to perform. More...

+ Collaboration diagram for DtParallelExecutionContainer< Texec >::ExecutableItem:

Public Member Functions

void operator() (const tbb::blocked_range< size_t > &r) const
 Called by TBB to execute a method on a block of objects. More...
 
 ExecutableItem (const PecContainerType &theCV, void(Texec::*theMethodPtr)())
 ctor with vector of objects and method to call More...
 

Private Attributes

const PecContainerTypemyCV
 Publishers worked upon. More...
 
void(Texec::* myMethodPtr )()
 Member method to call in parallel. More...
 

Detailed Description

template<class Texec>
class DtParallelExecutionContainer< Texec >::ExecutableItem

This class is used by TBB to manage the work units to perform.

It is included in this header due to the nature of C++ templates, but is part of this implementation and NOT intended for direct use by application programmers.

Constructor & Destructor Documentation

template<class Texec>
DtParallelExecutionContainer< Texec >::ExecutableItem::ExecutableItem ( const PecContainerType theCV,
void(Texec::*)()  theMethodPtr 
)
inline

ctor with vector of objects and method to call

Member Function Documentation

template<class Texec>
void DtParallelExecutionContainer< Texec >::ExecutableItem::operator() ( const tbb::blocked_range< size_t > &  r) const
inline

Called by TBB to execute a method on a block of objects.

Member Data Documentation

template<class Texec>
const PecContainerType& DtParallelExecutionContainer< Texec >::ExecutableItem::myCV
private

Publishers worked upon.

template<class Texec>
void(Texec::* DtParallelExecutionContainer< Texec >::ExecutableItem::myMethodPtr)()
private

Member method to call in parallel.


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

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)