HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ut_TaskScopedBody< Range, Body > Class Template Reference

#include <UT_ParallelUtil.h>

Public Member Functions

 ut_TaskScopedBody (const Body *body)
 
 ut_TaskScopedBody (const ut_TaskScopedBody &src)
 
void operator() (const Range &r) const
 

Detailed Description

template<typename Range, typename Body>
class ut_TaskScopedBody< Range, Body >

Helper class for UTparallelFor(). Wraps the thread body in a task scope so that thread stats are collected by the performance monitor, and child tasks can inherit task scope locks from the parent task.

Definition at line 130 of file UT_ParallelUtil.h.

Constructor & Destructor Documentation

template<typename Range , typename Body >
ut_TaskScopedBody< Range, Body >::ut_TaskScopedBody ( const Body *  body)
inline

Definition at line 133 of file UT_ParallelUtil.h.

template<typename Range , typename Body >
ut_TaskScopedBody< Range, Body >::ut_TaskScopedBody ( const ut_TaskScopedBody< Range, Body > &  src)
inline

Definition at line 139 of file UT_ParallelUtil.h.

Member Function Documentation

template<typename Range , typename Body >
void ut_TaskScopedBody< Range, Body >::operator() ( const Range &  r) const
inline

Definition at line 145 of file UT_ParallelUtil.h.


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