44 #include <mesosim/MEInductLoop.h>
47 #ifdef CHECK_MEMORY_LEAKS
49 #endif // CHECK_MEMORY_LEAKS
63 for (std::vector<MSMeanData*>::const_iterator i =
myMeanData.begin(); i !=
myMeanData.end(); ++i) {
131 for (std::map<std::string, MSDetectorFileOutput*>::const_iterator j = dets.begin(); j != dets.end(); ++j) {
132 (*j).second->detectorUpdate(step);
135 for (std::vector<MSMeanData*>::const_iterator i =
myMeanData.begin(); i !=
myMeanData.end(); ++i) {
136 (*i)->detectorUpdate(step);
149 for (DetectorFileVec::iterator it = dfVec.begin(); it != dfVec.end(); ++it) {
172 detAndFileVec.push_back(std::make_pair(det, device));
173 myIntervals.insert(std::make_pair(key, detAndFileVec));
177 if (find_if(detAndFileVec.begin(), detAndFileVec.end(), bind2nd(
detectorEquals(), det)) == detAndFileVec.end()) {
178 detAndFileVec.push_back(std::make_pair(det, device));
181 WRITE_WARNING(
"MSDetectorControl::addDetectorAndInterval: detector already in container. Ignoring.");