Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIVissimDisturbance Class Reference

#include <NIVissimDisturbance.h>

Inheritance diagram for NIVissimDisturbance:
[legend]
Collaboration diagram for NIVissimDisturbance:
[legend]

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 BoundarygetBoundary () 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 NIVissimDisturbancedictionary (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

BoundarymyBoundary
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

Detailed Description

Definition at line 40 of file NIVissimDisturbance.h.

Member Typedef Documentation

◆ ContType

Definition at line 50 of file NIVissimBoundedClusterObject.h.

◆ DictType

typedef std::map<int, NIVissimDisturbance*> NIVissimDisturbance::DictType
private

Definition at line 76 of file NIVissimDisturbance.h.

Constructor & Destructor Documentation

◆ NIVissimDisturbance()

NIVissimDisturbance::NIVissimDisturbance ( int id,
const std::string & name,
const NIVissimExtendedEdgePoint & edge,
const NIVissimExtendedEdgePoint & by )

Definition at line 55 of file NIVissimDisturbance.cpp.

References myDisturbance, myEdge, myID, myName, and myNode.

Referenced by dict_SetDisturbances(), dictionary(), and dictionary().

Here is the caller graph for this function:

◆ ~NIVissimDisturbance()

NIVissimDisturbance::~NIVissimDisturbance ( )
virtual

Definition at line 62 of file NIVissimDisturbance.cpp.

Member Function Documentation

◆ addToNode()

◆ clearDict()

void NIVissimDisturbance::clearDict ( )
static

Definition at line 315 of file NIVissimDisturbance.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

Here is the caller graph for this function:

◆ closeLoading()

void NIVissimBoundedClusterObject::closeLoading ( )
staticinherited

Definition at line 61 of file NIVissimBoundedClusterObject.cpp.

References myDict.

Referenced by NIImporter_Vissim::postLoadBuild().

Here is the caller graph for this function:

◆ clustered()

bool NIVissimBoundedClusterObject::clustered ( ) const
inherited

Definition at line 55 of file NIVissimBoundedClusterObject.cpp.

References myClusterID.

Referenced by NIVissimConnection::buildNodeClusters().

Here is the caller graph for this function:

◆ computeBounding()

void NIVissimDisturbance::computeBounding ( )
virtual

◆ crosses()

bool NIVissimBoundedClusterObject::crosses ( const AbstractPoly & poly,
double offset = 0 ) const
inherited

Definition at line 41 of file NIVissimBoundedClusterObject.cpp.

References myBoundary.

◆ dict_SetDisturbances()

void NIVissimDisturbance::dict_SetDisturbances ( )
static

Definition at line 324 of file NIVissimDisturbance.cpp.

References NIVissimAbstractEdge::dictionary(), NIVissimExtendedEdgePoint::getEdgeID(), myDict, myDisturbance, myEdge, and NIVissimDisturbance().

Referenced by NIImporter_Vissim::postLoadBuild().

Here is the caller graph for this function:

◆ dictionary() [1/3]

bool NIVissimDisturbance::dictionary ( const std::string & name,
const NIVissimExtendedEdgePoint & edge,
const NIVissimExtendedEdgePoint & by )
static

◆ dictionary() [2/3]

NIVissimDisturbance * NIVissimDisturbance::dictionary ( int id)
static

Definition at line 92 of file NIVissimDisturbance.cpp.

References myDict.

◆ dictionary() [3/3]

bool NIVissimDisturbance::dictionary ( int id,
NIVissimDisturbance * o )
static

Definition at line 81 of file NIVissimDisturbance.cpp.

References myDict, and NIVissimDisturbance().

◆ getBoundary()

const Boundary & NIVissimBoundedClusterObject::getBoundary ( ) const
inherited

Definition at line 69 of file NIVissimBoundedClusterObject.cpp.

References myBoundary.

Referenced by NIVissimConnectionCluster::liesOnSameEdgesEnd().

Here is the caller graph for this function:

◆ getConnection()

NBConnection NIVissimDisturbance::getConnection ( NBNode * node,
int aedgeid )

Definition at line 295 of file NIVissimDisturbance.cpp.

References NIVissimConnection::dictionary(), NIVissimEdge::dictionary(), NIVissimConnection::getFromEdgeID(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIVissimConnection::getToEdgeID(), NBConnection::InvalidConnection, myEdge, TL, toString(), and WRITE_WARNING.

Referenced by addToNode().

Here is the caller graph for this function:

◆ getDisturbanceID()

int NIVissimDisturbance::getDisturbanceID ( ) const
inline

Definition at line 53 of file NIVissimDisturbance.h.

References myDisturbance.

Referenced by NIVissimConnectionCluster::getDisturbanceParticipators().

Here is the caller graph for this function:

◆ getEdgeID()

int NIVissimDisturbance::getEdgeID ( ) const
inline

Definition at line 50 of file NIVissimDisturbance.h.

References myEdge.

Referenced by NIVissimConnectionCluster::getDisturbanceParticipators().

Here is the caller graph for this function:

◆ getWithin()

std::vector< int > NIVissimDisturbance::getWithin ( const AbstractPoly & poly)
static

Definition at line 101 of file NIVissimDisturbance.cpp.

References myDict.

Referenced by NIVissimConnectionCluster::buildNodeClusters().

Here is the caller graph for this function:

◆ inCluster()

void NIVissimBoundedClusterObject::inCluster ( int id)
inherited

Definition at line 49 of file NIVissimBoundedClusterObject.cpp.

References myClusterID.

◆ reportRefused()

void NIVissimDisturbance::reportRefused ( )
static

Definition at line 338 of file NIVissimDisturbance.cpp.

References myDict, refusedProhibits, TL, toString(), and WRITE_WARNINGF.

Referenced by NIVissimNodeCluster::dict_addDisturbances().

Here is the caller graph for this function:

Field Documentation

◆ myBoundary

◆ myClusterID

int NIVissimBoundedClusterObject::myClusterID
protectedinherited

◆ myDict

NIVissimDisturbance::DictType NIVissimDisturbance::myDict
staticprivate

◆ myDisturbance

NIVissimExtendedEdgePoint NIVissimDisturbance::myDisturbance
private

◆ myEdge

NIVissimExtendedEdgePoint NIVissimDisturbance::myEdge
private

◆ myID

int NIVissimDisturbance::myID
private

Definition at line 70 of file NIVissimDisturbance.h.

Referenced by NIVissimDisturbance().

◆ myName

std::string NIVissimDisturbance::myName
private

Definition at line 72 of file NIVissimDisturbance.h.

Referenced by NIVissimDisturbance().

◆ myNode

int NIVissimDisturbance::myNode
private

Definition at line 71 of file NIVissimDisturbance.h.

Referenced by addToNode(), and NIVissimDisturbance().

◆ myRunningID

int NIVissimDisturbance::myRunningID = 100000000
staticprivate

Definition at line 78 of file NIVissimDisturbance.h.

Referenced by dictionary().

◆ refusedProhibits

int NIVissimDisturbance::refusedProhibits = 0
staticprivate

Definition at line 79 of file NIVissimDisturbance.h.

Referenced by addToNode(), and reportRefused().


The documentation for this class was generated from the following files: