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>.

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> instance 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

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_expr_index; (notes)
SE_Integer_Unsigned upper_expr_index; (notes)

Notes

Fields Notes


description

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

expr_index

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

lower_expr_index

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

upper_expr_index

 If non-zero, the upper_expr_index field specifies 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: July 16, 2004 Copyright © 2004 SEDRIS