SUMO - Simulation of Urban MObility
MSJunctionLogic.cpp
Go to the documentation of this file.
1 /****************************************************************************/
9 // kinds of logic-implementations.
10 /****************************************************************************/
11 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
12 // Copyright (C) 2001-2017 DLR (http://www.dlr.de/) and contributors
13 /****************************************************************************/
14 //
15 // This file is part of SUMO.
16 // SUMO is free software: you can redistribute it and/or modify
17 // it under the terms of the GNU General Public License as published by
18 // the Free Software Foundation, either version 3 of the License, or
19 // (at your option) any later version.
20 //
21 /****************************************************************************/
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #ifdef _MSC_VER
27 #include <windows_config.h>
28 #else
29 #include <config.h>
30 #endif
31 
32 #include "MSJunctionLogic.h"
33 
34 
35 
36 // ===========================================================================
37 // static variable definitions
38 // ===========================================================================
40 
41 
42 // ===========================================================================
43 // member method definitions
44 // ===========================================================================
45 int
47  return myNLinks;
48 }
49 
50 
52  myNLinks(nLinks) {}
53 
54 
56 
57 
58 
59 /****************************************************************************/
60 
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.