TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
Parameter Handling API Setup

Initialize and shutdown the Parameter Handling API. More...

Collaboration diagram for Parameter Handling API Setup:

Functions

void GfParmInit (void)
 Parameter set library API initialization, set up parameter set handle cache.
void GfParmShutdown (void)
 Parameter set library API shutdown, removes parameter set handle cache.

Detailed Description

Initialize and shutdown the Parameter Handling API.

Function Documentation

◆ GfParmInit()

void GfParmInit ( void )

Parameter set library API initialization, set up parameter set handle cache.

Framework lifecycle function, called by TORCS initialization, not by robots. Must run before creating any handles; calling it with live handles loses the cache list. Not declared in the public tgf.h API.

Definition at line 160 of file params.cpp.

◆ GfParmShutdown()

void GfParmShutdown ( void )

Parameter set library API shutdown, removes parameter set handle cache.

Releases all registered handles and their data. Every outstanding handle and borrowed pointer becomes invalid. Framework lifecycle function, not declared in the public tgf.h API; robots should release only their own handles.

Definition at line 172 of file params.cpp.

Here is the call graph for this function: