Eclipse 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. | |
virtual bool | getIsCont (int linkIndex) const |
int | getLogicSize () const |
virtual const MSLogicJunction::LinkBits & | getResponseFor (int linkIndex) const |
Returns the response for the given link. | |
virtual bool | hasFoes () const |
virtual | ~MSJunctionLogic () |
Destructor. | |
Protected Member Functions | |
MSJunctionLogic (int nLinks) | |
Constructor. | |
Protected Attributes | |
int | myNLinks |
The logic's number of links. | |
Static Protected Attributes | |
static MSLogicJunction::LinkBits | myDummyFoes |
A dummy foe container. | |
Private Member Functions | |
MSJunctionLogic (const MSJunctionLogic &)=delete | |
Copy constructor. | |
MSJunctionLogic & | operator= (const MSJunctionLogic &)=delete |
Assignment operator. | |
Definition at line 36 of file MSJunctionLogic.h.
|
virtual |
Destructor.
Definition at line 41 of file MSJunctionLogic.cpp.
|
protected |
Constructor.
Definition at line 37 of file MSJunctionLogic.cpp.
|
privatedelete |
Copy constructor.
|
inlinevirtual |
Returns the foes for the given link.
Reimplemented in MSBitSetLogic< N >.
Definition at line 48 of file MSJunctionLogic.h.
References myDummyFoes, and UNUSED_PARAMETER.
Referenced by MSDriveWay::checkCrossingFlanks(), MSRightOfWayJunction::postloadInit(), and MSActuatedTrafficLightLogic::weakConflict().
|
inlinevirtual |
Reimplemented in MSBitSetLogic< N >.
Definition at line 53 of file MSJunctionLogic.h.
References UNUSED_PARAMETER.
Referenced by MSRightOfWayJunction::postloadInit().
|
inline |
Definition at line 58 of file MSJunctionLogic.h.
References myNLinks.
Referenced by MSTrafficLightLogic::init(), and MSRightOfWayJunction::postloadInit().
|
inlinevirtual |
Returns the response for the given link.
Reimplemented in MSBitSetLogic< N >.
Definition at line 42 of file MSJunctionLogic.h.
References myDummyFoes, and UNUSED_PARAMETER.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), MSTrafficLightLogic::init(), MSVehicle::isLeader(), MSInternalJunction::postloadInit(), and MSRightOfWayJunction::postloadInit().
|
inlinevirtual |
Reimplemented in MSBitSetLogic< N >.
Definition at line 62 of file MSJunctionLogic.h.
Referenced by MSRightOfWayJunction::postloadInit().
|
privatedelete |
Assignment operator.
|
staticprotected |
A dummy foe container.
Definition at line 74 of file MSJunctionLogic.h.
Referenced by getFoesFor(), and getResponseFor().
|
protected |
The logic's number of links.
Definition at line 71 of file MSJunctionLogic.h.
Referenced by getLogicSize().