SUMO - Simulation of Urban MObility

NIVissimExtendedEdgePoint Class Reference

#include <NIVissimExtendedEdgePoint.h>

Public Member Functions

int getEdgeID () const
Position getGeomPosition () const
const std::vector< int > & getLanes () const
SUMOReal getPosition () const
 NIVissimExtendedEdgePoint (int edgeid, const std::vector< int > &lanes, SUMOReal position, const std::vector< int > &assignedVehicles)
 Constructor.
void recheckLanes (const NBEdge *const edge)
 Resets lane numbers if all lanes shall be used.
 ~NIVissimExtendedEdgePoint ()

Private Attributes

std::vector< int > myAssignedVehicles
int myEdgeID
std::vector< int > myLanes
SUMOReal myPosition

Detailed Description

Definition at line 50 of file NIVissimExtendedEdgePoint.h.


Constructor & Destructor Documentation

NIVissimExtendedEdgePoint::NIVissimExtendedEdgePoint ( int  edgeid,
const std::vector< int > &  lanes,
SUMOReal  position,
const std::vector< int > &  assignedVehicles 
)

Constructor.

Parameters:
[in]edgeidThe id of the Vissim-edge
[in]lanesLanes on which this point lies
[in]positionThe position of this point at the edge
[in]assignedVehiclesVehicle (type) indices which should be regarded by this point

Definition at line 45 of file NIVissimExtendedEdgePoint.cpp.

NIVissimExtendedEdgePoint::~NIVissimExtendedEdgePoint ( )

Definition at line 52 of file NIVissimExtendedEdgePoint.cpp.


Member Function Documentation

const std::vector< int > & NIVissimExtendedEdgePoint::getLanes ( ) const
void NIVissimExtendedEdgePoint::recheckLanes ( const NBEdge *const  edge)

Resets lane numbers if all lanes shall be used.

If myLanes contains a -1, the content of myLanes is replaced by indices of all lanes of the given edge.

Parameters:
[in]Thebuilt edge

Definition at line 81 of file NIVissimExtendedEdgePoint.cpp.

References NBEdge::getNumLanes(), and myLanes.

Referenced by NIVissimConnection::recheckLanes().


Field Documentation

Definition at line 80 of file NIVissimExtendedEdgePoint.h.

Definition at line 77 of file NIVissimExtendedEdgePoint.h.

Referenced by getEdgeID(), and getGeomPosition().

std::vector<int> NIVissimExtendedEdgePoint::myLanes [private]

Definition at line 78 of file NIVissimExtendedEdgePoint.h.

Referenced by getLanes(), and recheckLanes().

Definition at line 79 of file NIVissimExtendedEdgePoint.h.

Referenced by getGeomPosition(), and getPosition().


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines