![]() |
SUMO - Simulation of Urban MObility
|
#include <MSJunctionLogic.h>


Public Member Functions | |
| virtual const MSLogicJunction::LinkBits & | getFoesFor (int linkIndex) const |
| Returns the foes for the given link. More... | |
| virtual bool | getIsCont (int linkIndex) const |
| int | getLogicSize () const |
| virtual const MSLogicJunction::LinkBits & | getResponseFor (int linkIndex) const |
| Returns the response for the given link. More... | |
| virtual bool | hasFoes () const |
| int | nLinks () |
| Returns the logic's number of links. More... | |
| virtual | ~MSJunctionLogic () |
| Destructor. More... | |
Protected Member Functions | |
| MSJunctionLogic (int nLinks) | |
| Constructor. More... | |
Protected Attributes | |
| int | myNLinks |
| The logic's number of links. More... | |
Static Protected Attributes | |
| static MSLogicJunction::LinkBits | myDummyFoes |
| A dummy foe container. More... | |
Private Member Functions | |
| MSJunctionLogic () | |
| Default constructor. More... | |
| MSJunctionLogic (const MSJunctionLogic &) | |
| Copy constructor. More... | |
| MSJunctionLogic & | operator= (const MSJunctionLogic &) |
| Assignment operator. More... | |
Definition at line 45 of file MSJunctionLogic.h.
|
virtual |
Destructor.
Definition at line 54 of file MSJunctionLogic.cpp.
|
protected |
Constructor.
Definition at line 50 of file MSJunctionLogic.cpp.
|
private |
Default constructor.
Referenced by hasFoes().
|
private |
Copy constructor.
|
inlinevirtual |
Returns the foes for the given link.
Reimplemented in MSBitSetLogic< N >.
Definition at line 60 of file MSJunctionLogic.h.
References myDummyFoes, and UNUSED_PARAMETER.
Referenced by MSRightOfWayJunction::postloadInit().
|
inlinevirtual |
Reimplemented in MSBitSetLogic< N >.
Definition at line 64 of file MSJunctionLogic.h.
References UNUSED_PARAMETER.
Referenced by MSRightOfWayJunction::postloadInit().
|
inline |
Definition at line 70 of file MSJunctionLogic.h.
References myNLinks.
Referenced by MSRightOfWayJunction::postloadInit().
|
inlinevirtual |
Returns the response for the given link.
Reimplemented in MSBitSetLogic< N >.
Definition at line 54 of file MSJunctionLogic.h.
References myDummyFoes, and UNUSED_PARAMETER.
Referenced by MSInternalJunction::postloadInit(), and MSRightOfWayJunction::postloadInit().
|
inlinevirtual |
Reimplemented in MSBitSetLogic< N >.
Definition at line 74 of file MSJunctionLogic.h.
References MSJunctionLogic().
Referenced by MSRightOfWayJunction::postloadInit().
| int MSJunctionLogic::nLinks | ( | ) |
Returns the logic's number of links.
Definition at line 45 of file MSJunctionLogic.cpp.
References myNLinks.
|
private |
Assignment operator.
|
staticprotected |
A dummy foe container.
Definition at line 89 of file MSJunctionLogic.h.
Referenced by getFoesFor(), and getResponseFor().
|
protected |
The logic's number of links.
Definition at line 86 of file MSJunctionLogic.h.
Referenced by getLogicSize(), and nLinks().