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 DtEnableParallelExecutionAccess (bool enable)
 Enable locking a resource only if parallel section is active (default).
void DtLockParallelExecutionAccess ()
 Lock a resource only if parallel section is active.
void DtUnlockParallelExecutionAccess ()
 Unlock a resource only if parallel section is active.
void DtEnterParallelExecutionSection ()
 Begin publishing in parallel.
void DtLeaveParallelExecutionSection ()
 End publishing in parallel.

Detailed Description

Contains the DtParallelExecutionContainer class declarations.

Function Documentation

bool DtEnableParallelExecutionAccess ( 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 DtEnterParallelExecutionSection ( )

Begin publishing in parallel.

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

void DtLeaveParallelExecutionSection ( )

End publishing in parallel.

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

void DtLockParallelExecutionAccess ( )

Lock a resource only if parallel section is active.

Referenced by DtScopedParallelExecutionLock::DtScopedParallelExecutionLock().

void DtUnlockParallelExecutionAccess ( )

Unlock a resource only if parallel section is active.

Referenced by DtScopedParallelExecutionLock::~DtScopedParallelExecutionLock().


Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)