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

Public Member Functions

 GKPublicLineTimeTableScheduleDeparture ()
 
 ~GKPublicLineTimeTableScheduleDeparture ()
 
const GKTimeDurationgetMeanTime () const
 
void setMeanTime (const GKTimeDuration &atime)
 
const QTime & getDepartureTime () const
 
void setDepartureTime (const QTime &atime)
 
const GKTimeDurationgetDeviationTime () const
 
void setDeviationTime (const GKTimeDuration &atime)
 
GKVehiclegetVehicle () const
 
void setVehicle (GKVehicle *veh)
 
const GKPublicLinegetLinkLine () const
 
void setLinkLine (const GKPublicLine *line)
 
const GKTimeDurationgetLinkDelayTime () 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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ GKPublicLineTimeTableScheduleDeparture()

GKPublicLineTimeTableScheduleDeparture::GKPublicLineTimeTableScheduleDeparture ( )

◆ ~GKPublicLineTimeTableScheduleDeparture()

GKPublicLineTimeTableScheduleDeparture::~GKPublicLineTimeTableScheduleDeparture ( )

Member Function Documentation

◆ getDepartureTime()

const QTime & GKPublicLineTimeTableScheduleDeparture::getDepartureTime ( ) const

Returns the departure time for fixed-typed departures.

◆ getDeviationTime()

const GKTimeDuration & GKPublicLineTimeTableScheduleDeparture::getDeviationTime ( ) const

Deviation on the mean time for interval-typed departures or on the departure time for fixed-typed departures.

◆ getInitialLoad()

int GKPublicLineTimeTableScheduleDeparture::getInitialLoad ( ) const

Returns the initial vehicle load mean. It is only considered when Legion for Aimsun Simulator is on.

◆ getInitialLoadDeviation()

int GKPublicLineTimeTableScheduleDeparture::getInitialLoadDeviation ( ) const

Returns the initial vehicle load deviation. It is only considered when Legion for Aimsun Simulator is on.

◆ getLinkDelayTime()

const GKTimeDuration & GKPublicLineTimeTableScheduleDeparture::getLinkDelayTime ( ) const

Returns the delay time of a linked departure.

◆ getLinkLine()

const GKPublicLine * GKPublicLineTimeTableScheduleDeparture::getLinkLine ( ) const

Returns the line this line departure is linked with, if any.

◆ getMeanTime()

const GKTimeDuration & GKPublicLineTimeTableScheduleDeparture::getMeanTime ( ) const

Returns the mean time for interval-typed departures.

◆ getVehicle()

GKVehicle * GKPublicLineTimeTableScheduleDeparture::getVehicle ( ) const

Returns the vehicle type to be generated.

◆ isFirstVehicleLinked()

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).

◆ setDepartureTime()

void GKPublicLineTimeTableScheduleDeparture::setDepartureTime ( const QTime &  atime)

Sets the departure time for fixed-typed departures.

◆ setDeviationTime()

void GKPublicLineTimeTableScheduleDeparture::setDeviationTime ( const GKTimeDuration atime)

Deviation on the mean time for interval-typed departures or on the departure time for fixed-typed departures.

◆ setFirstVehicleLinked()

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).

◆ setInitialLoad()

void GKPublicLineTimeTableScheduleDeparture::setInitialLoad ( int  mean)

Sets the initial vehicle load mean. It is only considered when Legion for Aimsun Simulator is on.

◆ setInitialLoadDeviation()

void GKPublicLineTimeTableScheduleDeparture::setInitialLoadDeviation ( int  dev)

Sets the initial vehicle load deviation. It is only considered when Legion for Aimsun Simulator is on.

◆ setLinkDelayTime()

void GKPublicLineTimeTableScheduleDeparture::setLinkDelayTime ( const GKTimeDuration ldt)

Sets the delay time of a linked departure.

◆ setLinkLine()

void GKPublicLineTimeTableScheduleDeparture::setLinkLine ( const GKPublicLine line)

Sets the line this line departure is linked with.

◆ setMeanTime()

void GKPublicLineTimeTableScheduleDeparture::setMeanTime ( const GKTimeDuration atime)

Sets the mean time for interval-typed departures.

◆ setVehicle()

void GKPublicLineTimeTableScheduleDeparture::setVehicle ( GKVehicle veh)

Sets the vehicle type to be generated.

© Aimsun SLU
Aimsun ®