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

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...
 
SUMOTime myEndTime
 End time. More...
 
std::string myName
 name More...
 
std::map< std::string, Phase * > myPhases
 phases More...
 
SUMOTime myStartTime
 Start time. More...
 
SUMOTime myYellowTime
 Yellow time. More...
 

Detailed Description

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

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

◆ ~SignalGroup()

NIVisumTL::SignalGroup::~SignalGroup ( )
inline

destructor

Definition at line 109 of file NIVisumTL.h.

Member Function Documentation

◆ connections()

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

Returns the connections vector.

Definition at line 112 of file NIVisumTL.h.

References myConnections.

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

◆ getEndTime()

SUMOTime NIVisumTL::TimePeriod::getEndTime ( )
inlineinherited

Returns the stored end time.

Definition at line 64 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 59 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 69 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 117 of file NIVisumTL.h.

References myPhases.

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

Field Documentation

◆ myConnections

NBConnectionVector NIVisumTL::SignalGroup::myConnections
private

Connections.

Definition at line 123 of file NIVisumTL.h.

Referenced by connections().

◆ myEndTime

SUMOTime NIVisumTL::TimePeriod::myEndTime
privateinherited

End time.

Definition at line 77 of file NIVisumTL.h.

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

◆ myName

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

name

Definition at line 127 of file NIVisumTL.h.

◆ myPhases

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

phases

Definition at line 125 of file NIVisumTL.h.

Referenced by phases().

◆ myStartTime

SUMOTime NIVisumTL::TimePeriod::myStartTime
privateinherited

Start time.

Definition at line 75 of file NIVisumTL.h.

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

◆ myYellowTime

SUMOTime NIVisumTL::TimePeriod::myYellowTime
privateinherited

Yellow time.

Definition at line 79 of file NIVisumTL.h.

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


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