Aimsun Next Scripting  22
Public Member Functions | List of all members
GKScheduleDemandItem Class Reference

Public Member Functions

 GKScheduleDemandItem ()
 
uint getFrom () const
 
uint getDuration () const
 
void setFrom (uint)
 
void setDuration (uint)
 
void setFactor (const QString &)
 
const QString & getFactor () const
 
void setTrafficDemandItem (GKTrafficDemandItem *)
 
GKTrafficDemandItemgetTrafficDemandItem () const
 
bool overlaps (const GKScheduleDemandItem &) const
 

Detailed Description

The time information is coded in this object, the vehicle type is coded in the OD or the traffic state. Note that the time information is also in the traffic demand item. The information in this object is the one that will be used by the simulator.

Constructor & Destructor Documentation

◆ GKScheduleDemandItem()

GKScheduleDemandItem::GKScheduleDemandItem ( )

Member Function Documentation

◆ getDuration()

uint GKScheduleDemandItem::getDuration ( ) const

Gets the duration in seconds.

◆ getFactor()

const QString & GKScheduleDemandItem::getFactor ( ) const

Gets the percentage of the traffic demand to be used. 100 means all the traffic, 50 half the traffic, 200 two times the traffic found in the demand item...

◆ getFrom()

uint GKScheduleDemandItem::getFrom ( ) const

Gets the start time in seconds since 00:00:00 or 00:00AM

◆ getTrafficDemandItem()

GKTrafficDemandItem * GKScheduleDemandItem::getTrafficDemandItem ( ) const

Gets the traffic demand item (OD or traffic state) in this entry.

◆ overlaps()

bool GKScheduleDemandItem::overlaps ( const GKScheduleDemandItem ) const

Overlaps with another item?

◆ setDuration()

void GKScheduleDemandItem::setDuration ( uint  )

Sets the duration in seconds.

◆ setFactor()

void GKScheduleDemandItem::setFactor ( const QString &  )

Sets the percentage of the traffic demand to be used. 100 means all the traffic, 50 half the traffic, 200 two times the traffic found in the demand item...

◆ setFrom()

void GKScheduleDemandItem::setFrom ( uint  )

Sets the start time in seconds since 00:00:00 or 00:00AM

◆ setTrafficDemandItem()

void GKScheduleDemandItem::setTrafficDemandItem ( GKTrafficDemandItem )

Sets the traffic demand item (OD or traffic state) in this entry.

© Aimsun SLU
Aimsun ®