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

Public Types

typedef QMap< GKObject *, double > Map
 

Public Member Functions

 GKWalkingTime ()
 
 GKWalkingTime (const GKWalkingTime &other)
 
Map getWalkingTimes (GKObject *iMainObject, const GKModel *iModel) const
 
void setWalkingTimes (const Map &m)
 
QList< GKObject * > getRelatedObjects (const GKModel *iModel) const
 

Member Typedef Documentation

◆ Map

typedef QMap<GKObject*,double> GKWalkingTime::Map

Constructor & Destructor Documentation

◆ GKWalkingTime() [1/2]

GKWalkingTime::GKWalkingTime ( )

Constructor

◆ GKWalkingTime() [2/2]

GKWalkingTime::GKWalkingTime ( const GKWalkingTime other)

Constructor

Member Function Documentation

◆ getRelatedObjects()

QList< GKObject * > GKWalkingTime::getRelatedObjects ( const GKModel iModel) const

Returns the objects to which or from which there is a defined walking time.

Note
That means that there may be objects in this list that don't appear in the Map returned by getWalkingTimes() as getWalkingTimes() only returns values of walkingTime to the objects.

◆ getWalkingTimes()

Map GKWalkingTime::getWalkingTimes ( GKObject iMainObject,
const GKModel iModel 
) const

Returns the walkingTimes map: walkingTime to an object (for the objects it has been defined), by object id.

◆ setWalkingTimes()

void GKWalkingTime::setWalkingTimes ( const Map m)

Sets the walkingTimes map: walkingTime to an object (for the objects it has been defined), by object id.

© Aimsun SLU
Aimsun ®