Home
Categories
Dictionary

Extension meta-definition


    1  Extension definition
    2  Attribute definition
       2.1  Examples
       2.2  ARINC 661 properties padding
    3  UA message definition
       3.1  Examples
    4  Widget events definition
       4.1  Examples
    5  Examples
       5.1  A661_CHILD_INDEX_EXTENSION
    6  See also

The extensions definitions allows to define the ARINC 661 characteristics of ARINC 661 extensions.
A widget Meta−definition contain:

Extension definition

For each extension we have the following XML attributes:

Attribute definition

The widget or extension attribute meta−definition define one ARINC 661 attribute used in the associated widget or extension. Note that the attributes are ordered as in the binary Definition File.
For each attribute we have the following XML attributes:
The following XML attributes are optional, and their presence depend of the attribute type:

Examples

      <widgetAttr name="Visible" arincID="A661_VISIBLE">
Event attribute:
      <widgetAttr name="EntryValidation" arincID="A661_ENTRY_VALID" runtimeType="R">
An attribute which is not padded:
      <widgetAttr name="FormatString" arincID="A661_FORMAT_STRING" maxLength="_MAXFORMATSTRINGLENGTH" pad="false">
An array attribute:
      <widgetAttr name="OrientationArray" arincID="_ANGLE_ARRAY" size="_NB_SYMBOLS">
The "OrientationArray" attribute maximum size is specified by the attribute of the ARINC ID _ANGLE_ARRAY.
A String attribute:
      <widgetAttr name="LabelString" arincID="A661_STRING" maxLength="_MAXSTRINGLENGTH">
The "LabelString" attribute maximum String length is specified by the attribute of the ARINC ID _MAXSTRINGLENGTH.

ARINC 661 properties padding

Padding in the binary Definition File can be used by adding "pad" nodes. Paddings only server to be sure that the following rules are fulfilled: There are several possible padding definitions:

UA message definition

The widget or extension message meta−definition define one UA message that can be received from the UA for the associated widget or extension. For each message we have the following XML attributes: If the message just refer to several ARINC 661 attributes in the widget or extension, the element will contain one child for each attribute.

Examples

Simple message declaration:
      <message type="byte_1" arincID="A661_VISIBLE">
Message which contains more than one attribute:
      <message type="byte_8" arincID="A661_POS_XY">
         <messageParam arincID="A661_POS_X"/>
         <messageParam arincID="A661_POS_Y"/>
      </message>

Widget events definition

The widget or extension event meta−definition define one widget event that can be sent by the Server for the associated widget or extension. For each widget event we have the following XML attributes: If the message just refer to several ARINC 661 attributes in the widget or extension, the element will contain one child for each attribute.

Examples

Simple event declaration (without attributes):
      <event arincID="A661_EVT_SELECTION" type="empty" />
Event which contains one attribute:
     <event arincID="A661_EVT_STATE_CHANGE" type="uchar">
        <eventAttr arincID="A661_INNER_STATE_CHECK"/>
     </event>

Examples

A661_CHILD_INDEX_EXTENSION

      <extension arincID="A661_CHILD_INDEX_EXTENSION" hexID="0x8001" supp="5+">
         <widgetAttr name="VisibleChildIndex" arincID="A661_VISIBLE_CHILD_INDEX"/>
         <message type="byte_2" arincID="A661_VISIBLE_CHILD_INDEX"/>
         <event arincID="A661_EVT_VISIBLE_CHILD" type="ushort">
            <eventAttr arincID="A661_VISIBLE_CHILD_INDEX"/>
         </event>
      </extension>    

See Also


Category:dev Category:arinc661 Category:meta

Copyright 2016 Dassault Aviation. All Rights Reserved. Documentation and source under the GPL v2 licence

Project Web Hosted by SourceForge.net Copyright 1999-2010 - Geeknet, Inc., All Rights Reserved About - Legal - Help