SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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:
NIVisumTL::TimePeriod

Public Member Functions

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

Private Attributes

NBConnectionVector myConnections
 Connections.
std::string myName
 name
std::map< std::string, Phase * > myPhases
 phases

Detailed Description

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

Definition at line 100 of file NIVisumTL.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 103 of file NIVisumTL.h.

NIVisumTL::SignalGroup::~SignalGroup ( )
inline

destructor

Definition at line 107 of file NIVisumTL.h.

Member Function Documentation

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

Returns the connections vector.

Definition at line 110 of file NIVisumTL.h.

References myConnections.

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

SUMOTime NIVisumTL::TimePeriod::getEndTime ( )
inlineinherited

Returns the stored end time.

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

References NIVisumTL::TimePeriod::myStartTime.

Referenced by NIVisumTL::build().

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

Returns the phases map.

Definition at line 115 of file NIVisumTL.h.

References myPhases.

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

Field Documentation

NBConnectionVector NIVisumTL::SignalGroup::myConnections
private

Connections.

Definition at line 121 of file NIVisumTL.h.

Referenced by connections().

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

name

Definition at line 125 of file NIVisumTL.h.

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

phases

Definition at line 123 of file NIVisumTL.h.

Referenced by phases().


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