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:
Inheritance graph
Collaboration diagram for NIVisumTL::SignalGroup:
Collaboration graph

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...
 
std::string myName
 name More...
 
std::map< std::string, Phase * > myPhases
 phases More...
 

Detailed Description

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

Definition at line 109 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 112 of file NIVisumTL.h.

◆ ~SignalGroup()

NIVisumTL::SignalGroup::~SignalGroup ( )
inline

destructor

Definition at line 116 of file NIVisumTL.h.

Member Function Documentation

◆ connections()

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

Returns the connections vector.

Definition at line 119 of file NIVisumTL.h.

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

◆ getEndTime()

SUMOTime NIVisumTL::TimePeriod::getEndTime ( )
inlineinherited

Returns the stored end time.

Definition at line 71 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myEndTime.

Referenced by NIVisumTL::build().

◆ getStartTime()

SUMOTime NIVisumTL::TimePeriod::getStartTime ( )
inlineinherited

Returns the stored start time.

Definition at line 66 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myStartTime.

Referenced by NIVisumTL::build().

◆ getYellowTime()

SUMOTime NIVisumTL::TimePeriod::getYellowTime ( )
inlineinherited

Returns the stored yellow time.

Definition at line 76 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myYellowTime.

Referenced by NIVisumTL::build().

◆ phases()

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

Returns the phases map.

Definition at line 124 of file NIVisumTL.h.

References NIVisumTL::myPhases.

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

Field Documentation

◆ myConnections

NBConnectionVector NIVisumTL::SignalGroup::myConnections
private

Connections.

Definition at line 130 of file NIVisumTL.h.

◆ myName

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

name

Definition at line 134 of file NIVisumTL.h.

◆ myPhases

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

phases

Definition at line 132 of file NIVisumTL.h.


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