Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Type enables transmission of splitting proportion from partitioners to range objects. More...
#include <tbb_stddef.h>
Public Member Functions | |
proportional_split (size_t _left=1, size_t _right=1) | |
size_t | left () const |
size_t | right () const |
operator split () const | |
Private Attributes | |
size_t | my_left |
size_t | my_right |
Additional Inherited Members | |
![]() | |
void | operator= (const no_assign &)=delete |
no_assign (const no_assign &)=default | |
no_assign ()=default | |
Type enables transmission of splitting proportion from partitioners to range objects.
In order to make use of such facility Range objects must implement splitting constructor with this type passed and initialize static constant boolean field 'is_splittable_in_proportion' with the value of 'true'
Definition at line 426 of file tbb_stddef.h.
|
inline |
Definition at line 428 of file tbb_stddef.h.
|
inline |
Definition at line 430 of file tbb_stddef.h.
References my_left.
Referenced by tbb::blocked_range< I >::do_split(), and tbb::interface9::internal::proportional_mode< static_partition_type >::do_split().
|
inline |
Definition at line 434 of file tbb_stddef.h.
|
inline |
Definition at line 431 of file tbb_stddef.h.
References my_right.
Referenced by tbb::blocked_range< I >::do_split(), and tbb::interface9::internal::proportional_mode< static_partition_type >::do_split().
|
private |
Definition at line 443 of file tbb_stddef.h.
Referenced by left().
|
private |
Definition at line 443 of file tbb_stddef.h.
Referenced by right().