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