Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIVisumTL::TimePeriod Class Reference

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

#include <NIVisumTL.h>

Inheritance diagram for NIVisumTL::TimePeriod:
[legend]

Public Member Functions

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

Private Member Functions

TimePeriodoperator= (const TimePeriod &s)=delete
 Invalidated assignment operator.
 

Private Attributes

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

Detailed Description

A time period with a start and an end time.

Definition at line 46 of file NIVisumTL.h.

Constructor & Destructor Documentation

◆ TimePeriod()

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

Constructor.

Definition at line 49 of file NIVisumTL.h.

◆ ~TimePeriod()

NIVisumTL::TimePeriod::~TimePeriod ( )
inline

Destructor.

Definition at line 53 of file NIVisumTL.h.

Member Function Documentation

◆ getEndTime()

SUMOTime NIVisumTL::TimePeriod::getEndTime ( )
inline

Returns the stored end time.

Definition at line 61 of file NIVisumTL.h.

References myEndTime.

Referenced by NIVisumTL::build().

Here is the caller graph for this function:

◆ getStartTime()

SUMOTime NIVisumTL::TimePeriod::getStartTime ( )
inline

Returns the stored start time.

Definition at line 56 of file NIVisumTL.h.

References myStartTime.

Referenced by NIVisumTL::build().

Here is the caller graph for this function:

◆ getYellowTime()

SUMOTime NIVisumTL::TimePeriod::getYellowTime ( )
inline

Returns the stored yellow time.

Definition at line 66 of file NIVisumTL.h.

References myYellowTime.

Referenced by NIVisumTL::build().

Here is the caller graph for this function:

◆ operator=()

TimePeriod & NIVisumTL::TimePeriod::operator= ( const TimePeriod s)
privatedelete

Invalidated assignment operator.

Field Documentation

◆ myEndTime

const SUMOTime NIVisumTL::TimePeriod::myEndTime
private

End time.

Definition at line 74 of file NIVisumTL.h.

Referenced by getEndTime().

◆ myStartTime

const SUMOTime NIVisumTL::TimePeriod::myStartTime
private

Start time.

Definition at line 72 of file NIVisumTL.h.

Referenced by getStartTime().

◆ myYellowTime

const SUMOTime NIVisumTL::TimePeriod::myYellowTime
private

Yellow time.

Definition at line 76 of file NIVisumTL.h.

Referenced by getYellowTime().


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