Aimsun Next Scripting
22
|
Functions | |
GKContent | BuildOriginatorContent (const GKObject *o) |
GKContent | BuildLastGeneratedContent () |
GKContent | BuildMainContent (const GKContent::Id &id, const QString &name="") |
TypeHeaderCode End int | GetMax (const QList< int > &values) |
int | GetMin (const QList< int > &values) |
double | GetMax (const QList< double > &values) |
double | GetMin (const QList< double > &values) |
int | GetMax (const QVector< int > &values) |
int | GetMin (const QVector< int > &values) |
double | GetMax (const QVector< double > &values) |
double | GetMin (const QVector< double > &values) |
double | GetMean (const QVector< double > &values) |
double | GetWeightedMean (const QVector< double > &values, const QVector< double > &weights) |
double | GetSum (const QVector< double > &values) |
double | GetStdDeviation (const QVector< double > &values) |
double | GetWeightedStdDeviation (const QVector< double > &values, const QVector< double > &weights) |
QVector< GKObject * > | GetObjectsOfType (GKType *type, bool includeSubTypes=true, bool sort=true) |
GKContents | BuildContents (const QString &mainId, const GKObject *originator, const GKBaseObject *userClass) |
GKContents | BuildContents (const QString &mainId, const QString &mainDescription, const GKObject *originator, const GKBaseObject *userClass) |
GKContents | BuildContents (const QString &mainId, const GKObject *originator) |
GKContents | BuildContentsUC (const QString &mainId, const GKObject *userClass) |
GKContent | BuildUserClassContent (const GKBaseObject *userClass, GK::NullMeaning meaning=GK::eNullMeansAll) |
GKContent | BuildLaneContent (int laneIndex) |
GKContent | BuildLaneContentAll () |
GKContent | BuildSignalGroupContent (int sgIndex) |
GKContent | BuildSignalGroupContentAll () |
GKContent | BuildOriginContent (const GKObject *origin) |
GKContent | BuildDestinationContent (const GKObject *destination) |
GKContent | BuildPTLineTypeContent (const GKPublicLine *ptLine, GK::NullMeaning meaning=GK::eNullMeansAll) |
GKContent | BuildPTLineTypeContentAll () |
GKContent | BuildPollutantContent (const QString &pollutant) |
GKContent | BuildPollutantContentAll () |
GKContent | BuildODTypeContent (GK::ODType odType) |
GKContent | BuildAggregationTypeContent (GK::AggregationType aggType) |
GKContent | BuildLinkContent () |
GKContent | BuildSIContent () |
enum GK::AggregationType |
enum GK::ConnectionType |
enum GK::Conversion |
Physical dimensions of values in various units ( 'distance by time' can either correspond to eSpeed (km/h in eMetric) or to eSpeedMS (m/s in eMetric) ). Each Conversion corresponds to a conversion factor between two different UnitSystem.
enum GK::DetailLevel |
enum GK::NullMeaning |
enum GK::ODType |
enum GK::RoadSide |
enum GK::SizeUnits |
enum GK::UnitSystem |
GKContent GK::BuildAggregationTypeContent | ( | GK::AggregationType | aggType | ) |
Builds a GK.eContentAggregationType content with the specified aggType.
GKContents GK::BuildContents | ( | const QString & | mainId, |
const GKObject * | originator | ||
) |
Builds a GKContents that contains an agglomeration of:
GKContents GK::BuildContents | ( | const QString & | mainId, |
const GKObject * | originator, | ||
const GKBaseObject * | userClass | ||
) |
Builds a GKContents that contains an agglomeration of:
GKContents GK::BuildContents | ( | const QString & | mainId, |
const QString & | mainDescription, | ||
const GKObject * | originator, | ||
const GKBaseObject * | userClass | ||
) |
Same as BuildContents(const QString& mainId, const GKObject* originator, const GKBaseObject * userClass), but allowing you to specify the mainDescription (a.k.a the label of the GK.eContentMain shown to the user).
GKContents GK::BuildContentsUC | ( | const QString & | mainId, |
const GKObject * | userClass | ||
) |
Builds a GKContents that contains an agglomeration of:
Builds a GK.eContentDestination content with the id of the specified origin.
GKContent GK::BuildLaneContent | ( | int | laneIndex | ) |
Builds a GK.eContentLane content with the specified laneIndex.
GKContent GK::BuildLaneContentAll | ( | ) |
Builds a GK.eContentLane content for an 'All Lanes' GKColumn.
GKContent GK::BuildLastGeneratedContent | ( | ) |
Builds a GKContent of type eContentOriginator describing the Last Generated originator.
GKContent GK::BuildLinkContent | ( | ) |
Builds a GK.eContentLink content, that indicates that the GKColumn relates to the link of the GKTurning.
GKContent GK::BuildMainContent | ( | const GKContent::Id & | id, |
const QString & | name = "" |
||
) |
Builds a GKContent of type eContentMain using the specified id and name.
GKContent GK::BuildODTypeContent | ( | GK::ODType | odType | ) |
Builds a GK.eContentODType content with the specified odType.
Builds a GK.eContentOrigin content with the id of the specified origin.
GKContent GK::BuildPollutantContent | ( | const QString & | pollutant | ) |
Builds a GK.eContentPollutant content with the specfied id.
GKContent GK::BuildPollutantContentAll | ( | ) |
Builds a GK.eContentPollutant content for an 'All pollutants' GKColumn.
GKContent GK::BuildPTLineTypeContent | ( | const GKPublicLine * | ptLine, |
GK::NullMeaning | meaning = GK::eNullMeansAll |
||
) |
Builds a GK.eContentPTLine content with the id of the specified ptLine.
GKContent GK::BuildPTLineTypeContentAll | ( | ) |
Builds a GK.eContentPTLine content for an 'All Transit Lines' GKColumn.
GKContent GK::BuildSIContent | ( | ) |
Builds a GK.eContentLink content, that indicates that the GKColumn is SI.
GKContent GK::BuildSignalGroupContent | ( | int | sgIndex | ) |
Builds a GK.eContentSignalGroup content with the specified sgIndex.
GKContent GK::BuildSignalGroupContentAll | ( | ) |
Builds a GK.eContentSignalGroup content for an 'All Signal Groups' GKColumn.
GKContent GK::BuildUserClassContent | ( | const GKBaseObject * | userClass, |
GK::NullMeaning | meaning = GK::eNullMeansAll |
||
) |
Builds a GK.eContentUserClass content with the id of the specified userClass.
userClass | defines the userClass. |
meaning | defines the corresponding label shown in the UI when the userClass in None ("None", "All", "Undefined",...). |
double GK::GetMax | ( | const QList< double > & | values | ) |
Alias for GetMax<double,QList>(values).
TypeHeaderCode End int GK::GetMax | ( | const QList< int > & | values | ) |
Alias for GetMax<int,QList>(values).
double GK::GetMax | ( | const QVector< double > & | values | ) |
Alias for GetMax<double,QVector>(values).
int GK::GetMax | ( | const QVector< int > & | values | ) |
Alias for GetMax<int,QVector>(values).
double GK::GetMean | ( | const QVector< double > & | values | ) |
Returns the mean of the values.
double GK::GetMin | ( | const QList< double > & | values | ) |
Alias for GetMin<double,QList>(values).
int GK::GetMin | ( | const QList< int > & | values | ) |
Alias for GetMin<int,QList>(values).
double GK::GetMin | ( | const QVector< double > & | values | ) |
Alias for GetMin<double,QVector>(values).
int GK::GetMin | ( | const QVector< int > & | values | ) |
Alias for GetMin<int,QVector>(values).
QVector< GKObject * > GK::GetObjectsOfType | ( | GKType * | type, |
bool | includeSubTypes = true , |
||
bool | sort = true |
||
) |
Returns all the objects of the specified type in a vector. If includeSubTypes is true, objects from all the subtypes of type will be also returned. If sort is true the objects will be sorted by ID.
double GK::GetStdDeviation | ( | const QVector< double > & | values | ) |
Returns the standard deviation of the values.
double GK::GetSum | ( | const QVector< double > & | values | ) |
Returns the sum of the values.
double GK::GetWeightedMean | ( | const QVector< double > & | values, |
const QVector< double > & | weights | ||
) |
Returns the mean of the values.
double GK::GetWeightedStdDeviation | ( | const QVector< double > & | values, |
const QVector< double > & | weights | ||
) |
Returns the standard deviation of the values.
const GKContent::Type GK::eAllContentDestination |
const GKContent::Type GK::eAllContentOrigin |
const GKContent::Id GK::eAllLanesId |
const GKContent::Id GK::eAllPollutant |
const GKContent::Id GK::eAllPTLine |
const GKContent::Id GK::eAllPTRun |
const GKContent::Id GK::eAllPTZone |
const GKContent::Id GK::eAllSGId |
const GKContent::Id GK::eAllUserClass |
const GKContent::Type GK::eContentAggregationType |
const GKContent::Type GK::eContentControlJunction |
const GKContent::Type GK::eContentDestination |
const GKContent::Type GK::eContentGKType |
const GKContent::Type GK::eContentLane |
const GKContent::Type GK::eContentLink |
TypeHeaderCode End const GKContent::Type GK::eContentMain |
const GKContent::Type GK::eContentODType |
const GKContent::Type GK::eContentOrigin |
const GKContent::Type GK::eContentOriginator |
const GKContent::Type GK::eContentPollutant |
const GKContent::Type GK::eContentPTLine |
const GKContent::Type GK::eContentPTRun |
const GKContent::Type GK::eContentPTZone |
const GKContent::Type GK::eContentSectionPTSegment |
const GKContent::Type GK::eContentSI |
const GKContent::Type GK::eContentSignalGroup |
const GKContent::Type GK::eContentSynthetisation |
const GKContent::Type GK::eContentSynthetiser |
const GKContent::Type GK::eContentUserClass |