Eclipse SUMO - Simulation of Urban MObility
NIVisumTL::SignalGroup Class Reference

A signal group can be defined either by a time period or by phases. More...

#include <NIVisumTL.h>

Inheritance diagram for NIVisumTL::SignalGroup:
[legend]
Collaboration diagram for NIVisumTL::SignalGroup:
[legend]

Public Member Functions

NBConnectionVectorconnections ()
 Returns the connections vector. More...
 
SUMOTime getEndTime ()
 Returns the stored end time. More...
 
SUMOTime getStartTime ()
 Returns the stored start time. More...
 
SUMOTime getYellowTime ()
 Returns the stored yellow time. More...
 
std::map< std::string, Phase * > & phases ()
 Returns the phases map. More...
 
 SignalGroup (const std::string &name, SUMOTime startTime, SUMOTime endTime, SUMOTime yellowTime)
 constructor More...
 
 ~SignalGroup ()
 destructor More...
 

Private Attributes

NBConnectionVector myConnections
 Connections. More...
 
const SUMOTime myEndTime
 End time. More...
 
std::string myName
 name More...
 
std::map< std::string, Phase * > myPhases
 phases More...
 
const SUMOTime myStartTime
 Start time. More...
 
const SUMOTime myYellowTime
 Yellow time. More...
 

Detailed Description

A signal group can be defined either by a time period or by phases.

Definition at line 103 of file NIVisumTL.h.

Constructor & Destructor Documentation

◆ SignalGroup()

NIVisumTL::SignalGroup::SignalGroup ( const std::string &  name,
SUMOTime  startTime,
SUMOTime  endTime,
SUMOTime  yellowTime 
)
inline

constructor

Definition at line 106 of file NIVisumTL.h.

◆ ~SignalGroup()

NIVisumTL::SignalGroup::~SignalGroup ( )
inline

destructor

Definition at line 110 of file NIVisumTL.h.

Member Function Documentation

◆ connections()

NBConnectionVector& NIVisumTL::SignalGroup::connections ( )
inline

Returns the connections vector.

Definition at line 113 of file NIVisumTL.h.

References myConnections.

Referenced by NIVisumTL::build(), and NIImporter_VISUM::parse_TurnsToSignalGroups().

Here is the caller graph for this function:

◆ getEndTime()

SUMOTime NIVisumTL::TimePeriod::getEndTime ( )
inlineinherited

Returns the stored end time.

Definition at line 61 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myEndTime.

Referenced by NIVisumTL::build().

Here is the caller graph for this function:

◆ getStartTime()

SUMOTime NIVisumTL::TimePeriod::getStartTime ( )
inlineinherited

Returns the stored start time.

Definition at line 56 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myStartTime.

Referenced by NIVisumTL::build().

Here is the caller graph for this function:

◆ getYellowTime()

SUMOTime NIVisumTL::TimePeriod::getYellowTime ( )
inlineinherited

Returns the stored yellow time.

Definition at line 66 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myYellowTime.

Referenced by NIVisumTL::build().

Here is the caller graph for this function:

◆ phases()

std::map<std::string, Phase*>& NIVisumTL::SignalGroup::phases ( )
inline

Returns the phases map.

Definition at line 118 of file NIVisumTL.h.

References myPhases.

Referenced by NIVisumTL::build(), and NIImporter_VISUM::parse_SignalGroupsToPhases().

Here is the caller graph for this function:

Field Documentation

◆ myConnections

NBConnectionVector NIVisumTL::SignalGroup::myConnections
private

Connections.

Definition at line 124 of file NIVisumTL.h.

Referenced by connections().

◆ myEndTime

const SUMOTime NIVisumTL::TimePeriod::myEndTime
privateinherited

End time.

Definition at line 74 of file NIVisumTL.h.

Referenced by NIVisumTL::TimePeriod::getEndTime().

◆ myName

std::string NIVisumTL::SignalGroup::myName
private

name

Definition at line 128 of file NIVisumTL.h.

◆ myPhases

std::map<std::string, Phase*> NIVisumTL::SignalGroup::myPhases
private

phases

Definition at line 126 of file NIVisumTL.h.

Referenced by phases().

◆ myStartTime

const SUMOTime NIVisumTL::TimePeriod::myStartTime
privateinherited

Start time.

Definition at line 72 of file NIVisumTL.h.

Referenced by NIVisumTL::TimePeriod::getStartTime().

◆ myYellowTime

const SUMOTime NIVisumTL::TimePeriod::myYellowTime
privateinherited

Yellow time.

Definition at line 76 of file NIVisumTL.h.

Referenced by NIVisumTL::TimePeriod::getYellowTime().


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