HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
parallel_options Class Reference

Encapsulation of options that control parallel_image(). More...

#include <parallel.h>

Public Member Functions

 parallel_options (int maxthreads=0, SplitDir splitdir=Split_Y, size_t minitems=16384)
 
 parallel_options (string_view name, int maxthreads=0, SplitDir splitdir=Split_Y, size_t minitems=16384)
 
void resolve ()
 
bool singlethread () const
 

Public Attributes

int maxthreads = 0
 
SplitDir splitdir = Split_Y
 
bool recursive = false
 
size_t minitems = 16384
 
thread_poolpool = nullptr
 
string_view name
 

Detailed Description

Encapsulation of options that control parallel_image().

Definition at line 54 of file parallel.h.

Constructor & Destructor Documentation

parallel_options::parallel_options ( int  maxthreads = 0,
SplitDir  splitdir = Split_Y,
size_t  minitems = 16384 
)
inline

Definition at line 56 of file parallel.h.

parallel_options::parallel_options ( string_view  name,
int  maxthreads = 0,
SplitDir  splitdir = Split_Y,
size_t  minitems = 16384 
)
inline

Definition at line 63 of file parallel.h.

Member Function Documentation

void parallel_options::resolve ( )
inline

Definition at line 77 of file parallel.h.

bool parallel_options::singlethread ( ) const
inline

Definition at line 87 of file parallel.h.

Member Data Documentation

int parallel_options::maxthreads = 0

Definition at line 89 of file parallel.h.

size_t parallel_options::minitems = 16384

Definition at line 92 of file parallel.h.

string_view parallel_options::name

Definition at line 94 of file parallel.h.

thread_pool* parallel_options::pool = nullptr

Definition at line 93 of file parallel.h.

bool parallel_options::recursive = false

Definition at line 91 of file parallel.h.

SplitDir parallel_options::splitdir = Split_Y

Definition at line 90 of file parallel.h.


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