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 649 of file TraCIDefs.h.

Member Function Documentation

◆ getString()

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

Definition at line 669 of file TraCIDefs.h.

Field Documentation

◆ active

bool libsumo::TraCISignalConstraint::active

whether this constraint is active

Definition at line 665 of file TraCIDefs.h.

Referenced by TraCIServerAPI_TrafficLight::writeConstraint().

◆ foeId

std::string libsumo::TraCISignalConstraint::foeId

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

Definition at line 655 of file TraCIDefs.h.

Referenced by TraCIServerAPI_TrafficLight::writeConstraint().

◆ foeSignal

std::string libsumo::TraCISignalConstraint::foeSignal

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

Definition at line 657 of file TraCIDefs.h.

Referenced by TraCIServerAPI_TrafficLight::writeConstraint().

◆ limit

int libsumo::TraCISignalConstraint::limit

the number of trains that must be recorded at the foeSignal

Definition at line 659 of file TraCIDefs.h.

Referenced by TraCIServerAPI_TrafficLight::writeConstraint().

◆ mustWait

bool libsumo::TraCISignalConstraint::mustWait

whether tripId must still wait for foeId to pass foeSignal

Definition at line 663 of file TraCIDefs.h.

Referenced by TraCIServerAPI_TrafficLight::writeConstraint().

◆ param

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

additional parameters

Definition at line 667 of file TraCIDefs.h.

Referenced by TraCIServerAPI_TrafficLight::writeConstraint().

◆ signalId

std::string libsumo::TraCISignalConstraint::signalId

the idea of the rail signal where this constraint is active

Definition at line 651 of file TraCIDefs.h.

Referenced by TraCIServerAPI_TrafficLight::writeConstraint().

◆ tripId

std::string libsumo::TraCISignalConstraint::tripId

the tripId or vehicle id of the train that is constrained

Definition at line 653 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::TrafficLight::buildConstraint(), and TraCIServerAPI_TrafficLight::writeConstraint().

◆ type

int libsumo::TraCISignalConstraint::type

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

Definition at line 661 of file TraCIDefs.h.

Referenced by TraCIServerAPI_TrafficLight::writeConstraint().


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