Eclipse SUMO - Simulation of Urban MObility
GNETAZFrame::CurrentTAZ::TAZEdgeColor Class Reference

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

#include <GNETAZFrame.h>

Collaboration diagram for GNETAZFrame::CurrentTAZ::TAZEdgeColor:
[legend]

Public Member Functions

 TAZEdgeColor (CurrentTAZ *CurrentTAZParent, GNEEdge *_edge, GNETAZSourceSink *_source, GNETAZSourceSink *_sink)
 constructor More...
 
void updateColors ()
 update colors More...
 
 ~TAZEdgeColor ()
 destructor (needed because RGBColors has to be deleted) More...
 

Data Fields

GNEEdgeedge
 TAZ edge. More...
 
GNETAZSourceSinksink
 @brif sink TAZ More...
 
int sinkColor
 color by sink [0-9] More...
 
GNETAZSourceSinksource
 source TAZ 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...
 

Private Member Functions

 TAZEdgeColor ()
 default color More...
 

Private Attributes

CurrentTAZmyCurrentTAZParent
 pointer to CurrentTAZParent More...
 

Detailed Description

struct for edges and the source/sink colors

Definition at line 52 of file GNETAZFrame.h.

Constructor & Destructor Documentation

◆ TAZEdgeColor() [1/2]

GNETAZFrame::CurrentTAZ::TAZEdgeColor::TAZEdgeColor ( CurrentTAZ CurrentTAZParent,
GNEEdge _edge,
GNETAZSourceSink _source,
GNETAZSourceSink _sink 
)

constructor

Definition at line 82 of file GNETAZFrame.cpp.

◆ ~TAZEdgeColor()

GNETAZFrame::CurrentTAZ::TAZEdgeColor::~TAZEdgeColor ( )

destructor (needed because RGBColors has to be deleted)

Definition at line 94 of file GNETAZFrame.cpp.

◆ TAZEdgeColor() [2/2]

GNETAZFrame::CurrentTAZ::TAZEdgeColor::TAZEdgeColor ( )
private

default color

Definition at line 140 of file GNETAZFrame.cpp.

Member Function Documentation

◆ updateColors()

void GNETAZFrame::CurrentTAZ::TAZEdgeColor::updateColors ( )

update colors

Definition at line 98 of file GNETAZFrame.cpp.

References GNE_ATTR_TAZCOLOR.

Referenced by GNETAZFrame::CurrentTAZ::refreshTAZEdges().

Here is the caller graph for this function:

Field Documentation

◆ edge

GNEEdge* GNETAZFrame::CurrentTAZ::TAZEdgeColor::edge

◆ myCurrentTAZParent

CurrentTAZ* GNETAZFrame::CurrentTAZ::TAZEdgeColor::myCurrentTAZParent
private

pointer to CurrentTAZParent

Definition at line 87 of file GNETAZFrame.h.

◆ sink

GNETAZSourceSink* GNETAZFrame::CurrentTAZ::TAZEdgeColor::sink

@brif sink TAZ

Definition at line 71 of file GNETAZFrame.h.

Referenced by GNETAZFrame::CurrentTAZ::addTAZChild().

◆ sinkColor

int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sinkColor

color by sink [0-9]

Definition at line 77 of file GNETAZFrame.h.

◆ source

GNETAZSourceSink* GNETAZFrame::CurrentTAZ::TAZEdgeColor::source

source TAZ

Definition at line 68 of file GNETAZFrame.h.

Referenced by GNETAZFrame::CurrentTAZ::addTAZChild().

◆ sourceColor

int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourceColor

color by source [0-9]

Definition at line 74 of file GNETAZFrame.h.

◆ sourceMinusSinkColor

int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourceMinusSinkColor

color by source - sink [0-9]

Definition at line 83 of file GNETAZFrame.h.

◆ sourcePlusSinkColor

int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourcePlusSinkColor

color by source + sink [0-9]

Definition at line 80 of file GNETAZFrame.h.


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