27BOOL WINAPI DllEntryPoint (HINSTANCE hDLL, DWORD dwReason, LPVOID Reserved)
82 modInfo->
name = strdup(
"telemetry");
83 modInfo->
desc = strdup(
"Telemetry module, used to store telemetry information");
char * desc
description of the module (can be long)
int index
index if multiple interface in one dll
unsigned int gfId
supported framework version
char * name
name of the module (short) (NULL if no module)
tfModPrivInit fctInit
init function
tftlmNewChannel newChannel
tftlmStopMonitoring stopMonitoring
tftlmStartMonitoring startMonitoring
void TlmStartMonitoring(const char *filename)
void TlmStopMonitoring(void)
void TlmInit(tdble ymin, tdble ymax)
void TlmNewChannel(const char *name, tdble *var, tdble min, tdble max)
void TlmUpdate(double time)
int telemetry(tModInfo *modInfo)
static int telemInit(int index, void *pt)
struct ModInfo tModInfo
Module information structure.