Class TrafficSignalController

Applied Stereotypes:
XSDwrapperType, XSDcomplexType

Controls the state of a collection of traffic signals.

Used in:
TrafficSignalControllerCondition , TrafficSignalControllerAction , RoadNetwork
Properties
Name Type Cardinality AppliedStereotypes Description
name string 1..1 XSDattribute ID of the traffic signal controller in the road network.
delay double 0..1 XSDattribute The delay to the controller in the reference property. A controller having a delay to another one means that its first phase virtually starts delaytime seconds after the start of the reference's first phase. This can be used to define a progressive signal system, but only makes sense, if the total times of all connected controllers are the same. If delay is set, reference is required. Unit: s; Range: [0..inf[.
reference string 0..1 XSDattribute A reference (ID) to the connected controller in the road network. If reference is set, a delay is required.
phases Phase 0..* XSDunwrapped Phases of a TrafficSignalController.

Migration Information from XSD 0.9.1
Derived From:
OpenSCENARIO.xsd/OpenSCENARIO.RoadNetwork.Signals.Controller
Property Name XSD Type XSD 0.9.1 Name Migration
name Attribute name
delay Attribute delay
reference Attribute reference
phases Element Phase Renamed

XSD 1.0 Representation


<xsd:complexType name="TrafficSignalController">
<xsd:sequence>
<xsd:element name="Phase" minOccurs="0" maxOccurs="unbounded" type="Phase"/>
</xsd:sequence>
<xsd:attribute name="name" type="String" use="required"/>
<xsd:attribute name="delay" type="Double" use="optional"/>
<xsd:attribute name="reference" type="String" use="optional"/>
</xsd:complexType>

XSD Transformation
UML Element Stereotype Description
Class XSDwrapperType A complex type wrapper is created in XSD for this type. See TrafficSignals
phases XSDunwrapped This property represents an unwrapped list in XSD. The element name 'Phase' is used for the list elements.

To XSD To XSLT To XSD Tree