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

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

Constructor & Destructor Documentation

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

Constructor.

Definition at line 59 of file NIVisumTL.h.

NIVisumTL::TimePeriod::~TimePeriod ( )
inline

Destructor.

Definition at line 63 of file NIVisumTL.h.

Member Function Documentation

SUMOTime NIVisumTL::TimePeriod::getEndTime ( )
inline

Returns the stored end time.

Definition at line 71 of file NIVisumTL.h.

References myEndTime.

Referenced by NIVisumTL::build().

SUMOTime NIVisumTL::TimePeriod::getStartTime ( )
inline

Returns the stored start time.

Definition at line 66 of file NIVisumTL.h.

References myStartTime.

Referenced by NIVisumTL::build().

SUMOTime NIVisumTL::TimePeriod::getYellowTime ( )
inline

Returns the stored yellow time.

Definition at line 76 of file NIVisumTL.h.

References myYellowTime.

Referenced by NIVisumTL::build().

Field Documentation

SUMOTime NIVisumTL::TimePeriod::myEndTime
private

End time.

Definition at line 84 of file NIVisumTL.h.

Referenced by getEndTime().

SUMOTime NIVisumTL::TimePeriod::myStartTime
private

Start time.

Definition at line 82 of file NIVisumTL.h.

Referenced by getStartTime().

SUMOTime NIVisumTL::TimePeriod::myYellowTime
private

Yellow time.

Definition at line 86 of file NIVisumTL.h.

Referenced by getYellowTime().


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