The SEDRIS Data Representation Model
APPENDIX A - Classes
Scale Control Link

Class Name: Scale 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> used to provide the connection between an ordered aggregation of <Expression> instances and the target fields of a <Scale>.

The 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 <Scale>'s scale_amount field.

The lower_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 lower limit for <Scale>'s scale_amount.

The upper_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 upper limit for <Scale>'s scale_amount.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Externally Controlled Table-Based Animation

    Consider a <Scale Control Link> instance that is to be driven using values from a <Property Table>. The table value that is to be used is to be specified from outside the transmittal.

    For simplicity, in this example the controlling <Expression> is just the table value itself, rather than some more complex <Function> using the table value as an argument. Specifically, the <Scale Control Link> instance's controlling <Expression> is the <Predefined Function> SE_PREDEF_FUNC_TABLE_VALUE, the argument of which is a <Property Table Reference> referring to the <Property Table> containing the scale values, as shown in the instance diagram.

    Externally Controlled Table-Based Animation, Example 1

    The <Variable> drives the <Property Table Reference Control Link>, so that it determines which value is referenced from the <Property Table>. To provide the hook for this <Variable> to be set from outside the transmittal, the <Variable> is associated with an <Interface Template> (not shown).

FAQs

No FAQs supplied.

Constraints

None.

Composed of (two-way)(inherited)

Component of (two-way)

Inherited Field Elements

SE_String description; (notes)

Field Elements

SE_Integer_Positive expr_index; (notes)
SE_Integer_Unsigned lower_index; (notes)
SE_Integer_Unsigned upper_index; (notes)

Notes

Fields Notes


description

 This is a text description of the given <Control Link>
 instance's purpose.

expr_index

 This identifies a component <Expression>, the value of which
 specifies the value of the scale_amount field of the affected
 <Scale> instances.

lower_index

 If non-zero, this is the index of the component <Expression>
 defining the lower limit of the scaling. A value of zero
 means no lower limit was defined.

upper_index

 If non-zero, this is the index of the component <Expression>
 defining the upper limit of the scaling. A value of zero
 means no upper limit was defined.

Prev: Scale. Next: Season. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™