22#ifndef SUMO2FMI_BRIDGE_H
23#define SUMO2FMI_BRIDGE_H
32typedef void* (*allocateMemoryType)(
size_t nobj,
size_t size);
33typedef void (*
loggerType)(
void* componentEnvironment,
const char* instanceName,
int status,
const char* category,
const char* message, ...);
void * componentEnvironment
char * getterParameters
Parameters stored for the next (libsumo) getter call. Workaround for FMIv2 not allowing input values ...
const char * resourceLocation
allocateMemoryType allocateMemory
const char * instanceName
freeMemoryType freeMemory
char * libsumoCallOptions
void *(* allocateMemoryType)(size_t nobj, size_t size)
fmi2Status sumo2fmi_getString(ModelInstance *comp, const fmi2ValueReference vr, fmi2String *value)
void sumo2fmi_set_startValues(ModelInstance *comp)
fmi2Status sumo2fmi_step(ModelInstance *comp, double tNext)
void(* freeMemoryType)(void *obj)
fmi2Status sumo2fmi_getInteger(ModelInstance *comp, const fmi2ValueReference vr, int *value)
void sumo2fmi_logError(ModelInstance *comp, const char *message,...)
void(* loggerType)(void *componentEnvironment, const char *instanceName, int status, const char *category, const char *message,...)
fmi2Status sumo2fmi_setString(ModelInstance *comp, fmi2ValueReference vr, fmi2String value)
void sumo2fmi_logMessage(ModelInstance *comp, int status, const char *category, const char *message, va_list args)
void sumo2fmi_logEvent(ModelInstance *comp, const char *message,...)