00001 /****************************************************************************/ 00007 // Something on a lane to be noticed about vehicle movement 00008 /****************************************************************************/ 00009 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00010 // Copyright 2001-2010 DLR (http://www.dlr.de/) and contributors 00011 /****************************************************************************/ 00012 // 00013 // This program is free software; you can redistribute it and/or modify 00014 // it under the terms of the GNU General Public License as published by 00015 // the Free Software Foundation; either version 2 of the License, or 00016 // (at your option) any later version. 00017 // 00018 /****************************************************************************/ 00019 00020 // =========================================================================== 00021 // included modules 00022 // =========================================================================== 00023 #ifdef _MSC_VER 00024 #include <windows_config.h> 00025 #else 00026 #include <config.h> 00027 #endif 00028 00029 #include <string> 00030 #include <cassert> 00031 #include "MSLane.h" 00032 #include "MSMoveReminder.h" 00033 00034 00035 // =========================================================================== 00036 // method definitions 00037 // =========================================================================== 00038 MSMoveReminder::MSMoveReminder(MSLane * const lane, const bool doAdd) throw() 00039 : myLane(lane) { 00040 if (myLane!=0 && doAdd) { 00041 // add reminder to lane 00042 myLane->addMoveReminder(this); 00043 } 00044 } 00045 00046 00047 /****************************************************************************/ 00048
1.5.6