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

A time period with a start and an end time. More...

#include <NIVisumTL.h>

Inheritance diagram for NIVisumTL::TimePeriod:
Collaboration diagram for NIVisumTL::TimePeriod:

Public Member Functions

SUMOTime getEndTime ()
 Returns the stored end time. More...
 
SUMOTime getStartTime ()
 Returns the stored start time. More...
 
SUMOTime getYellowTime ()
 Returns the stored yellow time. More...
 
 TimePeriod (SUMOTime startTime, SUMOTime endTime, SUMOTime yellowTime)
 Constructor. More...
 
 ~TimePeriod ()
 Destructor. More...
 

Private Attributes

SUMOTime myEndTime
 End time. More...
 
SUMOTime myStartTime
 Start time. More...
 
SUMOTime myYellowTime
 Yellow time. More...
 

Detailed Description

A time period with a start and an end time.

Definition at line 49 of file NIVisumTL.h.

Constructor & Destructor Documentation

◆ TimePeriod()

NIVisumTL::TimePeriod::TimePeriod ( SUMOTime  startTime,
SUMOTime  endTime,
SUMOTime  yellowTime 
)
inline

Constructor.

Definition at line 52 of file NIVisumTL.h.

◆ ~TimePeriod()

NIVisumTL::TimePeriod::~TimePeriod ( )
inline

Destructor.

Definition at line 56 of file NIVisumTL.h.

Member Function Documentation

◆ getEndTime()

SUMOTime NIVisumTL::TimePeriod::getEndTime ( )
inline

Returns the stored end time.

Definition at line 64 of file NIVisumTL.h.

References myEndTime.

Referenced by NIVisumTL::build().

◆ getStartTime()

SUMOTime NIVisumTL::TimePeriod::getStartTime ( )
inline

Returns the stored start time.

Definition at line 59 of file NIVisumTL.h.

References myStartTime.

Referenced by NIVisumTL::build().

◆ getYellowTime()

SUMOTime NIVisumTL::TimePeriod::getYellowTime ( )
inline

Returns the stored yellow time.

Definition at line 69 of file NIVisumTL.h.

References myYellowTime.

Referenced by NIVisumTL::build().

Field Documentation

◆ myEndTime

SUMOTime NIVisumTL::TimePeriod::myEndTime
private

End time.

Definition at line 77 of file NIVisumTL.h.

Referenced by getEndTime().

◆ myStartTime

SUMOTime NIVisumTL::TimePeriod::myStartTime
private

Start time.

Definition at line 75 of file NIVisumTL.h.

Referenced by getStartTime().

◆ myYellowTime

SUMOTime NIVisumTL::TimePeriod::myYellowTime
private

Yellow time.

Definition at line 79 of file NIVisumTL.h.

Referenced by getYellowTime().


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