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 189 of file GNEConnectorFrame.h.

Constructor & Destructor Documentation

◆ ConnectionLegend()

GNEConnectorFrame::ConnectionLegend::ConnectionLegend ( GNEConnectorFrame connectorFrameParent)

◆ ~ConnectionLegend()

GNEConnectorFrame::ConnectionLegend::~ConnectionLegend ( )

destructor

Definition at line 358 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 386 of file GNEConnectorFrame.cpp.

Referenced by GNEConnectorFrame::initTargets().

◆ getPotentialTargetColor()

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

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

Definition at line 374 of file GNEConnectorFrame.cpp.

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 362 of file GNEConnectorFrame.cpp.

Referenced by GNEConnectorFrame::buildConnection().

◆ getTargetColor()

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

get color for the to-lane of a connection

Definition at line 368 of file GNEConnectorFrame.cpp.

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 380 of file GNEConnectorFrame.cpp.

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 242 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myConflictLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::myConflictLabel
private

conflict label

Definition at line 227 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myPossibleTargetLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::myPossibleTargetLabel
private

possible target label

Definition at line 221 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myPotentialTargetColor

RGBColor GNEConnectorFrame::ConnectionLegend::myPotentialTargetColor
private

color for potential to-lane targets (currently unconnected)

Definition at line 236 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ mySourceColor

RGBColor GNEConnectorFrame::ConnectionLegend::mySourceColor
private

color for the from-lane of a connection

Definition at line 230 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ mySourceLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::mySourceLabel
private

source label

Definition at line 215 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myTargetColor

RGBColor GNEConnectorFrame::ConnectionLegend::myTargetColor
private

color for the to-lane of a connection

Definition at line 233 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myTargetLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::myTargetLabel
private

target label

Definition at line 218 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 239 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().

◆ myTargetPassLabel

FXLabel* GNEConnectorFrame::ConnectionLegend::myTargetPassLabel
private

target pass label

Definition at line 224 of file GNEConnectorFrame.h.

Referenced by ConnectionLegend().


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