21 #ifndef MSJunctionLogic_h 22 #define MSJunctionLogic_h
int nLinks()
Returns the logic's number of links.
#define UNUSED_PARAMETER(x)
int myNLinks
The logic's number of links.
virtual bool hasFoes() const
virtual const MSLogicJunction::LinkBits & getFoesFor(int linkIndex) const
Returns the foes for the given link.
MSJunctionLogic()
Default constructor.
MSJunctionLogic & operator=(const MSJunctionLogic &)
Assignment operator.
virtual const MSLogicJunction::LinkBits & getResponseFor(int linkIndex) const
Returns the response for the given link.
static MSLogicJunction::LinkBits myDummyFoes
A dummy foe container.
virtual bool getIsCont(int linkIndex) const
virtual ~MSJunctionLogic()
Destructor.
std::bitset< SUMO_MAX_CONNECTIONS > LinkBits
Container for link response and foes.