38 : myDevice(device), myLogics(tlls), myDetector(dtf),
virtual ~Command_SaveTLCoupledDet()
Destructor.
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.
virtual void execute()
Executes the command.
Base of value-generating classes (detectors)
virtual void writeXMLDetectorProlog(OutputDevice &dev) const =0
Open the XML-output.
virtual void writeXMLOutput(OutputDevice &dev, SUMOTime startTime, SUMOTime stopTime)=0
Write the generated output to the given device.
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.
void addSwitchCommand(OnSwitchAction *c)
Static storage of an output device and its base (abstract) implementation.