Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
Vehicle.cpp File Reference
Include dependency graph for libsumo/Vehicle.cpp:

Go to the source code of this file.

Namespaces

namespace  libsumo
 

Macros

#define CALL_MESO_FUN(veh, fun, microResult)   ((dynamic_cast<MEVehicle*>(veh) == nullptr ? (microResult) : dynamic_cast<MEVehicle*>(veh)->fun))
 
#define CALL_MICRO_FUN(veh, fun, mesoResult)   ((dynamic_cast<MSVehicle*>(veh) == nullptr ? (mesoResult) : dynamic_cast<MSVehicle*>(veh)->fun))
 
#define DEBUG_COND   (veh->isSelected())
 

Detailed Description

Author
Jakob Erdmann
Mirko Barthauer
Date
15.03.2017

Definition in file libsumo/Vehicle.cpp.

Macro Definition Documentation

◆ CALL_MESO_FUN

#define CALL_MESO_FUN (   veh,
  fun,
  microResult 
)    ((dynamic_cast<MEVehicle*>(veh) == nullptr ? (microResult) : dynamic_cast<MEVehicle*>(veh)->fun))

Definition at line 57 of file libsumo/Vehicle.cpp.

◆ CALL_MICRO_FUN

#define CALL_MICRO_FUN (   veh,
  fun,
  mesoResult 
)    ((dynamic_cast<MSVehicle*>(veh) == nullptr ? (mesoResult) : dynamic_cast<MSVehicle*>(veh)->fun))

Definition at line 56 of file libsumo/Vehicle.cpp.

◆ DEBUG_COND

#define DEBUG_COND   (veh->isSelected())

Definition at line 65 of file libsumo/Vehicle.cpp.