Class Tools¶
Defined in File Tools.h
Class Documentation¶
-
class
genif
::
Tools
¶ Provide different handy tools to accomplish general tasks in this framework.
Public Static Functions
-
unsigned int
handleWorkerCount
(int workerCount)¶ Handles the worker count, which is passed to different functions. This function checks, whether the given worker count is less than one. In this case the maximum number of available cores is returned. Otherwise, the passed workerCount is returned.
- Return
The “handled” worker count.
- Parameters
workerCount
: The worker count to “handle”.
-
unsigned int