PyANGKernel.GKControlMetering

class GKControlMetering

Base class for all the control ramp meter types.

Details

This class represents the control information in a Control Plan for the specified GKMetering .

Inheritance diagram of PyANGKernel.GKControlMetering

Inherited by: GKControlGreenMetering, GKControlGreenMeteringByLane, GKControlFlowMetering, GKControlFlowAlineaMetering, GKControlDelayMetering

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

class GKControlMeteringType

Control type applied to this ramp meter. It can be: - eUnspecified: no data has been edited so the ramp meter will be uncontrolled. - eUncontrolled: the ramp meter has been marked as uncontrolled. - eFixedControl: fixed time control plan. - eExternal: control plan controlled by an external source (AAPI, VS-PLUS, UTOPIA, SCATS, SICE, Yunex UTC (with SCOOT), ETRA, …)

__init__()
getControlMeteringType()
Return type:

GKControlMeteringType

Gets the control type.

getControlPlan()
Return type:

GKControlPlan

Gets the control plan that contains this control ramp meter info.

getMetering()
Return type:

GKMetering

Gets the ramp meter used in this ramp meter control.

getMeteringId()
Return type:

int

Gets the ramp meter id used in this ramp meter control.

setControlMeteringType(t)
Parameters:

tGKControlMeteringType

Sets the control type.

setControlPlan(aplan)
Parameters:

aplanGKControlPlan

Sets the control plan that contains this control ramp meter info. Called automatically by GKControlPlan .

setMetering(metering)
Parameters:

meteringGKMetering

Assign the ramp meter to this ramp meter control.