Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
ModelInstance Struct Reference

#include <sumo2fmi_bridge.h>

Data Fields

allocateMemoryType allocateMemory
 
fmi2StringbufferArray
 
int bufferArrayLength
 
void * componentEnvironment
 
freeMemoryType freeMemory
 
char * getterParameters
 Parameters stored for the next (libsumo) getter call. Workaround for FMIv2 not allowing input values for an output model variable (see modelDescription.xml).
 
const char * instanceName
 
char * libsumoCallOptions
 
bool logErrors
 
bool logEvents
 
loggerType logger
 
const char * resourceLocation
 
double startTime
 
double stopTime
 

Detailed Description

Definition at line 37 of file sumo2fmi_bridge.h.

Field Documentation

◆ allocateMemory

◆ bufferArray

fmi2String* ModelInstance::bufferArray

Definition at line 59 of file sumo2fmi_bridge.h.

Referenced by fmi2FreeInstance(), and fmi2GetString().

◆ bufferArrayLength

int ModelInstance::bufferArrayLength

Definition at line 60 of file sumo2fmi_bridge.h.

Referenced by fmi2FreeInstance(), and fmi2GetString().

◆ componentEnvironment

void* ModelInstance::componentEnvironment

Definition at line 38 of file sumo2fmi_bridge.h.

Referenced by fmi2Instantiate(), and sumo2fmi_logMessage().

◆ freeMemory

◆ getterParameters

char* ModelInstance::getterParameters

Parameters stored for the next (libsumo) getter call. Workaround for FMIv2 not allowing input values for an output model variable (see modelDescription.xml).

Definition at line 56 of file sumo2fmi_bridge.h.

Referenced by fmi2FreeInstance(), libsumo_vehicle_getLaneID(), libsumo_vehicle_getParameterWithKey(), libsumo_vehicle_getPosition(), sumo2fmi_getString(), and sumo2fmi_setString().

◆ instanceName

const char* ModelInstance::instanceName

Definition at line 39 of file sumo2fmi_bridge.h.

Referenced by fmi2FreeInstance(), fmi2Instantiate(), and sumo2fmi_logMessage().

◆ libsumoCallOptions

char* ModelInstance::libsumoCallOptions

◆ logErrors

bool ModelInstance::logErrors

Definition at line 63 of file sumo2fmi_bridge.h.

Referenced by fmi2Instantiate(), fmi2SetDebugLogging(), and sumo2fmi_logError().

◆ logEvents

bool ModelInstance::logEvents

Definition at line 62 of file sumo2fmi_bridge.h.

Referenced by fmi2Instantiate(), fmi2SetDebugLogging(), and sumo2fmi_logEvent().

◆ logger

loggerType ModelInstance::logger

Definition at line 42 of file sumo2fmi_bridge.h.

Referenced by fmi2Instantiate(), and sumo2fmi_logMessage().

◆ resourceLocation

const char* ModelInstance::resourceLocation

Definition at line 40 of file sumo2fmi_bridge.h.

Referenced by fmi2FreeInstance(), and fmi2Instantiate().

◆ startTime

double ModelInstance::startTime

Definition at line 46 of file sumo2fmi_bridge.h.

Referenced by fmi2SetupExperiment().

◆ stopTime

double ModelInstance::stopTime

Definition at line 47 of file sumo2fmi_bridge.h.

Referenced by fmi2SetupExperiment().


The documentation for this struct was generated from the following file: