TORCS  1.3.9
The Open Racing Car Simulator
RespTable Class Reference

#include <RespTable.h>

Collaboration diagram for RespTable:

Public Member Functions

const Responsefind (DtObjectRef obj1, DtObjectRef obj2) const
 
void cleanObject (DtObjectRef obj)
 
void setDefault (const Response &resp)
 
void setSingle (DtObjectRef obj, const Response &resp)
 
void resetSingle (DtObjectRef obj)
 
void setPair (DtObjectRef obj1, DtObjectRef obj2, const Response &resp)
 
void resetPair (DtObjectRef obj1, DtObjectRef obj2)
 

Private Attributes

Response defaultResp
 
SingleList singleList
 
PairList pairList
 

Detailed Description

Definition at line 47 of file RespTable.h.

Member Function Documentation

◆ cleanObject()

void RespTable::cleanObject ( DtObjectRef  obj)

Definition at line 48 of file RespTable.cpp.

Here is the call graph for this function:

◆ find()

const Response & RespTable::find ( DtObjectRef  obj1,
DtObjectRef  obj2 
) const

Definition at line 35 of file RespTable.cpp.

Here is the call graph for this function:

◆ resetPair()

void RespTable::resetPair ( DtObjectRef  obj1,
DtObjectRef  obj2 
)
inline

Definition at line 64 of file RespTable.h.

Here is the call graph for this function:

◆ resetSingle()

void RespTable::resetSingle ( DtObjectRef  obj)
inline

Definition at line 58 of file RespTable.h.

◆ setDefault()

void RespTable::setDefault ( const Response resp)
inline

Definition at line 52 of file RespTable.h.

◆ setPair()

void RespTable::setPair ( DtObjectRef  obj1,
DtObjectRef  obj2,
const Response resp 
)
inline

Definition at line 60 of file RespTable.h.

Here is the call graph for this function:

◆ setSingle()

void RespTable::setSingle ( DtObjectRef  obj,
const Response resp 
)
inline

Definition at line 54 of file RespTable.h.

Member Data Documentation

◆ defaultResp

Response RespTable::defaultResp
private

Definition at line 71 of file RespTable.h.

◆ pairList

PairList RespTable::pairList
private

Definition at line 73 of file RespTable.h.

◆ singleList

SingleList RespTable::singleList
private

Definition at line 72 of file RespTable.h.


The documentation for this class was generated from the following files: