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 108 of file NIVisumTL.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 111 of file NIVisumTL.h.

NIVisumTL::SignalGroup::~SignalGroup ( )
inline

destructor

Definition at line 115 of file NIVisumTL.h.

Member Function Documentation

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

Returns the connections vector.

Definition at line 118 of file NIVisumTL.h.

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

SUMOTime NIVisumTL::TimePeriod::getEndTime ( )
inlineinherited

Returns the stored end time.

Definition at line 70 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myEndTime.

Referenced by NIVisumTL::build().

SUMOTime NIVisumTL::TimePeriod::getStartTime ( )
inlineinherited

Returns the stored start time.

Definition at line 65 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myStartTime.

Referenced by NIVisumTL::build().

SUMOTime NIVisumTL::TimePeriod::getYellowTime ( )
inlineinherited

Returns the stored yellow time.

Definition at line 75 of file NIVisumTL.h.

References NIVisumTL::TimePeriod::myYellowTime.

Referenced by NIVisumTL::build().

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

Returns the phases map.

Definition at line 123 of file NIVisumTL.h.

References NIVisumTL::myPhases.

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

Field Documentation

NBConnectionVector NIVisumTL::SignalGroup::myConnections
private

Connections.

Definition at line 129 of file NIVisumTL.h.

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

name

Definition at line 133 of file NIVisumTL.h.

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

phases

Definition at line 131 of file NIVisumTL.h.


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