TORCS  1.3.9
The Open Racing Car Simulator
Endpoint.cpp File Reference
#include "Endpoint.h"
#include "Object.h"
#include "Encounter.h"
#include <new>
Include dependency graph for Endpoint.cpp:

Go to the source code of this file.

Classes

class  EndpointList
 

Functions

void addPair (ObjectPtr object1, ObjectPtr object2)
 
void removePair (ObjectPtr object1, ObjectPtr object2)
 
bool operator< (const Endpoint &a, const Endpoint &b)
 
void update (const Endpoint &a, const Endpoint &b)
 

Variables

static EndpointList endpointList [3]
 

Function Documentation

◆ addPair()

void addPair ( ObjectPtr  object1,
ObjectPtr  object2 
)

Definition at line 308 of file C-api.cpp.

◆ operator<()

bool operator< ( const Endpoint a,
const Endpoint b 
)
inline

Definition at line 62 of file Endpoint.cpp.

◆ removePair()

void removePair ( ObjectPtr  object1,
ObjectPtr  object2 
)

Definition at line 312 of file C-api.cpp.

◆ update()

void update ( const Endpoint a,
const Endpoint b 
)
inline

Definition at line 66 of file Endpoint.cpp.

Here is the call graph for this function:

Variable Documentation

◆ endpointList

EndpointList endpointList[3]
static

Definition at line 53 of file Endpoint.cpp.