IRunLoopRunnerImpl#

Fully qualified name: omni::kit::IRunLoopRunnerImpl

struct IRunLoopRunnerImpl#

Interface for controlling the run loop execution.

Provides functionality to control the simulation loop’s execution mode and timing, allowing for manual stepping and mode control

Public Members

void (*setManualMode)(const bool enabled, const std::string &name)#

Enables or disables manual stepping mode.

Param enabled:

[in] True to enable manual stepping, false for automatic

Param name:

[in] Identifier for the run loop instance

void (*setManualStepSize)(const double dt, const std::string &name)#

Sets the time step size for manual stepping.

Param dt:

[in] Time step size in seconds

Param name:

[in] Identifier for the run loop instance

bool (*getManualMode)(const std::string &name)#

Gets the manual mode for the run loop.

Param name:

[in] Identifier for the run loop instance

Return:

True if manual mode is enabled, false otherwise

double (*getManualStepSize)(const std::string &name)#

Gets the manual step size for the run loop.

Param name:

[in] Identifier for the run loop instance

Return:

Manual step size in seconds