47 #ifdef CHECK_MEMORY_LEAKS
49 #endif // CHECK_MEMORY_LEAKS
68 const std::string& basePath) {
72 if (type ==
"" || !ok) {
76 KnownActions::iterator i =
myActions.find(type);
81 switch ((*i).second) {
97 const std::string& basePath) {
102 if (dest ==
"" || !ok) {
103 throw InvalidArgument(
"Incomplete description of an 'SaveTLSState'-action occured.");
107 for (std::vector<std::string>::const_iterator tls = ids.begin(); tls != ids.end(); ++tls) {
114 throw InvalidArgument(
"The traffic light logic to save (" + source +
") is not known.");
125 const std::string& basePath) {
130 if (dest ==
"" || !ok) {
131 throw InvalidArgument(
"Incomplete description of an 'SaveTLSSwitchTimes'-action occured.");
135 for (std::vector<std::string>::const_iterator tls = ids.begin(); tls != ids.end(); ++tls) {
142 throw InvalidArgument(
"The traffic light logic to save (" + source +
") is not known.");
153 const std::string& basePath) {
158 if (dest ==
"" || !ok) {
159 throw InvalidArgument(
"Incomplete description of an 'SaveTLSSwitchStates'-action occured.");
163 for (std::vector<std::string>::const_iterator tls = ids.begin(); tls != ids.end(); ++tls) {
170 throw InvalidArgument(
"The traffic light logic to save (" + source +
") is not known.");