SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00009 // kinds of logic-implementations. 00010 /****************************************************************************/ 00011 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00012 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors 00013 /****************************************************************************/ 00014 // 00015 // This file is part of SUMO. 00016 // SUMO is free software: you can redistribute it and/or modify 00017 // it under the terms of the GNU General Public License as published by 00018 // the Free Software Foundation, either version 3 of the License, or 00019 // (at your option) any later version. 00020 // 00021 /****************************************************************************/ 00022 00023 // =========================================================================== 00024 // included modules 00025 // =========================================================================== 00026 #ifdef _MSC_VER 00027 #include <windows_config.h> 00028 #else 00029 #include <config.h> 00030 #endif 00031 00032 #include "MSJunctionLogic.h" 00033 00034 #ifdef CHECK_MEMORY_LEAKS 00035 #include <foreign/nvwa/debug_new.h> 00036 #endif // CHECK_MEMORY_LEAKS 00037 00038 00039 00040 // =========================================================================== 00041 // static variable definitions 00042 // =========================================================================== 00043 MSLogicJunction::LinkFoes MSJunctionLogic::myDummyFoes; 00044 00045 00046 // =========================================================================== 00047 // member method definitions 00048 // =========================================================================== 00049 unsigned int 00050 MSJunctionLogic::nLinks() { 00051 return myNLinks; 00052 } 00053 00054 00055 MSJunctionLogic::MSJunctionLogic(unsigned int nLinks) : 00056 myNLinks(nLinks) {} 00057 00058 00059 MSJunctionLogic::~MSJunctionLogic() {} 00060 00061 00062 00063 /****************************************************************************/ 00064