#include <ExecParams.h>
Class gathering parameters use by most components methods, and transmitted by all visitors. More...
Class gathering parameters use by most components methods, and transmitted by all visitors.
Public Member Functions | |
bool | checkValidStorage () const |
ExecMode | execMode () const |
Mode of execution requested. More... | |
int | threadID () const |
Index of current thread (0 corresponding to the only thread in sequential mode, or first thread in parallel mode) More... | |
int | nbThreads () const |
Number of threads currently known to Sofa. More... | |
ExecParams () | |
void | update () |
Make sure this instance is up-to-date relative to the current thread. More... | |
ExecParams & | setExecMode (ExecMode v) |
Request a specific mode of execution. More... | |
ExecParams & | setThreadID (int v) |
Specify the index of the current thread. More... | |
Static Public Member Functions | |
static ExecParams * | defaultInstance () |
Get the default ExecParams, to be used to provide a default values for method parameters. More... | |
|
inline |
bool sofa::core::ExecParams::checkValidStorage | ( | ) | const |
|
static |
Get the default ExecParams, to be used to provide a default values for method parameters.
|
inline |
Mode of execution requested.
|
inline |
Number of threads currently known to Sofa.
|
inline |
Request a specific mode of execution.
|
inline |
Specify the index of the current thread.
|
inline |
Index of current thread (0 corresponding to the only thread in sequential mode, or first thread in parallel mode)
void sofa::core::ExecParams::update | ( | ) |
Make sure this instance is up-to-date relative to the current thread.