Aimsun Next Scripting
22
|
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) |
GKControlPlan * | getControlPlan () const |
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.
GKScheduleMasterControlPlanItem::GKScheduleMasterControlPlanItem | ( | ) |
QString GKScheduleMasterControlPlanItem::fromString | ( | ) | const |
Returns the starting time in a string format.
GKControlPlan * GKScheduleMasterControlPlanItem::getControlPlan | ( | ) | const |
Returns the associated control plan.
uint GKScheduleMasterControlPlanItem::getDuration | ( | ) | const |
Returns the duration in seconds.
uint GKScheduleMasterControlPlanItem::getFrom | ( | ) | const |
Returns the starting time in seconds.
quint32 GKScheduleMasterControlPlanItem::getZone | ( | ) | const |
Returns the zone where it is applied (from 1 to N)
void GKScheduleMasterControlPlanItem::setControlPlan | ( | GKControlPlan * | aplan | ) |
Sets the associated control plan.
void GKScheduleMasterControlPlanItem::setDuration | ( | uint | ) |
Sets the duration in seconds.
void GKScheduleMasterControlPlanItem::setFrom | ( | uint | ) |
Sets the starting time in seconds.
void GKScheduleMasterControlPlanItem::setZone | ( | uint | azone | ) |
Sets the zone where it will be applied (from 1 to N)