SUMO - Simulation of Urban MObility
MSJunctionLogic.cpp
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
19 // kinds of logic-implementations.
20 /****************************************************************************/
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #ifdef _MSC_VER
26 #include <windows_config.h>
27 #else
28 #include <config.h>
29 #endif
30 
31 #include "MSJunctionLogic.h"
32 
33 
34 
35 // ===========================================================================
36 // static variable definitions
37 // ===========================================================================
39 
40 
41 // ===========================================================================
42 // member method definitions
43 // ===========================================================================
44 int
46  return myNLinks;
47 }
48 
49 
51  myNLinks(nLinks) {}
52 
53 
55 
56 
57 
58 /****************************************************************************/
59 
int nLinks()
Returns the logic&#39;s number of links.
int myNLinks
The logic&#39;s number of links.
MSJunctionLogic()
Default constructor.
static MSLogicJunction::LinkBits myDummyFoes
A dummy foe container.
virtual ~MSJunctionLogic()
Destructor.
std::bitset< SUMO_MAX_CONNECTIONS > LinkBits
Container for link response and foes.