 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef Command_SaveTLCoupledLaneDet_h
19 #define Command_SaveTLCoupledLaneDet_h
Command_SaveTLCoupledLaneDet(MSTLLogicControl::TLSLogicVariants &tlls, MSDetectorFileOutput *dtf, SUMOTime begin, OutputDevice &device, const MSLink *link)
Constructor.
Base of value-generating classes (detectors)
Static storage of an output device and its base (abstract) implementation.
Writes e2 state of a link for the time the link has yellow/red.
LinkState
The right-of-way state of a link between two lanes used when constructing a NBTrafficLightLogic,...
const MSLink * myLink
The link to observe.
Writes e2 state on each tls switch.
Command_SaveTLCoupledLaneDet & operator=(const Command_SaveTLCoupledLaneDet &)
Invalidated assignment operator.
Command_SaveTLCoupledLaneDet(const Command_SaveTLCoupledLaneDet &)
Invalidated copy constructor.
bool myHadOne
Whether the last link state was already saved.
LinkState myLastState
The state the link had the last time.
~Command_SaveTLCoupledLaneDet()
Destructor.
Storage for all programs of a single tls.
void execute()
Executes the command.