VR-Link API Documentation for DIS
 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< T_ReturnValue >
 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). More...
 
void DtLockParallelExecutionAccess ()
 Lock a resource only if parallel section is active. More...
 
void DtUnlockParallelExecutionAccess ()
 Unlock a resource only if parallel section is active. More...
 
void DtEnterParallelExecutionSection ()
 Begin publishing in parallel. More...
 
void DtLeaveParallelExecutionSection ()
 End publishing in parallel. More...
 

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 Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)