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...
|
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. | |
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.