The SEDRIS Data Representation Model
APPENDIX A - Classes Sound Instance Control Link |
---|
An instance of this DRM class is a specialized <Control Link> used to provide the connection between an ordered aggregation of <Expression> instances and the target fields of a <Sound Instance>.
The active_sound_value_expr_index field is a 1-based index into the ordered aggregation of <Expression> instances, and is used to select the specific <Expression> that defines the <Sound Instance>'s active_sound_value field.
A <Model> of a lighthouse has a <Geometry Model> with a <Union Of Geometry Hierarchy>, to which is attached a <Sound Instance> representing the foghorn. The <Sound Instance> has a <Sound Instance Control Link> that turns the foghorn on or off, depending on the weather.
A <Sound Instance Control Link> controls the active_sound_value stored in its <Sound Instance>, so that the <Sound Instance> can be turned on and off.
No. The link to the <Sound> is an association within the transmittal, and associations cannot be changed dynamically.
SE_String | description; | (notes) |
---|
SE_Integer_Positive | active_sound_value_expr_index; | (notes) |
---|
This is a text description of the given <Control Link> instance's purpose.
This 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> is evaluated to SE_TRUE, the affected <Sound Instance> instances are on.
|