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

Public Member Functions

 GKScheduleMasterControlPlanItem ()
 
uint getFrom () const
 
uint getDuration () const
 
void setFrom (uint)
 
void setDuration (uint)
 
quint32 getZone () const
 
void setZone (uint azone)
 
QString fromString () const
 
void setControlPlan (GKControlPlan *aplan)
 
GKControlPlangetControlPlan () const
 

Detailed Description

It tells to the simulator when it will start, the duration and the zone. Zone attribute helps to redefine a junction subset control plan or all junctions control plans. So the Master Control Plan will search for each signalized junction which is the control plan that holds not an Unspecified schedule. It searches from zone 1 to zone N, so the last not Unspecified schedule found will be applied.

Constructor & Destructor Documentation

◆ GKScheduleMasterControlPlanItem()

GKScheduleMasterControlPlanItem::GKScheduleMasterControlPlanItem ( )

Member Function Documentation

◆ fromString()

QString GKScheduleMasterControlPlanItem::fromString ( ) const

Returns the starting time in a string format.

◆ getControlPlan()

GKControlPlan * GKScheduleMasterControlPlanItem::getControlPlan ( ) const

Returns the associated control plan.

◆ getDuration()

uint GKScheduleMasterControlPlanItem::getDuration ( ) const

Returns the duration in seconds.

◆ getFrom()

uint GKScheduleMasterControlPlanItem::getFrom ( ) const

Returns the starting time in seconds.

◆ getZone()

quint32 GKScheduleMasterControlPlanItem::getZone ( ) const

Returns the zone where it is applied (from 1 to N)

◆ setControlPlan()

void GKScheduleMasterControlPlanItem::setControlPlan ( GKControlPlan aplan)

Sets the associated control plan.

◆ setDuration()

void GKScheduleMasterControlPlanItem::setDuration ( uint  )

Sets the duration in seconds.

◆ setFrom()

void GKScheduleMasterControlPlanItem::setFrom ( uint  )

Sets the starting time in seconds.

◆ setZone()

void GKScheduleMasterControlPlanItem::setZone ( uint  azone)

Sets the zone where it will be applied (from 1 to N)

© Aimsun SLU
Aimsun ®