TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
AlgoTable< Function > Class Template Reference

#include <AlgoTable.h>

Public Member Functions

void addEntry (ShapeType type1, ShapeType type2, Function function)
Function lookup (ShapeType type1, ShapeType type2) const

Private Attributes

Function table [NUM_TYPES][NUM_TYPES]

Detailed Description

template<class Function>
class AlgoTable< Function >

Definition at line 39 of file AlgoTable.h.

Member Function Documentation

◆ addEntry()

template<class Function>
void AlgoTable< Function >::addEntry ( ShapeType type1,
ShapeType type2,
Function function )
inline

Definition at line 41 of file AlgoTable.h.

◆ lookup()

template<class Function>
Function AlgoTable< Function >::lookup ( ShapeType type1,
ShapeType type2 ) const
inline

Definition at line 46 of file AlgoTable.h.

Member Data Documentation

◆ table

template<class Function>
Function AlgoTable< Function >::table[NUM_TYPES][NUM_TYPES]
private

Definition at line 51 of file AlgoTable.h.


The documentation for this class was generated from the following file:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/simu/simuv2/SOLID-2.0/src/AlgoTable.h