The SEDRIS Data Representation Model
APPENDIX A - Classes
Light Source Control Link

Class Name: Light Source Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies an <Expression> instance, the value of which determines the active_light_value of all target <Light Source> instances. This controls whether those <Light Source> instances are on or off.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

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

FAQs

What does a <Light Source Control Link> instance control?

A <Light Source Control Link> instance controls the active_light_value stored in its <Light Source> instance, so that the <Light Source> instance can be turned on and off.

Constraints

Composed of (two-way) (inherited)

Component of (two-way)

Inherited Field Elements

SE_String

description;

1

Field Elements

SE_Integer_Positive

expression_index;

2


Notes

Fields Notes

description

The description field specifies a text description of the purpose of the <Control Link> instance.

expression_index

The expression_index field specifies which <Expression> component's value controls whether the controlled <Light Source> instance(s) are on or off. If the <Expression> component evaluates to SE_TRUE, the <Light Source> instances are on.


Prev: Light Source. Next: Line. Up:Index.