torcs - 1.2.2

Parameters File manipulation.
[Parameters file management.]


Detailed Description

Read, write, merge parameters files.


Functions

char * GfParmGetFileName (void *handle)
 Get the pararmeters file name.

int GfParmCheckHandle (void *ref, void *tgt)
 Check a parameter set against another.

void * GfParmMergeHandles (void *ref, void *tgt, int mode)
 Merge two parameters sets into a new one.


Function Documentation

int GfParmCheckHandle void *  ref,
void *  tgt
 

Check a parameter set against another.

Parameters:
ref Contains the min and max values (reference)
tgt Contains the parameters to check.
Returns:
0 Match
-1 Values are out of bounds
Warning:
Only the parameters present in tgt and in ref are tested.
See also:
GfParmMergeHandles

char* GfParmGetFileName void *  handle  ) 
 

Get the pararmeters file name.

Parameters:
handle Handle on the parameters
Returns:
File Name

void* GfParmMergeHandles void *  ref,
void *  tgt,
int  mode
 

Merge two parameters sets into a new one.

Parameters:
ref reference handle
tgt target handle for merge
mode merge mode, can be any combination of:
GFPARM_MMODE_SRC Use ref and modify existing parameters with tgt
GFPARM_MMODE_DST Use tgt and verify ref parameters
GFPARM_MMODE_RELSRC Release ref after the merge
GFPARM_MMODE_RELDST Release tgt after the merge
Returns:
The new handle containing the merge.
See also:
GfParmCheckHandle

Here is the call graph for this function:


Generated at Thu Feb 26 21:54:22 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.