Eclipse 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-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
17 // kinds of logic-implementations.
18 /****************************************************************************/
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include "MSJunctionLogic.h"
26 
27 
28 
29 // ===========================================================================
30 // static variable definitions
31 // ===========================================================================
33 
34 
35 // ===========================================================================
36 // member method definitions
37 // ===========================================================================
38 int
40  return myNLinks;
41 }
42 
43 
45  myNLinks(nLinks) {}
46 
47 
49 
50 
51 
52 /****************************************************************************/
53 
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.