Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
A 2-dimensional range that models the Range concept. More...
#include <blocked_range2d.h>
Public Types | |
typedef blocked_range< RowValue > | row_range_type |
Type for size of an iteration range. More... | |
typedef blocked_range< ColValue > | col_range_type |
Public Member Functions | |
blocked_range2d (RowValue row_begin, RowValue row_end, typename row_range_type::size_type row_grainsize, ColValue col_begin, ColValue col_end, typename col_range_type::size_type col_grainsize) | |
blocked_range2d (RowValue row_begin, RowValue row_end, ColValue col_begin, ColValue col_end) | |
bool | empty () const |
True if range is empty. More... | |
bool | is_divisible () const |
True if range is divisible into two pieces. More... | |
blocked_range2d (blocked_range2d &r, split) | |
blocked_range2d (blocked_range2d &r, proportional_split &proportion) | |
const row_range_type & | rows () const |
The rows of the iteration space. More... | |
const col_range_type & | cols () const |
The columns of the iteration space. More... | |
Static Public Attributes | |
static const bool | is_splittable_in_proportion = true |
Static field to support proportional split. More... | |
Private Member Functions | |
template<typename Split > | |
void | do_split (blocked_range2d &r, Split &split_obj) |
Private Attributes | |
row_range_type | my_rows |
col_range_type | my_cols |
A 2-dimensional range that models the Range concept.
Definition at line 28 of file blocked_range2d.h.
typedef blocked_range<ColValue> tbb::blocked_range2d< RowValue, ColValue >::col_range_type |
Definition at line 32 of file blocked_range2d.h.
typedef blocked_range<RowValue> tbb::blocked_range2d< RowValue, ColValue >::row_range_type |
Type for size of an iteration range.
Definition at line 31 of file blocked_range2d.h.
|
inline |
Definition at line 40 of file blocked_range2d.h.
|
inline |
Definition at line 46 of file blocked_range2d.h.
|
inline |
Definition at line 63 of file blocked_range2d.h.
References tbb::blocked_range2d< RowValue, ColValue >::do_split().
|
inline |
Definition at line 75 of file blocked_range2d.h.
References tbb::blocked_range2d< RowValue, ColValue >::do_split().
|
inline |
The columns of the iteration space.
Definition at line 87 of file blocked_range2d.h.
References tbb::blocked_range2d< RowValue, ColValue >::my_cols.
|
inlineprivate |
Definition at line 92 of file blocked_range2d.h.
References tbb::blocked_range< ColValue >::do_split(), tbb::blocked_range< RowValue >::do_split(), tbb::blocked_range< Value >::grainsize(), tbb::blocked_range< Value >::my_begin, tbb::blocked_range2d< RowValue, ColValue >::my_cols, tbb::blocked_range2d< RowValue, ColValue >::my_rows, and tbb::blocked_range< Value >::size().
Referenced by tbb::blocked_range2d< RowValue, ColValue >::blocked_range2d().
|
inline |
True if range is empty.
Definition at line 53 of file blocked_range2d.h.
References tbb::blocked_range< Value >::empty(), tbb::blocked_range2d< RowValue, ColValue >::my_cols, and tbb::blocked_range2d< RowValue, ColValue >::my_rows.
|
inline |
True if range is divisible into two pieces.
Definition at line 59 of file blocked_range2d.h.
References tbb::blocked_range< Value >::is_divisible(), tbb::blocked_range2d< RowValue, ColValue >::my_cols, and tbb::blocked_range2d< RowValue, ColValue >::my_rows.
|
inline |
The rows of the iteration space.
Definition at line 84 of file blocked_range2d.h.
References tbb::blocked_range2d< RowValue, ColValue >::my_rows.
|
static |
Static field to support proportional split.
Definition at line 73 of file blocked_range2d.h.
|
private |
|
private |