TORCS  1.3.9
The Open Racing Car Simulator
Parameter Handling API

With this API you can handle parameter sets in TORCS, this includes manipulation of data in memory, and writing into/reading from XML files. More...

Collaboration diagram for Parameter Handling API:

Modules

 Parameter Handling API Setup
 Initialize and shutdown the Parameter Handling API.
 
 Parameter File Handling API
 Create, read and write parameter files.
 
 Parameter Data Handling API
 Handling of data in parameter sets.
 
 Parameter List Handling API
 Handling of multiple sections or subsections and the elements in parameter sets.
 
 Parameter Helper Functions
 Internal (not exported) helper functions, not part of the API.
 

Detailed Description

With this API you can handle parameter sets in TORCS, this includes manipulation of data in memory, and writing into/reading from XML files.

The parameters are structured in:
section - containing a familly of parameters on the same topic.
list (subsections) - containing elements of numerical attributes and string attributes.

The API is not thread safe, because parameter sets and handles carry internal state regarding iteration and XML parsing. The parameter sets are reference counted, so usually multiple handles can refer to the same parameter set.