 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef MSJunctionLogic_h
19 #define MSJunctionLogic_h
#define UNUSED_PARAMETER(x)
int myNLinks
The logic's number of links.
virtual const MSLogicJunction::LinkBits & getResponseFor(int linkIndex) const
Returns the response for the given link.
virtual bool hasFoes() const
MSJunctionLogic()
Default constructor.
int nLinks()
Returns the logic's number of links.
MSJunctionLogic(const MSJunctionLogic &)
Copy constructor.
std::bitset< SUMO_MAX_CONNECTIONS > LinkBits
Container for link response and foes.
static MSLogicJunction::LinkBits myDummyFoes
A dummy foe container.
virtual const MSLogicJunction::LinkBits & getFoesFor(int linkIndex) const
Returns the foes for the given link.
virtual ~MSJunctionLogic()
Destructor.
virtual bool getIsCont(int linkIndex) const
MSJunctionLogic & operator=(const MSJunctionLogic &)
Assignment operator.