41 #ifdef CHECK_MEMORY_LEAKS 43 #endif // CHECK_MEMORY_LEAKS 51 : myDevice(device), myLogics(tlls), myDetector(dtf),
Storage for all programs of a single tls.
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
Command_SaveTLCoupledDet(MSTLLogicControl::TLSLogicVariants &tlls, MSDetectorFileOutput *dtf, SUMOTime begin, OutputDevice &device)
Constructor.
virtual void writeXMLDetectorProlog(OutputDevice &dev) const =0
Open the XML-output.
void addSwitchCommand(OnSwitchAction *c)
virtual void execute()
Executes the command.
SUMOTime myStartTime
The last time the values were written.
SUMOTime getCurrentTimeStep() const
Returns the current simulation step.
virtual void writeXMLOutput(OutputDevice &dev, SUMOTime startTime, SUMOTime stopTime)=0
Write the generated output to the given device.
Static storage of an output device and its base (abstract) implementation.
OutputDevice & myDevice
The file to write the output to.
MSDetectorFileOutput * myDetector
The detector to use.
virtual ~Command_SaveTLCoupledDet()
Destructor.
Base of value-generating classes (detectors)