21 #ifndef NLDiscreteEventBuilder_h 22 #define NLDiscreteEventBuilder_h 34 #include <xercesc/sax2/Attributes.hpp>
KnownActions myActions
Build actions that shall be executed during the simulation.
ActionType
Known action types.
The simulated network and simulation perfomer.
std::map< std::string, ActionType > KnownActions
Definitions of a storage for build actions.
Encapsulated SAX-Attributes.
void buildSaveTLSwitchesCommand(const SUMOSAXAttributes &attrs, const std::string &basePath)
Builds an action which saves the switch times of links into a file.
void addAction(const SUMOSAXAttributes &attrs, const std::string &basePath)
Builds an action and saves it for further use.
NLDiscreteEventBuilder(MSNet &net)
Constructor.
NLDiscreteEventBuilder & operator=(const NLDiscreteEventBuilder &)
~NLDiscreteEventBuilder()
Destructor.
void buildSaveTLStateCommand(const SUMOSAXAttributes &attrs, const std::string &basePath)
Builds an action which saves the state of a certain tls into a file.
void buildSaveTLSwitchStatesCommand(const SUMOSAXAttributes &attrs, const std::string &basePath)
Builds an action which saves the switch times and states of tls into a file.