Eclipse SUMO - Simulation of Urban MObility
GNEConnectorFrame::ConnectionLegend Class Reference

#include <GNEConnectorFrame.h>

Inheritance diagram for GNEConnectorFrame::ConnectionLegend:
Collaboration diagram for GNEConnectorFrame::ConnectionLegend:

Public Member Functions

 ConnectionLegend (GNEConnectorFrame *connectorFrameParent)
 constructor More...
 
const RGBColorgetConflictColor () const
 get color for a to-lane that cannot be used because another connection conflicts More...
 
const RGBColorgetPotentialTargetColor () const
 get color for potential to-lane targets (currently unconnected) More...
 
const RGBColorgetSourceColor () const
 get color for the from-lane of a connection More...
 
const RGBColorgetTargetColor () const
 get color for the to-lane of a connection More...
 
const RGBColorgetTargetPassColor () const
 get color for the to-lane of a connection with pass attribute More...
 
 ~ConnectionLegend ()
 destructor More...
 

Private Attributes

RGBColor myConflictColor
 color for a to-lane that cannot be used because another connection conflicts More...
 
FXLabel * myConflictLabel
 conflict label More...
 
FXLabel * myPossibleTargetLabel
 possible target label More...
 
RGBColor myPotentialTargetColor
 color for potential to-lane targets (currently unconnected) More...
 
RGBColor mySourceColor
 color for the from-lane of a connection More...
 
FXLabel * mySourceLabel
 source label More...
 
RGBColor myTargetColor
 color for the to-lane of a connection More...
 
FXLabel * myTargetLabel
 target label More...
 
RGBColor myTargetPassColor
 color for the to-lane of a connection with pass attribute More...
 
FXLabel * myTargetPassLabel
 target pass label More...
 

Detailed Description

Definition at line 190 of file GNEConnectorFrame.h.

Constructor & Destructor Documentation

◆ ConnectionLegend()

GNEConnectorFrame::ConnectionLegend::ConnectionLegend ( GNEConnectorFrame connectorFrameParent)

◆ ~ConnectionLegend()

GNEConnectorFrame::ConnectionLegend::~ConnectionLegend ( )

destructor

Definition at line 355 of file GNEConnectorFrame.cpp.

Member Function Documentation

◆ getConflictColor()

const RGBColor & GNEConnectorFrame::ConnectionLegend::getConflictColor ( ) const

get color for a to-lane that cannot be used because another connection conflicts

Definition at line 383 of file GNEConnectorFrame.cpp.

References myConflictColor.

Referenced by GNEConnectorFrame::initTargets().

◆ getPotentialTargetColor()

const RGBColor & GNEConnectorFrame::ConnectionLegend::getPotentialTargetColor ( ) const

get color for potential to-lane targets (currently unconnected)

Definition at line 371 of file GNEConnectorFrame.cpp.

References myPotentialTargetColor.

Referenced by GNEConnectorFrame::buildConnection(), and GNEConnectorFrame::initTargets().

◆ getSourceColor()

const RGBColor & GNEConnectorFrame::ConnectionLegend::getSourceColor ( ) const

get color for the from-lane of a connection

Definition at line 359 of file GNEConnectorFrame.cpp.

References mySourceColor.

Referenced by GNEConnectorFrame::buildConnection().

◆ getTargetColor()

const RGBColor & GNEConnectorFrame::ConnectionLegend::getTargetColor ( ) const

get color for the to-lane of a connection

Definition at line 365 of file GNEConnectorFrame.cpp.

References myTargetColor.

Referenced by GNEConnectorFrame::buildConnection(), and GNEConnectorFrame::initTargets().

◆ getTargetPassColor()

const RGBColor & GNEConnectorFrame::ConnectionLegend::getTargetPassColor ( ) const

get color for the to-lane of a connection with pass attribute

Definition at line 377 of file GNEConnectorFrame.cpp.

References myTargetPassColor.

Referenced by GNEConnectorFrame::buildConnection(), and GNEConnectorFrame::initTargets().

Field Documentation

◆ myConflictColor

RGBColor GNEConnectorFrame::ConnectionLegend::myConflictColor
private

color for a to-lane that cannot be used because another connection conflicts

Definition at line 243 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend(), and getConflictColor().

◆ myConflictLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::myConflictLabel
private

conflict label

Definition at line 228 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myPossibleTargetLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::myPossibleTargetLabel
private

possible target label

Definition at line 222 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myPotentialTargetColor

RGBColor GNEConnectorFrame::ConnectionLegend::myPotentialTargetColor
private

color for potential to-lane targets (currently unconnected)

Definition at line 237 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend(), and getPotentialTargetColor().

◆ mySourceColor

RGBColor GNEConnectorFrame::ConnectionLegend::mySourceColor
private

color for the from-lane of a connection

Definition at line 231 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend(), and getSourceColor().

◆ mySourceLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::mySourceLabel
private

source label

Definition at line 216 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myTargetColor

RGBColor GNEConnectorFrame::ConnectionLegend::myTargetColor
private

color for the to-lane of a connection

Definition at line 234 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend(), and getTargetColor().

◆ myTargetLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::myTargetLabel
private

target label

Definition at line 219 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myTargetPassColor

RGBColor GNEConnectorFrame::ConnectionLegend::myTargetPassColor
private

color for the to-lane of a connection with pass attribute

Definition at line 240 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend(), and getTargetPassColor().

◆ myTargetPassLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::myTargetPassLabel
private

target pass label

Definition at line 225 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().


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