The SEDRIS Data Representation Model
APPENDIX A - Classes
RGB Colour Control Link

Class Name: RGB Colour Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

The specialized <Control Link> used to provide the connection between an ordered aggregation of <Expressions> and the target fields of an <RGB Colour>.

The red_expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that controls the value of <RGB Colour>'s rgb_data.red field.

The green_expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that controls the value of <RGB Colour>'s rgb_data.green field.

The blue_expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that controls the value of <RGB Colour>'s rgb_data.blue field.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

See the example for <CMY Colour Control Link>, which is analogous to how this class is used.

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_Unsigned red_expr_index; (notes)
SE_Integer_Unsigned green_expr_index; (notes)
SE_Integer_Unsigned blue_expr_index; (notes)

Notes

Fields Notes


description

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

red_expr_index

 This value specifies which <Expression> component, if any,
 controls the red field value of the affected <RGB Colour>
 instances. If the value is zero, the red field of those
 instances is not controlled.

green_expr_index

 This value specifies which <Expression> component, if any,
 controls the green field value of the affected <RGB Colour>
 instances. If the value is zero, the green field of those
 instances is not controlled.

blue_expr_index

 This value specifies which <Expression> component, if any,
 controls the blue field value of the affected <RGB Colour>
 instances. If the value is zero, the blue field of those
 instances is not controlled.

Prev: RGB Colour. Next: Rotating Light Behaviour. Up:Index.

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