Home
Categories
Dictionary

Parameter structure meta-definition


    1  Examples
       1.1  Simple example
       1.2  Example for a String
       1.3  Example for an array
       1.4  A more complex example
       1.5  Opaque ParamStructures
       1.6  Void ParamStructures
    2  See also

Parameter Structures defined in the Meta−definition specify the ParameterStructure blocks used in Client => Server runtime communication.

Examples

Simple example

A simple ParameterStructure block Definition, specifying the A661_ParameterStructure_1Byte message structure as specified in the standard:
 <paramStructBlock type="byte_1" name="A661_ParameterStructure_1Byte">
   <pad size="8bit"/>
   <blockData size="8bit"/>
 </paramStructBlock>
Here (as specified in the standard), the ParameterStructure block contains:

Example for a String

Another ParameterStructure block Definition, specifying the A661_ParameterStructure_String message structure as specified in the standard:
 <paramStructBlock id="string" name="A661_ParameterStructure_String">
   <blockMetaData size="16bit" type="length"/>
   <blockData size="32bitArray" type="string cplxString" />
 </paramStructBlock>
Here the ParameterStructure block contains:

Example for an array

Another ParameterStructure block Definition, specifying the A661_ParameterStructure_1ByteArray message structure as specified in the standard:
 <paramStructBlock id="enableArray" name="A661_ParameterStructure_1ByteArray" supp="4+">
   <blockMetaData size="16bit" type="size"/>
   <blockCellArray>
     <blockMetaData size="16bit" type="index"/>
     <blockData size="8bit"/>
     <pad size="8bit"/>
   </blockCellArray>
 </paramStructBlock>
Here the ParameterStructure block contains:

A more complex example

Another ParameterStructure block Definition, specifying the A661_ParameterStructure_EntryArray message structure as specified in the standard:
 <paramStructBlock id="entryArray" name="A661_ParameterStructure_EntryArray" >
   <blockMetaData size="16bit" type="size"/>
   <blockCellArray>
     <blockMetaData size="16bit" type="length" ref="string" />
     <blockMetaData size="16bit" type="index"/>
     <blockData size="8bit" name="enable" type="boolArray" />
     <pad size="8bit"/>
     <blockData size="32bitArray" name="string" type="stringArray" />
   </blockCellArray>
 </paramStructBlock>
Here the ParameterStructure block contains:

Opaque ParamStructures

Another ParameterStructure block Definition, specifying the A661_ParameterStructure_BufferOfItems message structure:
 <paramStructBlock id="bufferOfParam" name="A661_ParameterStructure_BufferOfItems" type="opaque" />
In this case we specify that the encoding or decoding of the ParameterStructure is hard−coded for the type: the definition of the content for the ParameterStructure block is opaque.

Void ParamStructures

Another ParameterStructure block Definition, specifying the BroadcastData message structure:
 <paramStructBlock id="void" name="BroadcastData" type="void" />
In this case we specify that the type of the ParameterStructure is undefined at creation, it will be resolved at runtime. Contrary to the "opaque" type, the message has one of the specified structures at runtime.

See Also


Category:extensions 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