HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_BlockedRange2D< T_ROW, T_COL > Class Template Reference

#include <UT_ParallelUtil.h>

+ Inheritance diagram for UT_BlockedRange2D< T_ROW, T_COL >:

Public Member Functions

 UT_BlockedRange2D ()
 
 UT_BlockedRange2D (T_ROW row_begin, T_ROW row_end, T_COL col_begin, T_COL col_end, size_t row_grainsize=1, size_t col_grainsize=1)
 NB: The arguments are in a different order than tbb. More...
 
 UT_BlockedRange2D (UT_BlockedRange2D &R, UT_Split split)
 

Detailed Description

template<typename T_ROW, typename T_COL = T_ROW>
class UT_BlockedRange2D< T_ROW, T_COL >

UT_BlockedRange2D() is a simple wrapper using tbb for its implementation This meets the requirements for a Range object, which are:

  • Range::Range(const Range&);

    Copy constructor
  • Range::~Range();

    Destructor
  • bool Range::is_divisible() const;

    True if the range can be partitioned into two sub-ranges
  • bool Range::empty() const;

    True if the range is empty
  • Range::Range(Range &r, UT_Split) const;

    Split the range r into two sub-ranges (i.e. modify r and *this)

Definition at line 37 of file UT_ParallelUtil.h.

Constructor & Destructor Documentation

template<typename T_ROW, typename T_COL = T_ROW>
UT_BlockedRange2D< T_ROW, T_COL >::UT_BlockedRange2D ( )
inline

Definition at line 892 of file UT_ParallelUtil.h.

template<typename T_ROW, typename T_COL = T_ROW>
UT_BlockedRange2D< T_ROW, T_COL >::UT_BlockedRange2D ( T_ROW  row_begin,
T_ROW  row_end,
T_COL  col_begin,
T_COL  col_end,
size_t  row_grainsize = 1,
size_t  col_grainsize = 1 
)
inline

NB: The arguments are in a different order than tbb.

Definition at line 896 of file UT_ParallelUtil.h.

template<typename T_ROW, typename T_COL = T_ROW>
UT_BlockedRange2D< T_ROW, T_COL >::UT_BlockedRange2D ( UT_BlockedRange2D< T_ROW, T_COL > &  R,
UT_Split  split 
)
inline

Definition at line 902 of file UT_ParallelUtil.h.


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