The SEDRIS Data Representation Model
APPENDIX A - Classes
Sound Instance Control Link

Class Name: Sound Instance Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class is a specialized <Control Link> instance used to provide the connection between an ordered aggregation of <Expression> instances and the target fields of a <Sound Instance> instance, controlling the active_sound_value stored in the target <Sound Instance> instance(s) so that each can be turned 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, which is attached a <Sound Instance> instance representing the foghorn. The <Sound Instance> instance has a <Sound Instance Control Link> component that turns the foghorn on or off, depending on the weather.

FAQs

Can a <Sound Instance Control Link> instance be used to change which <Sound> instance is accessed by a <Sound Instance> instance?

No. The link to the <Sound> instance is an association within the transmittal, and associations cannot be changed dynamically.

Constraints

Composed of (two-way) (inherited)

Component of (two-way)

Inherited Field Elements

SE_String

description;

1

Field Elements

SE_Integer_Positive

active_sound_value_expression_index;

2


Notes

Fields Notes

description

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

active_sound_value_expression_index

The active_sound_value_expression_index field specifies the <Expression> component, the value of which controls the value of the active_sound_value field of the affected <Sound Instance> instance(s). If the controlling <Expression> instance is evaluated to SE_TRUE, the affected <Sound Instance> instances are on.


Prev: Sound Instance. Next: Sound Library. Up:Index.