#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
Go to the source code of this file.
|
| MRC_API bool | MR_reportProgress_2 (MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, float v) |
| |
| MRC_API bool | MR_reportProgress_4 (MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, float v, MR_uint64_t counter, int divider) |
| |
| MRC_API MR_std_function_bool_from_float * | MR_subprogress_float (MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, float from, float to) |
| |
| MRC_API MR_std_function_bool_from_float * | MR_subprogress_uint64_t (MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, MR_uint64_t index, MR_uint64_t count) |
| |
◆ MR_std_function_bool_from_float
◆ MR_reportProgress_2()
safely invokes
- Parameters
-
| cb | with given value; just returning true for empty callback Generated from function MR::reportProgress. |
◆ MR_reportProgress_4()
safely invokes
- Parameters
-
| cb | with given value if |
| counter | is divisible by |
| divider | (preferably a power of 2); just returning true for empty callback Generated from function MR::reportProgress. |
◆ MR_subprogress_float()
returns a callback that maps [0,1] linearly into [from,to] in the call to
- Parameters
-
◆ MR_subprogress_uint64_t()
returns a callback that maps [0,1] linearly into [(index+0)/count,(index+1)/count] in the call to
- Parameters
-