Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
libsumo::TraCISignalConstraint Struct Reference

#include <TraCIDefs.h>

Public Member Functions

std::string getString () const
 

Data Fields

bool active
 whether this constraint is active
 
std::string foeId
 the tripId or vehicle id of the train that must pass first
 
std::string foeSignal
 the tlsID of the rail signla that the foe must pass first
 
int limit
 the number of trains that must be recorded at the foeSignal
 
bool mustWait
 whether tripId must still wait for foeId to pass foeSignal
 
std::map< std::string, std::string > param
 additional parameters
 
std::string signalId
 the idea of the rail signal where this constraint is active
 
std::string tripId
 the tripId or vehicle id of the train that is constrained
 
int type
 the type of constraint (predecessor:0, insertionPredecessor:1)
 

Detailed Description

Definition at line 867 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

std::string libsumo::TraCISignalConstraint::getString ( ) const
inline

Definition at line 887 of file TraCIDefs.h.

Field Documentation

◆ active

bool libsumo::TraCISignalConstraint::active

◆ foeId

std::string libsumo::TraCISignalConstraint::foeId

the tripId or vehicle id of the train that must pass first

Definition at line 873 of file TraCIDefs.h.

Referenced by libsumo::StorageHelper::readConstraintVector(), libsumo::StorageHelper::writeConstraint(), and TraCIServerAPI_TrafficLight::writeConstraint().

◆ foeSignal

std::string libsumo::TraCISignalConstraint::foeSignal

the tlsID of the rail signla that the foe must pass first

Definition at line 875 of file TraCIDefs.h.

Referenced by libsumo::StorageHelper::readConstraintVector(), libsumo::StorageHelper::writeConstraint(), and TraCIServerAPI_TrafficLight::writeConstraint().

◆ limit

int libsumo::TraCISignalConstraint::limit

the number of trains that must be recorded at the foeSignal

Definition at line 877 of file TraCIDefs.h.

Referenced by libsumo::StorageHelper::readConstraintVector(), libsumo::StorageHelper::writeConstraint(), and TraCIServerAPI_TrafficLight::writeConstraint().

◆ mustWait

bool libsumo::TraCISignalConstraint::mustWait

whether tripId must still wait for foeId to pass foeSignal

Definition at line 881 of file TraCIDefs.h.

Referenced by libsumo::StorageHelper::readConstraintVector(), libsumo::StorageHelper::writeConstraint(), and TraCIServerAPI_TrafficLight::writeConstraint().

◆ param

std::map<std::string, std::string> libsumo::TraCISignalConstraint::param

◆ signalId

std::string libsumo::TraCISignalConstraint::signalId

the idea of the rail signal where this constraint is active

Definition at line 869 of file TraCIDefs.h.

Referenced by libsumo::StorageHelper::readConstraintVector(), libsumo::StorageHelper::writeConstraint(), and TraCIServerAPI_TrafficLight::writeConstraint().

◆ tripId

std::string libsumo::TraCISignalConstraint::tripId

◆ type

int libsumo::TraCISignalConstraint::type

the type of constraint (predecessor:0, insertionPredecessor:1)

Definition at line 879 of file TraCIDefs.h.

Referenced by libsumo::StorageHelper::readConstraintVector(), libsumo::StorageHelper::writeConstraint(), and TraCIServerAPI_TrafficLight::writeConstraint().


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