![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <NIVissimDisturbance.h>
Public Member Functions | |
| bool | addToNode (NBNode *node, NBDistrictCont &dc, NBNodeCont &nc, NBEdgeCont &ec) |
| bool | clustered () const |
| void | computeBounding () |
| bool | crosses (const AbstractPoly &poly, double offset=0) const |
| const Boundary & | getBoundary () const |
| NBConnection | getConnection (NBNode *node, int aedgeid) |
| int | getDisturbanceID () const |
| int | getEdgeID () const |
| void | inCluster (int id) |
| NIVissimDisturbance (int id, const std::string &name, const NIVissimExtendedEdgePoint &edge, const NIVissimExtendedEdgePoint &by) | |
| virtual | ~NIVissimDisturbance () |
Static Public Member Functions | |
| static void | clearDict () |
| static void | closeLoading () |
| static void | dict_SetDisturbances () |
| static bool | dictionary (const std::string &name, const NIVissimExtendedEdgePoint &edge, const NIVissimExtendedEdgePoint &by) |
| static NIVissimDisturbance * | dictionary (int id) |
| static bool | dictionary (int id, NIVissimDisturbance *o) |
| static std::vector< int > | getWithin (const AbstractPoly &poly) |
| static void | reportRefused () |
Protected Types | |
| typedef std::set< NIVissimBoundedClusterObject * > | ContType |
Protected Attributes | |
| Boundary * | myBoundary |
| int | myClusterID |
Private Types | |
| typedef std::map< int, NIVissimDisturbance * > | DictType |
Private Attributes | |
| NIVissimExtendedEdgePoint | myDisturbance |
| NIVissimExtendedEdgePoint | myEdge |
| int | myID |
| std::string | myName |
| int | myNode |
Static Private Attributes | |
| static DictType | myDict |
| static int | myRunningID = 100000000 |
| static int | refusedProhibits = 0 |
Definition at line 40 of file NIVissimDisturbance.h.
|
protectedinherited |
Definition at line 50 of file NIVissimBoundedClusterObject.h.
|
private |
Definition at line 76 of file NIVissimDisturbance.h.
| NIVissimDisturbance::NIVissimDisturbance | ( | int | id, |
| const std::string & | name, | ||
| const NIVissimExtendedEdgePoint & | edge, | ||
| const NIVissimExtendedEdgePoint & | by | ||
| ) |
Definition at line 55 of file NIVissimDisturbance.cpp.
|
virtual |
Definition at line 62 of file NIVissimDisturbance.cpp.
| bool NIVissimDisturbance::addToNode | ( | NBNode * | node, |
| NBDistrictCont & | dc, | ||
| NBNodeCont & | nc, | ||
| NBEdgeCont & | ec | ||
| ) |
Definition at line 129 of file NIVissimDisturbance.cpp.
References NBNode::addSortedLinkFoes(), NBConnection::check(), NIVissimEdge::dictionary(), NIVissimConnection::dictionary(), NBEdge::getConnectedEdges(), getConnection(), NIVissimExtendedEdgePoint::getEdgeID(), NIVissimConnection::getFromEdgeID(), NBEdge::getFromNode(), NBEdge::getID(), NIVissimAbstractEdge::getID(), NIVissimExtendedEdgePoint::getPosition(), NIVissimConnection::getToEdgeID(), NBEdge::getToNode(), myDisturbance, myEdge, myNode, refusedProhibits, NBNodeCont::retrieve(), NBEdgeCont::retrieve(), NBEdgeCont::retrievePossiblySplit(), NBEdgeCont::splitAt(), TL, and WRITE_WARNINGF.
Referenced by NIVissimNodeCluster::dict_addDisturbances().
|
static |
Definition at line 315 of file NIVissimDisturbance.cpp.
References myDict.
Referenced by NIImporter_Vissim::~NIImporter_Vissim().
|
staticinherited |
Definition at line 61 of file NIVissimBoundedClusterObject.cpp.
References NIVissimBoundedClusterObject::myDict.
Referenced by NIImporter_Vissim::postLoadBuild().
|
inherited |
Definition at line 55 of file NIVissimBoundedClusterObject.cpp.
References NIVissimBoundedClusterObject::myClusterID.
Referenced by NIVissimConnection::buildNodeClusters().
|
virtual |
Implements NIVissimBoundedClusterObject.
Definition at line 113 of file NIVissimDisturbance.cpp.
References Boundary::add(), NIVissimAbstractEdge::dictionary(), NIVissimExtendedEdgePoint::getEdgeID(), NIVissimExtendedEdgePoint::getGeomPosition(), NIVissimBoundedClusterObject::myBoundary, myDisturbance, myEdge, Boundary::xmax(), and Boundary::xmin().
|
inherited |
Definition at line 41 of file NIVissimBoundedClusterObject.cpp.
References NIVissimBoundedClusterObject::myBoundary, Boundary::overlapsWith(), Boundary::xmax(), and Boundary::xmin().
|
static |
Definition at line 324 of file NIVissimDisturbance.cpp.
References NIVissimAbstractEdge::dictionary(), NIVissimExtendedEdgePoint::getEdgeID(), myDict, myDisturbance, and myEdge.
Referenced by NIImporter_Vissim::postLoadBuild().
|
static |
Definition at line 67 of file NIVissimDisturbance.cpp.
References dictionary(), and myRunningID.
Referenced by NIVissimNodeCluster::dict_addDisturbances(), dictionary(), NIVissimConnectionCluster::getDisturbanceParticipators(), NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition::parseNumbered(), and NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition::parsePositionDescribed().
|
static |
Definition at line 92 of file NIVissimDisturbance.cpp.
References myDict.
|
static |
Definition at line 81 of file NIVissimDisturbance.cpp.
References myDict.
|
inherited |
Definition at line 69 of file NIVissimBoundedClusterObject.cpp.
References NIVissimBoundedClusterObject::myBoundary.
Referenced by NIVissimConnectionCluster::liesOnSameEdgesEnd().
| NBConnection NIVissimDisturbance::getConnection | ( | NBNode * | node, |
| int | aedgeid | ||
| ) |
Definition at line 295 of file NIVissimDisturbance.cpp.
References NIVissimEdge::dictionary(), NIVissimConnection::dictionary(), NIVissimExtendedEdgePoint::getEdgeID(), NIVissimConnection::getFromEdgeID(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIVissimConnection::getToEdgeID(), NBConnection::InvalidConnection, myEdge, TL, and WRITE_WARNING.
Referenced by addToNode().
|
inline |
Definition at line 53 of file NIVissimDisturbance.h.
References NIVissimExtendedEdgePoint::getEdgeID(), and myDisturbance.
Referenced by NIVissimConnectionCluster::getDisturbanceParticipators().
|
inline |
Definition at line 50 of file NIVissimDisturbance.h.
References NIVissimExtendedEdgePoint::getEdgeID(), and myEdge.
Referenced by NIVissimConnectionCluster::getDisturbanceParticipators().
|
static |
Definition at line 101 of file NIVissimDisturbance.cpp.
References myDict.
Referenced by NIVissimConnectionCluster::buildNodeClusters().
|
inherited |
Definition at line 49 of file NIVissimBoundedClusterObject.cpp.
References NIVissimBoundedClusterObject::myClusterID.
|
static |
Definition at line 338 of file NIVissimDisturbance.cpp.
References myDict, refusedProhibits, TL, and WRITE_WARNINGF.
Referenced by NIVissimNodeCluster::dict_addDisturbances().
|
protectedinherited |
Definition at line 52 of file NIVissimBoundedClusterObject.h.
Referenced by NIVissimConnection::buildNodeClusters(), NIVissimConnection::computeBounding(), computeBounding(), NIVissimBoundedClusterObject::crosses(), NIVissimBoundedClusterObject::getBoundary(), NIVissimConnection::getBoundingBox(), and NIVissimBoundedClusterObject::~NIVissimBoundedClusterObject().
|
protectedinherited |
Definition at line 53 of file NIVissimBoundedClusterObject.h.
Referenced by NIVissimBoundedClusterObject::clustered(), and NIVissimBoundedClusterObject::inCluster().
|
staticprivate |
Definition at line 77 of file NIVissimDisturbance.h.
Referenced by clearDict(), dict_SetDisturbances(), dictionary(), dictionary(), getWithin(), and reportRefused().
|
private |
Definition at line 74 of file NIVissimDisturbance.h.
Referenced by addToNode(), computeBounding(), dict_SetDisturbances(), and getDisturbanceID().
|
private |
Definition at line 73 of file NIVissimDisturbance.h.
Referenced by addToNode(), computeBounding(), dict_SetDisturbances(), getConnection(), and getEdgeID().
|
private |
Definition at line 70 of file NIVissimDisturbance.h.
|
private |
Definition at line 72 of file NIVissimDisturbance.h.
|
private |
Definition at line 71 of file NIVissimDisturbance.h.
Referenced by addToNode().
|
staticprivate |
Definition at line 78 of file NIVissimDisturbance.h.
Referenced by dictionary().
|
staticprivate |
Definition at line 79 of file NIVissimDisturbance.h.
Referenced by addToNode(), and reportRefused().