21 #ifndef Command_SaveTLSSwitches_h 22 #define Command_SaveTLSSwitches_h Command_SaveTLSSwitches(const MSTLLogicControl::TLSLogicVariants &logics, OutputDevice &od)
Constructor.
Command_SaveTLSSwitches & operator=(const Command_SaveTLSSwitches &)
Invalidated assignment operator.
Storage for all programs of a single tls.
SUMOTime execute(SUMOTime currentTime)
Writes the output if a change occured.
Base (microsim) event class.
std::map< int, SUMOTime > myPreviousLinkStates
Storage for prior states; map from signal group to last green time begin.
~Command_SaveTLSSwitches()
Destructor.
OutputDevice & myOutputDevice
The device to write to.
const MSTLLogicControl::TLSLogicVariants & myLogics
The traffic light logic to use.
The parent class for traffic light logics.
Static storage of an output device and its base (abstract) implementation.
Writes information about the green durations of a tls.