Rik's Treehouse
>
Babbling in Binary
>
My Software
>
Orphanware
>
R2DToo
>
R2DToo Help
>
For the Programmer
> onSimReady
onSimReady
Declaration
Remarks
Revisions
Example
See Also
Declaration
void __stdcall onSimReady(void);
Remarks
This optional function may be provided by the model. It is called after a new simulation has been created and after the agents have been created. You can use this function to do processing when the simulation is ready to start running.
Revisions
API v1.6
new!
Example
//--------------------------------------------------------------------------- void __stdcall onSimReady(void) { doSimRun(); // start running immediately (don't wait for user to press Run button) } //---------------------------------------------------------------------------
See Also
doSimRun
,
onSimCreate
,
onSimDestroy
.
[Rik's Office Hours]
[Contact Rik]
Last updated: Fri Apr 30 2004, 1:43pm