20 #ifndef Command_SaveTLSSwitchStates_h 21 #define Command_SaveTLSSwitchStates_h std::string myPreviousState
Storage for prior state.
Storage for all programs of a single tls.
const MSTLLogicControl::TLSLogicVariants & myLogics
The traffic light logic to use.
Writes the switch times of a tls into a file when the tls switches.
Base (microsim) event class.
~Command_SaveTLSSwitchStates()
Destructor.
SUMOTime execute(SUMOTime currentTime)
Writes the state of the tls if a change occured.
Command_SaveTLSSwitchStates(const MSTLLogicControl::TLSLogicVariants &logics, OutputDevice &od)
Constructor.
The parent class for traffic light logics.
std::string myPreviousProgramID
Storage for prior sub-id.
Static storage of an output device and its base (abstract) implementation.
OutputDevice & myOutputDevice
The device to write to.
Command_SaveTLSSwitchStates & operator=(const Command_SaveTLSSwitchStates &)
Invalidated assignment operator.