Eclipse SUMO - Simulation of Urban MObility
GNETAZFrame::TAZCurrent::TAZEdge Struct Reference

struct for edges and the source/sink colors More...

#include <GNETAZFrame.h>

Collaboration diagram for GNETAZFrame::TAZCurrent::TAZEdge:
[legend]

Public Member Functions

 TAZEdge (TAZCurrent *TAZCurrentParent, GNEEdge *_edge, GNETAZSourceSink *_TAZSource, GNETAZSourceSink *_TAZSink)
 constructor More...
 
void updateColors ()
 update colors More...
 
 ~TAZEdge ()
 destructor (needed because RGBColors has to be deleted) More...
 

Data Fields

GNEEdgeedge
 TAZ edge. More...
 
int sinkColor
 color by sink [0-9] More...
 
int sourceColor
 color by source [0-9] More...
 
int sourceMinusSinkColor
 color by source - sink [0-9] More...
 
int sourcePlusSinkColor
 color by source + sink [0-9] More...
 
GNETAZSourceSinkTAZSink
 @brif sink TAZ More...
 
GNETAZSourceSinkTAZSource
 source TAZ More...
 

Private Attributes

TAZCurrentmyTAZCurrentParent
 pointer to TAZCurrentParent More...
 

Detailed Description

struct for edges and the source/sink colors

Definition at line 50 of file GNETAZFrame.h.

Constructor & Destructor Documentation

◆ TAZEdge()

GNETAZFrame::TAZCurrent::TAZEdge::TAZEdge ( TAZCurrent TAZCurrentParent,
GNEEdge _edge,
GNETAZSourceSink _TAZSource,
GNETAZSourceSink _TAZSink 
)

constructor

Definition at line 80 of file GNETAZFrame.cpp.

◆ ~TAZEdge()

GNETAZFrame::TAZCurrent::TAZEdge::~TAZEdge ( )

destructor (needed because RGBColors has to be deleted)

Definition at line 92 of file GNETAZFrame.cpp.

Member Function Documentation

◆ updateColors()

void GNETAZFrame::TAZCurrent::TAZEdge::updateColors ( )

update colors

Definition at line 96 of file GNETAZFrame.cpp.

References GNE_ATTR_TAZCOLOR.

Field Documentation

◆ edge

GNEEdge* GNETAZFrame::TAZCurrent::TAZEdge::edge

TAZ edge.

Definition at line 61 of file GNETAZFrame.h.

Referenced by GNETAZFrame::TAZSelectionStatistics::selectEdge().

◆ myTAZCurrentParent

TAZCurrent* GNETAZFrame::TAZCurrent::TAZEdge::myTAZCurrentParent
private

pointer to TAZCurrentParent

Definition at line 83 of file GNETAZFrame.h.

◆ sinkColor

int GNETAZFrame::TAZCurrent::TAZEdge::sinkColor

color by sink [0-9]

Definition at line 73 of file GNETAZFrame.h.

◆ sourceColor

int GNETAZFrame::TAZCurrent::TAZEdge::sourceColor

color by source [0-9]

Definition at line 70 of file GNETAZFrame.h.

◆ sourceMinusSinkColor

int GNETAZFrame::TAZCurrent::TAZEdge::sourceMinusSinkColor

color by source - sink [0-9]

Definition at line 79 of file GNETAZFrame.h.

◆ sourcePlusSinkColor

int GNETAZFrame::TAZCurrent::TAZEdge::sourcePlusSinkColor

color by source + sink [0-9]

Definition at line 76 of file GNETAZFrame.h.

◆ TAZSink

GNETAZSourceSink* GNETAZFrame::TAZCurrent::TAZEdge::TAZSink

@brif sink TAZ

Definition at line 67 of file GNETAZFrame.h.

◆ TAZSource

GNETAZSourceSink* GNETAZFrame::TAZCurrent::TAZEdge::TAZSource

source TAZ

Definition at line 64 of file GNETAZFrame.h.


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