@ LINKSTATE_TL_RED
The link has red light (must brake).
MSDetectorFileOutput * myDetector
The detector to use.
Command_SaveTLCoupledDet(MSTLLogicControl::TLSLogicVariants &tlls, MSDetectorFileOutput *dtf, SUMOTime begin, OutputDevice &device)
Constructor.
OutputDevice & myDevice
The file to write the output to.
SUMOTime myStartTime
The last time the values were written.
~Command_SaveTLCoupledLaneDet()
Destructor.
Command_SaveTLCoupledLaneDet(MSTLLogicControl::TLSLogicVariants &tlls, MSDetectorFileOutput *dtf, SUMOTime begin, OutputDevice &device, const MSLink *link)
Constructor.
const MSLink * myLink
The link to observe.
bool myHadOne
Whether the last link state was already saved.
void execute()
Executes the command.
LinkState myLastState
The state the link had the last time.
Base of value-generating classes (detectors).
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
SUMOTime getCurrentTimeStep() const
Returns the current simulation step.
Storage for all programs of a single tls.
Static storage of an output device and its base (abstract) implementation.