torcs - 1.2.2

RobotItf Struct Reference
[Robots functions interface.]

#include <robot.h>

List of all members.


Detailed Description

Interface for robots.


Public Attributes

tfRbNewTrack rbNewTrack
 Give the robot the track view.

tfRbNewRace rbNewRace
 Start a new race.

tfRbEndRace rbEndRace
 End of the current race.

tfRbDrive rbDrive
 Drive during race.

tfRbPitCmd rbPitCmd
 Get the driver's pit commands.

tfRbShutdown rbShutdown
 Called before the dll is unloaded.

int index
 Index used if multiple interfaces.


Member Data Documentation

int RobotItf::index
 

Index used if multiple interfaces.

tfRbDrive RobotItf::rbDrive
 

Drive during race.

tfRbEndRace RobotItf::rbEndRace
 

End of the current race.

tfRbNewRace RobotItf::rbNewRace
 

Start a new race.

tfRbNewTrack RobotItf::rbNewTrack
 

Give the robot the track view.

Called for every track change or new race

tfRbPitCmd RobotItf::rbPitCmd
 

Get the driver's pit commands.


Returns:

  • ROB_PIT_IM
  • ROB_PIT_MENU

tfRbShutdown RobotItf::rbShutdown
 

Called before the dll is unloaded.


The documentation for this struct was generated from the following file:
Generated at Thu Feb 26 21:54:12 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.