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 28 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 30 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 37 of file parallel.h.

Member Function Documentation

void parallel_options::resolve ( )
inline

Definition at line 51 of file parallel.h.

bool parallel_options::singlethread ( ) const
inline

Definition at line 61 of file parallel.h.

Member Data Documentation

int parallel_options::maxthreads = 0

Definition at line 63 of file parallel.h.

size_t parallel_options::minitems = 16384

Definition at line 66 of file parallel.h.

string_view parallel_options::name

Definition at line 68 of file parallel.h.

thread_pool* parallel_options::pool = nullptr

Definition at line 67 of file parallel.h.

bool parallel_options::recursive = false

Definition at line 65 of file parallel.h.

SplitDir parallel_options::splitdir = Split_Y

Definition at line 64 of file parallel.h.


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