TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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 310 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 314 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.