VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
parallelExecutionContainer.h File Reference

Contains the DtParallelExecutionContainer class declarations. More...

Go to the source code of this file.

Classes

class  DtScopedParallelExecutionLock
 Convenience class for scoped locking. More...
class  DtParallelExecutionContainer< Texec >
 DtParallelExecutionContainer is implementation of DtExecutionContainer which executes methods on all contained objects in parallel on multiple threads. More...
class  DtParallelExecutionContainer< Texec >::ExecutableItem
 This class is used by TBB to manage the work units to perform. More...

Functions

bool enableParallelExecutionAccess (bool enable)
 Enable locking a resource only if parallel section is active (default).
void lockParallelExecutionAccess ()
 Lock a resource only if parallel section is active.
void unlockParallelExecutionAccess ()
 Unlock a resource only if parallel section is active.
void enterParallelExecutionSection ()
 Begin publishing in parallel.
void leaveParallelExecutionSection ()
 End publishing in parallel.

Detailed Description

Contains the DtParallelExecutionContainer class declarations.

Function Documentation

bool enableParallelExecutionAccess ( bool  enable)

Enable locking a resource only if parallel section is active (default).

Returns TRUE on success, FALSE on failure. Call fails if any parallel sections are currently active.

void enterParallelExecutionSection ( )

Begin publishing in parallel.

Referenced by DtParallelExecutionContainer< DtObjectPublisher >::beginParallel().

void leaveParallelExecutionSection ( )

End publishing in parallel.

Referenced by DtParallelExecutionContainer< DtObjectPublisher >::endParallel().

void lockParallelExecutionAccess ( )

Lock a resource only if parallel section is active.

Referenced by DtScopedParallelExecutionLock::DtScopedParallelExecutionLock().

void unlockParallelExecutionAccess ( )

Unlock a resource only if parallel section is active.

Referenced by DtScopedParallelExecutionLock::~DtScopedParallelExecutionLock().


Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)