Aimsun Next Scripting
22
|
Public Member Functions | |
GKPublicLineTimeTableScheduleDeparture () | |
~GKPublicLineTimeTableScheduleDeparture () | |
const GKTimeDuration & | getMeanTime () const |
void | setMeanTime (const GKTimeDuration &atime) |
const QTime & | getDepartureTime () const |
void | setDepartureTime (const QTime &atime) |
const GKTimeDuration & | getDeviationTime () const |
void | setDeviationTime (const GKTimeDuration &atime) |
GKVehicle * | getVehicle () const |
void | setVehicle (GKVehicle *veh) |
const GKPublicLine * | getLinkLine () const |
void | setLinkLine (const GKPublicLine *line) |
const GKTimeDuration & | getLinkDelayTime () const |
void | setLinkDelayTime (const GKTimeDuration &ldt) |
bool | isFirstVehicleLinked () const |
void | setFirstVehicleLinked (bool linkFirstVeh) |
void | setInitialLoad (int mean) |
int | getInitialLoad () const |
void | setInitialLoadDeviation (int dev) |
int | getInitialLoadDeviation () const |
Information about a departure by a bus in a transit line.
The departure can be either at a fixed time or at an interval.
See GKPublicLineTimeTable for more information in how to create these objects.
GKPublicLineTimeTableScheduleDeparture::GKPublicLineTimeTableScheduleDeparture | ( | ) |
GKPublicLineTimeTableScheduleDeparture::~GKPublicLineTimeTableScheduleDeparture | ( | ) |
const QTime & GKPublicLineTimeTableScheduleDeparture::getDepartureTime | ( | ) | const |
Returns the departure time for fixed-typed departures.
const GKTimeDuration & GKPublicLineTimeTableScheduleDeparture::getDeviationTime | ( | ) | const |
Deviation on the mean time for interval-typed departures or on the departure time for fixed-typed departures.
int GKPublicLineTimeTableScheduleDeparture::getInitialLoad | ( | ) | const |
Returns the initial vehicle load mean. It is only considered when Legion for Aimsun Simulator is on.
int GKPublicLineTimeTableScheduleDeparture::getInitialLoadDeviation | ( | ) | const |
Returns the initial vehicle load deviation. It is only considered when Legion for Aimsun Simulator is on.
const GKTimeDuration & GKPublicLineTimeTableScheduleDeparture::getLinkDelayTime | ( | ) | const |
Returns the delay time of a linked departure.
const GKPublicLine * GKPublicLineTimeTableScheduleDeparture::getLinkLine | ( | ) | const |
Returns the line this line departure is linked with, if any.
const GKTimeDuration & GKPublicLineTimeTableScheduleDeparture::getMeanTime | ( | ) | const |
Returns the mean time for interval-typed departures.
GKVehicle * GKPublicLineTimeTableScheduleDeparture::getVehicle | ( | ) | const |
Returns the vehicle type to be generated.
bool GKPublicLineTimeTableScheduleDeparture::isFirstVehicleLinked | ( | ) | const |
Gets whether the first vehicle of a linked departure will wait for the linked line vehicle to arrive or not (in this case it will be generated as it was not linked).
void GKPublicLineTimeTableScheduleDeparture::setDepartureTime | ( | const QTime & | atime | ) |
Sets the departure time for fixed-typed departures.
void GKPublicLineTimeTableScheduleDeparture::setDeviationTime | ( | const GKTimeDuration & | atime | ) |
Deviation on the mean time for interval-typed departures or on the departure time for fixed-typed departures.
void GKPublicLineTimeTableScheduleDeparture::setFirstVehicleLinked | ( | bool | linkFirstVeh | ) |
Sets the first vehicle of a linked departure to wait for the linked line vehicle to arrive or not (in this case it will be generated as it was not linked).
void GKPublicLineTimeTableScheduleDeparture::setInitialLoad | ( | int | mean | ) |
Sets the initial vehicle load mean. It is only considered when Legion for Aimsun Simulator is on.
void GKPublicLineTimeTableScheduleDeparture::setInitialLoadDeviation | ( | int | dev | ) |
Sets the initial vehicle load deviation. It is only considered when Legion for Aimsun Simulator is on.
void GKPublicLineTimeTableScheduleDeparture::setLinkDelayTime | ( | const GKTimeDuration & | ldt | ) |
Sets the delay time of a linked departure.
void GKPublicLineTimeTableScheduleDeparture::setLinkLine | ( | const GKPublicLine * | line | ) |
Sets the line this line departure is linked with.
void GKPublicLineTimeTableScheduleDeparture::setMeanTime | ( | const GKTimeDuration & | atime | ) |
Sets the mean time for interval-typed departures.
void GKPublicLineTimeTableScheduleDeparture::setVehicle | ( | GKVehicle * | veh | ) |
Sets the vehicle type to be generated.