SUMO - Simulation of Urban MObility
MSNoLogicJunction.h
Go to the documentation of this file.
00001 /****************************************************************************/
00009 // logic, e.g. for exits.
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 #ifndef MSNoLogicJunction_h
00023 #define MSNoLogicJunction_h
00024 
00025 
00026 // ===========================================================================
00027 // included modules
00028 // ===========================================================================
00029 #ifdef _MSC_VER
00030 #include <windows_config.h>
00031 #else
00032 #include <config.h>
00033 #endif
00034 
00035 #include <string>
00036 #include <vector>
00037 #include <bitset>
00038 #include "MSJunction.h"
00039 
00040 // ===========================================================================
00041 // class declarations
00042 // ===========================================================================
00043 class MSLane;
00044 
00045 
00046 // ===========================================================================
00047 // class definitions
00048 // ===========================================================================
00055 class MSNoLogicJunction  : public MSJunction {
00056 public:
00058     virtual ~MSNoLogicJunction();
00059 
00067     MSNoLogicJunction(const std::string& id, const Position& position,
00068                       const PositionVector& shape,
00069                       std::vector<MSLane*> incoming
00070 #ifdef HAVE_INTERNAL_LANES
00071                       , std::vector<MSLane*> internal
00072 #endif
00073                      ) ;
00074 
00076     void postloadInit() ;
00077 
00078 private:
00080     std::vector<MSLane*> myIncomingLanes;
00081 
00082 #ifdef HAVE_INTERNAL_LANES
00083 
00084     std::vector<MSLane*> myInternalLanes;
00085 #endif
00086 
00087 private:
00089     MSNoLogicJunction(const MSNoLogicJunction&);
00090 
00092     MSNoLogicJunction& operator=(const MSNoLogicJunction&);
00093 
00099     static std::bitset<64> myDump;
00100 
00101 };
00102 
00103 
00104 #endif
00105 
00106 /****************************************************************************/
00107 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines