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);
Top of page

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.
Top of page

Revisions

API v1.6
  • new!
Top of page

Example

//--------------------------------------------------------------------------- void __stdcall onSimReady(void) { doSimRun(); // start running immediately (don't wait for user to press Run button) } //---------------------------------------------------------------------------
Top of page

See Also

doSimRun, onSimCreate, onSimDestroy.
Top of page
[Rik's Office Hours] [Contact Rik]
Last updated: Fri Apr 30 2004, 1:43pm