TORCS  1.3.9
The Open Racing Car Simulator
telemetry.cpp File Reference
#include <stdio.h>
#include <memory.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <tgf.h>
#include <telemetry.h>
#include "tlm.h"
Include dependency graph for telemetry.cpp:

Go to the source code of this file.

Classes

struct  Channel
 
struct  Tlm
 

Typedefs

typedef struct Channel tChannel
 
typedef struct Tlm tTlm
 

Functions

void TlmInit (tdble ymin, tdble ymax)
 
void TlmNewChannel (const char *name, tdble *var, tdble min, tdble max)
 
void TlmStartMonitoring (const char *filename)
 
void TlmUpdate (double time)
 
void TlmStopMonitoring (void)
 
void TlmShutdown (void)
 

Variables

static tTlm TlmData
 

Typedef Documentation

◆ tChannel

typedef struct Channel tChannel

◆ tTlm

typedef struct Tlm tTlm

Function Documentation

◆ TlmInit()

void TlmInit ( tdble  ymin,
tdble  ymax 
)

Definition at line 67 of file telemetry.cpp.

◆ TlmNewChannel()

void TlmNewChannel ( const char *  name,
tdble var,
tdble  min,
tdble  max 
)

Definition at line 90 of file telemetry.cpp.

Here is the call graph for this function:

◆ TlmShutdown()

void TlmShutdown ( void  )

Definition at line 229 of file telemetry.cpp.

Here is the call graph for this function:

◆ TlmStartMonitoring()

void TlmStartMonitoring ( const char *  filename)

Definition at line 114 of file telemetry.cpp.

◆ TlmStopMonitoring()

void TlmStopMonitoring ( void  )

Definition at line 198 of file telemetry.cpp.

◆ TlmUpdate()

void TlmUpdate ( double  time)

Definition at line 175 of file telemetry.cpp.

Variable Documentation

◆ TlmData

tTlm TlmData
static

Definition at line 50 of file telemetry.cpp.