Home
Categories
Dictionary

ARINC extensions


This article is about ARINC extension. For J661 extensions, see Extensions

Extensions add optional features to existing widgets by adding an extension block to the widget in the definition file. Multiple extension blocks can be applied to a single widget to add multiple optional features to that widget. Runtime modifiable parameters and events may also be associated with an extension. See the List of ARINC661 extensions for a list of extensions and their usage. Note that the extension concept has been added to the standard for Supplement 5

Properties

Extensions have properties just as Widgets.
For example, the A661_CHILD_INDEX_EXTENSION extension has the following properties:
      <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>

Usage

In this example, the A661_MUTUALLY_EXCLUSIVE_CONTAINER widget has a A661_CHILD_INDEX_EXTENSION:
      <a661_df name="Default" library_version="0" supp_version="5">
         <model>
            <prop name="ApplicationId" value="1" />
         </model>
         <a661_layer name="ExtensionsMutually" >
            <model>
               <prop name="LayerId" value="1" />
               <prop name="ContextNumber" value="0" />
               <prop name="Height" value="10000" />
               <prop name="Width" value="10000" />
            </model>
            <a661_widget name="mutuallyExclusiveContainer" type="A661_MUTUALLY_EXCLUSIVE_CONTAINER">
               <model>
                  <prop name="WidgetIdent" value="1" />
                  <prop name="Enable" value="A661_TRUE" />
                  <prop name="Visible" value="A661_TRUE" />
                  <prop name="PosX" value="0" />
                  <prop name="PosY" value="0" />
                  <prop name="VisibleChild" value="3" />
               </model>
               <a661_extension type="A661_CHILD_INDEX_EXTENSION">
                  <model>
                     <prop name="VisibleChildIndex" value="2" />
                  </model>
               </a661_extension>
               <a661_widget name="gpArcCircle" type="A661_GP_ARC_CIRCLE">
                  <model>
                     <prop name="WidgetIdent" value="3" />
                     <prop name="Anonymous" value="A661_FALSE" />
                     <prop name="Visible" value="A661_TRUE" />
                     <prop name="PosX" value="5210" />
                     <prop name="PosY" value="5563" />
                     <prop name="StartAngle" value="−180.0" />
                     <prop name="EndAngle" value="180.0" />
                     <prop name="Radius" value="2000" />
                     <prop name="StyleSet" value="0" />
                     <prop name="ColorIndex" value="blue" />
                     <prop name="Filled" value="A661_FALSE" />
                     <prop name="FillIndex" value="blue" />
                     <prop name="Halo" value="A661_FALSE" />
                  </model>
               </a661_widget>
               <a661_widget name="gpRectangle" type="A661_GP_RECTANGLE">
                  <model>
                     <prop name="WidgetIdent" value="4" />
                     <prop name="Anonymous" value="A661_FALSE" />
                     <prop name="Visible" value="A661_TRUE" />
                     <prop name="PosX" value="3722" />
                     <prop name="PosY" value="4163" />
                     <prop name="SizeX" value="2000" />
                     <prop name="SizeY" value="2000" />
                     <prop name="StyleSet" value="0" />
                     <prop name="ColorIndex" value="green" />
                     <prop name="Filled" value="A661_FALSE" />
                     <prop name="FillIndex" value="green" />
                     <prop name="Halo" value="A661_FALSE" />
                  </model>
               </a661_widget>
            </a661_widget>
         </a661_layer>
      </a661_df>

See Also


Category:arinc661 Category:user

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