Aimsun Next Scripting
22
|
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 *) |
GKTrafficDemandItem * | getTrafficDemandItem () const |
bool | overlaps (const GKScheduleDemandItem &) const |
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.
GKScheduleDemandItem::GKScheduleDemandItem | ( | ) |
uint GKScheduleDemandItem::getDuration | ( | ) | const |
Gets the duration in seconds.
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...
uint GKScheduleDemandItem::getFrom | ( | ) | const |
Gets the start time in seconds since 00:00:00 or 00:00AM
GKTrafficDemandItem * GKScheduleDemandItem::getTrafficDemandItem | ( | ) | const |
Gets the traffic demand item (OD or traffic state) in this entry.
bool GKScheduleDemandItem::overlaps | ( | const GKScheduleDemandItem & | ) | const |
Overlaps with another item?
void GKScheduleDemandItem::setDuration | ( | uint | ) |
Sets the duration in seconds.
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...
void GKScheduleDemandItem::setFrom | ( | uint | ) |
Sets the start time in seconds since 00:00:00 or 00:00AM
void GKScheduleDemandItem::setTrafficDemandItem | ( | GKTrafficDemandItem * | ) |
Sets the traffic demand item (OD or traffic state) in this entry.