Eclipse SUMO - Simulation of Urban MObility
libsumocpp2c.h File Reference
#include "sumo2fmi_bridge.h"
Include dependency graph for libsumocpp2c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void libsumo_close (void)
 
void libsumo_load (char *)
 
void libsumo_step (double)
 
int libsumo_vehicle_getIDCount (void)
 
void libsumo_vehicle_getLaneID (ModelInstance *, const char **)
 
void libsumo_vehicle_getParameterWithKey (ModelInstance *, const char **)
 
void libsumo_vehicle_getPosition (ModelInstance *, const char **)
 
void libsumo_vehicle_moveToXY (const char *)
 

Detailed Description

Author
Robert Hilbrich
Matthias Schwamborn
Date
Mon, 15 Aug 2020

Definition in file libsumocpp2c.h.

Function Documentation

◆ libsumo_close()

void libsumo_close ( void  )

Definition at line 68 of file libsumocpp2c.cpp.

Referenced by fmi2Terminate().

Here is the caller graph for this function:

◆ libsumo_load()

void libsumo_load ( char *  callOptions)

Definition at line 50 of file libsumocpp2c.cpp.

References DELIMITER.

Referenced by fmi2ExitInitializationMode().

Here is the caller graph for this function:

◆ libsumo_step()

void libsumo_step ( double  time)

Definition at line 73 of file libsumocpp2c.cpp.

Referenced by sumo2fmi_step().

Here is the caller graph for this function:

◆ libsumo_vehicle_getIDCount()

int libsumo_vehicle_getIDCount ( void  )

Definition at line 78 of file libsumocpp2c.cpp.

Referenced by sumo2fmi_getInteger().

Here is the caller graph for this function:

◆ libsumo_vehicle_getLaneID()

void libsumo_vehicle_getLaneID ( ModelInstance comp,
const char **  result 
)

Definition at line 129 of file libsumocpp2c.cpp.

References allocateAndCopyString(), DELIMITER, and ModelInstance::getterParameters.

Referenced by sumo2fmi_getString().

Here is the caller graph for this function:

◆ libsumo_vehicle_getParameterWithKey()

void libsumo_vehicle_getParameterWithKey ( ModelInstance comp,
const char **  result 
)

Definition at line 108 of file libsumocpp2c.cpp.

References allocateAndCopyString(), DELIMITER, and ModelInstance::getterParameters.

Referenced by sumo2fmi_getString().

Here is the caller graph for this function:

◆ libsumo_vehicle_getPosition()

void libsumo_vehicle_getPosition ( ModelInstance comp,
const char **  result 
)

Definition at line 147 of file libsumocpp2c.cpp.

References allocateAndCopyString(), DELIMITER, ModelInstance::getterParameters, libsumo::TraCIPosition::x, and libsumo::TraCIPosition::y.

Referenced by sumo2fmi_getString().

Here is the caller graph for this function:

◆ libsumo_vehicle_moveToXY()

void libsumo_vehicle_moveToXY ( const char *  paramString)

Definition at line 83 of file libsumocpp2c.cpp.

References DELIMITER, and libsumo::INVALID_DOUBLE_VALUE.

Referenced by sumo2fmi_setString().

Here is the caller graph for this function: