MainLoop

From SIMboxWiki
Jump to navigation Jump to search

Description

Use the function mainLoop to activate a single frame in the simulation.

Syntax

static bool mainLoop(

);

Return Value

True - Function succeeded.

False - Function failed.

Example

//On Idle the simulation execution is performed by calls to mainLoop()

BOOL SimulationMain::OnIdle( LONG lCount )

{

return SimApi::Control::mainLoop();

}

See Also

Start

Stop