Table 6.159—DRM_Light_Source_Control_Link

Property

Description

Superclass

·         <DRM Control Link>

Class

·         <DRM Light Source Control Link>

Subclass

·         none

Definition

The specialized <DRM Control Link> used to provide the connection between an ordered aggregation of <DRM Expression>s and the target field of a <DRM Light Source>.

The expression_index field is a 1-based index into the ordered aggregation of <DRM Expression>s, and is used to select the specific <DRM Expression> that controls the active_light_value field of the <DRM Light Source>.

Example(s)

·         A <DRM Model> of a lighthouse has a <DRM Geometry Model> with a <DRM Union Of Geometry Hierarchy>, to which is attached an <DRM Spot Light> representing the lighthouse's light. The <DRM Spot Light> has a <DRM Light Source Control Link> that turns the light on or off, depending on the time of day and the weather.

Inherited field elements

field_name

range

Field_Data_Type

description1

 

String

Field elements

field_name

range

Field_Data_Type

expression_index2

 

Integer_Unsigned

Associated to (one-way) (inherited)

·         none

Associated to (one-way)

·         none

Associated by (one-way) (inherited)

·         none

Associated by (one-way)

·         none

Associated with (two-way) (inherited)

·         none

Associated with (two-way)

·         none

Composed of (two-way) (inherited)

·         one or more {ordered} <DRM Expression>s

Composed of (two-way)

·         none

Composed of (two-way metadata) (inherited)

·         none

Composed of (two-way metadata)

·         none

Component of (two-way) (inherited)

·         none

Component of (two-way)

·         one or more <DRM Light Source>s

Constraints

·         none

Notes

1 A text description of what the <DRM Control Link> is for.

2 Index of the expression whose value controls whether a light source is on or off. If the expression evaluates to TRUE, the light source is on.

Class diagram

<DRM Light Source Control Link>