Aimsun Next Scripting: CMacroSection Class Reference
Aimsun Next Scripting  22
Public Member Functions | List of all members
CMacroSection Class Reference
Inheritance diagram for CMacroSection:
GKSimulatedObject GKBaseObject

Public Member Functions

 CMacroSection (const GKSection *_section, GKModelConnection *_connection=NULL)
 
const QString & getTypeName () const
 
GKFunctionCostgetCostFunction () const
 
double getCapacity () const
 
double length3D () const
 
double length2D () const
 
double getAdditionalVolume () const
 
double getSpeed () const
 
int getNbFullLanes () const
 
double getUserDefinedCost () const
 
double getUserDefinedCost2 () const
 
double getUserDefinedCost3 () const
 
const GKRoadTypegetRoadType () const
 
- Public Member Functions inherited from GKSimulatedObject
 GKSimulatedObject ()
 
 GKSimulatedObject (const GKObject *master, GKModelConnection *connection=NULL)
 
virtual QString getTypeExternalName () const
 
void setMaster (GKObject *master)
 
const GKObjectgetMaster () const
 
virtual quint32 getId () const
 
virtual const QString & getName () const
 
virtual const QString & getExternalId () const
 
virtual const QString & getDescription () const
 
virtual GKModelgetModel () const
 
virtual GKTypegetType () const
 
virtual bool isA (const GKType *atype) const
 
virtual bool isA (const QString &typeName) const
 
virtual QVariant * getDataValue (const GKColumn *attr, bool *deleteit, const GKContext &context=GKContext::anyContext) const
 
virtual QVariant * getDataValueByID (uint attrId, bool *deleteit, const GKContext &context=GKContext::anyContext) const
 
virtual double getDataValueInTS (const GKColumn *attr, GKTimeSerieIndex index, double *deviation=NULL) const
 
virtual double getDataValueInTSByID (uint attrId, GKTimeSerieIndex index, double *deviation=NULL) const
 
virtual GKTimeSeriegetDataValueTS (const GKColumn *attr) const
 
virtual GKTimeSeriegetDataValueTSByID (uint attrId) const
 
virtual int getDataValueInt (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
virtual int getDataValueIntByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
virtual double getDataValueDouble (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
virtual double getDataValueDoubleByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
virtual QString getDataValueString (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
virtual QString getDataValueStringByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
virtual bool getDataValueBool (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
virtual bool getDataValueBoolByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
virtual GKObjectgetDataValueObject (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
virtual GKObjectgetDataValueObjectByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
virtual QDate getDataValueDate (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
virtual QDate getDataValueDateByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
virtual QTime getDataValueTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
virtual QTime getDataValueTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
QDateTime getDataValueDateTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
QDateTime getDataValueDateTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
virtual GKTimeDuration getDataValueTimeDuration (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const
 
virtual GKTimeDuration getDataValueTimeDurationByID (uint attrId, const GKContext &context=GKContext::anyContext) const
 
- Public Member Functions inherited from GKBaseObject
 GKBaseObject ()
 
 if (base)
 
virtual uint getId () const =0
 
virtual const QString & getTypeName () const =0
 
virtual QString getTypeExternalName () const =0
 
virtual const GKObjectgetMaster () const =0
 
virtual const QString & getName () const =0
 
virtual const QString & getExternalId () const =0
 
virtual const QString & getDescription () const =0
 
virtual GKModelgetModel () const =0
 
virtual QVariant * getDataValue (const GKColumn *attr, bool *deleteit, const GKContext &context=GKContext::anyContext) const =0
 
virtual QVariant * getDataValueByID (uint attrId, bool *deleteit, const GKContext &context=GKContext::anyContext) const =0
 
virtual double getDataValueInTS (const GKColumn *attr, GKTimeSerieIndex index, double *deviation=NULL) const =0
 
virtual double getDataValueInTSByID (uint attrId, GKTimeSerieIndex index, double *deviation=NULL) const =0
 
virtual GKTimeSeriegetDataValueTS (const GKColumn *attr) const =0
 
virtual GKTimeSeriegetDataValueTSByID (uint attrId) const =0
 
virtual int getDataValueInt (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual int getDataValueIntByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 
virtual double getDataValueDouble (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual double getDataValueDoubleByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 
virtual QString getDataValueString (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual QString getDataValueStringByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 
virtual bool getDataValueBool (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual bool getDataValueBoolByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 
virtual GKObjectgetDataValueObject (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual GKObjectgetDataValueObjectByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 
virtual QDate getDataValueDate (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual QDate getDataValueDateByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 
virtual QTime getDataValueTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual QTime getDataValueTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 
virtual QDateTime getDataValueDateTime (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual QDateTime getDataValueDateTimeByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 
virtual GKTimeDuration getDataValueTimeDuration (const GKColumn *attr, const GKContext &context=GKContext::anyContext) const =0
 
virtual GKTimeDuration getDataValueTimeDurationByID (uint attrId, const GKContext &context=GKContext::anyContext) const =0
 

Additional Inherited Members

- Public Attributes inherited from GKBaseObject
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKBaseObjectbase = (GKBaseObject*)sipCpp
 
 sipType = 0
 
- Static Public Attributes inherited from GKBaseObject
Py_END_ALLOW_THREADS static End uint idAtt
 
static uint nameAtt
 
static uint externalIdAtt
 
static uint descriptionAtt
 

Constructor & Destructor Documentation

◆ CMacroSection()

CMacroSection::CMacroSection ( const GKSection _section,
GKModelConnection _connection = NULL 
)

CMacroSection constructor

Member Function Documentation

◆ getAdditionalVolume()

double CMacroSection::getAdditionalVolume ( ) const

get the additional volume assigned to the macro section

◆ getCapacity()

double CMacroSection::getCapacity ( ) const

get the capacity of the section in the static assignment

◆ getCostFunction()

GKFunctionCost * CMacroSection::getCostFunction ( ) const

◆ getNbFullLanes()

int CMacroSection::getNbFullLanes ( ) const

get the number of full lanes of this macro section

◆ getRoadType()

const GKRoadType * CMacroSection::getRoadType ( ) const

get the road type for this section

◆ getSpeed()

double CMacroSection::getSpeed ( ) const

get the allowed speed of the macro section

◆ getTypeName()

const QString & CMacroSection::getTypeName ( ) const
virtual

The type name of this object

Implements GKBaseObject.

◆ getUserDefinedCost()

double CMacroSection::getUserDefinedCost ( ) const

get the user-defined cost

◆ getUserDefinedCost2()

double CMacroSection::getUserDefinedCost2 ( ) const

get the user-defined cost 2

◆ getUserDefinedCost3()

double CMacroSection::getUserDefinedCost3 ( ) const

get the user-defined cost 3

◆ length2D()

double CMacroSection::length2D ( ) const

get section length in meters

◆ length3D()

double CMacroSection::length3D ( ) const

get section length in meters

© Aimsun SLU
Aimsun ®