Commit 80369cc9 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Legacy version (as a backup)

parent 8f192289
<?xml version="1.0" encoding="UTF-8"?>
<Assembly:Assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Assembly="http://www.esa.int/2005/10/Smdl/Assembly" xmlns:Types="http://www.esa.int/2005/10/Core/Types" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="TasteDemo" Name="TasteDemo" Creator="htp" Date="2012-02-02T10:57:57.355Z" Title="TasteDemo" Version="1.0">
<Description>Assembly using Interface Based design</Description>
<Model xlink:title="AssemblyModel" xlink:role="Model" xlink:href="TasteDemo.cat#ID_b65c82e7-e375-4540-bfe9-da79a6db7338"/>
<Implementation>b65c82e7-e375-4540-bfe9-da79a6db7338</Implementation>
<ModelInstance Id="ID_77debaba-d168-4238-a8c5-5fc94f4ea7b3" Name="onlinux_gui">
<Description>The Control and Monitoring model</Description>
<Model xlink:title="OnLinuxGui" xlink:role="Model" xlink:href="TasteDemo.cat#ID_d05bc34e-7d85-4c5d-ada6-83ec120ad7e8"/>
<Implementation>d05bc34e-7d85-4c5d-ada6-83ec120ad7e8</Implementation>
<FieldValue>
<Field xlink:title="result" xlink:href="TasteDemo.cat#ID_8442b86a-cdc0-40b9-a07e-a49c9a5f05ee"/>
<Value xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">0.0</Value>
</Value>
</FieldValue>
<Link xsi:type="Assembly:InterfaceLink" Id="ID_a08b4b14-989d-48ac-84b0-266d705cd971" Name="ItfLnkStartFunction">
<Description></Description>
<Reference xlink:title="RefStartFunction" xlink:role="Reference" xlink:href="TasteDemo.cat#ID_ee4dd288-7ef1-421d-bfd1-909557d9f069"/>
<Provider xlink:title="ModelInstance myfunction" xlink:href="#ID_bd4184a0-cd29-47b8-b3df-de4d2f2496a8"/>
</Link>
<Container xlink:title="MdlContainer" xlink:role="Container" xlink:href="TasteDemo.cat#ID_3c6fa9ef-0ff6-4bda-a0bf-50f5848c2376"/>
</ModelInstance>
<ModelInstance Id="ID_bd4184a0-cd29-47b8-b3df-de4d2f2496a8" Name="myfunction">
<Description>The Functional model</Description>
<Model xlink:title="MyFunction" xlink:role="Model" xlink:href="TasteDemo.cat#ID_f62728e0-f91d-45b2-b1ad-3e9d0e899543"/>
<Implementation>f62728e0-f91d-45b2-b1ad-3e9d0e899543</Implementation>
<FieldValue>
<Field xlink:title="result" xlink:href="TasteDemo.cat#ID_721626ee-011e-4e44-b7cc-4a480f311134"/>
<Value xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">0.0</Value>
</Value>
</FieldValue>
<Link xsi:type="Assembly:InterfaceLink" Id="ID_9e355f47-6259-4880-be91-ae2794bb66a1" Name="ItfLnkAddValue">
<Description></Description>
<Reference xlink:title="RefAddValue" xlink:role="Reference" xlink:href="TasteDemo.cat#ID_cf909626-70ea-4174-be97-f69dd2bf79ab"/>
<Provider xlink:title="ModelInstance mysimulink" xlink:href="#ID_73438e2f-efff-46c1-9806-5e7016e0e847"/>
</Link>
<Link xsi:type="Assembly:InterfaceLink" Id="ID_7cb7eb7d-1689-45f6-b460-9c3810e5b1ee" Name="ItfLnkResult">
<Description></Description>
<Reference xlink:title="RefResult" xlink:role="Reference" xlink:href="TasteDemo.cat#ID_359b9894-318c-4570-9d0a-84f1ebc51679"/>
<Provider xlink:title="ModelInstance onlinux_gui" xlink:href="#ID_77debaba-d168-4238-a8c5-5fc94f4ea7b3"/>
</Link>
<Container xlink:title="MdlContainer" xlink:role="Container" xlink:href="TasteDemo.cat#ID_3c6fa9ef-0ff6-4bda-a0bf-50f5848c2376"/>
</ModelInstance>
<ModelInstance Id="ID_73438e2f-efff-46c1-9806-5e7016e0e847" Name="mysimulink">
<Description>The Simulink model</Description>
<Model xlink:title="MySimulink" xlink:role="Model" xlink:href="TasteDemo.cat#ID_74b9c7c4-23a5-4274-b4b4-81c2a3c9c209"/>
<Implementation>74b9c7c4-23a5-4274-b4b4-81c2a3c9c209</Implementation>
<FieldValue>
<Field xlink:title="tunable" xlink:href="TasteDemo.cat#ID_b1ab73b7-1adc-46ef-8679-8731883c7d00"/>
<Value xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">42.0</Value>
</Value>
</FieldValue>
<FieldValue>
<Field xlink:title="result" xlink:href="TasteDemo.cat#ID_3b0fa88a-b033-4343-a142-f34003cfe740"/>
<Value xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">0.0</Value>
</Value>
</FieldValue>
<Container xlink:title="MdlContainer" xlink:role="Container" xlink:href="TasteDemo.cat#ID_3c6fa9ef-0ff6-4bda-a0bf-50f5848c2376"/>
</ModelInstance>
</Assembly:Assembly>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Catalogue:Catalogue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Catalogue="http://www.esa.int/2005/10/Smdl/Catalogue" xmlns:Types="http://www.esa.int/2005/10/Core/Types" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Id="TasteDemo" Name="TasteDemo" Creator="htp" Date="2012-02-02T09:26:40.909Z" Version="1.0">
<Description>Catalogues for the TASTE Demo</Description>
<Namespace Id="ID_979dcc7c-17b7-45e3-86de-290becab39e4" Name="Simulink">
<Description>Simulink models</Description>
<Type xsi:type="Catalogue:Model" Id="ID_74b9c7c4-23a5-4274-b4b4-81c2a3c9c209" Name="MySimulink" Visibility="public">
<Description></Description>
<Uuid>74b9c7c4-23a5-4274-b4b4-81c2a3c9c209</Uuid>
<Interface xlink:title="Interface IAddValue" xlink:href="#ID_b634e669-5488-434e-961a-5ea5f0af9cc5"/>
<EventSink Id="ID_ff17f979-128d-46b9-943b-3dce27d83ecb" Name="EvtSnkAddValue">
<Description>Sink for triggering the AddValue function</Description>
<Type xlink:title="EventType AddValue" xlink:href="#ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7"/>
</EventSink>
<EventSource Id="ID_b4f6f940-51ba-433d-8a0b-c91a8f2ea64f" Name="EvtSrcAddValueResult">
<Description>Source for providing the AddValue result</Description>
<Type xlink:title="EventType AddValue" xlink:href="#ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7"/>
</EventSource>
<Field Id="ID_b1ab73b7-1adc-46ef-8679-8731883c7d00" Name="tunable" Visibility="private" Input="true">
<Description>Tunable parameter</Description>
<Type xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">42.0</Value>
</Default>
</Field>
<Field Id="ID_3b0fa88a-b033-4343-a142-f34003cfe740" Name="result" Visibility="private" Output="true">
<Description></Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">0.0</Value>
</Default>
</Field>
</Type>
</Namespace>
<Namespace Id="ID_199ecd3e-80a2-472d-b23e-fa3fbbfcc5bf" Name="Common">
<Description>Common types</Description>
<Type xsi:type="Types:Float" Id="ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370" Name="MyReal" Visibility="public" Maximum="1000.0" Minimum="0.0">
<Description>Real number in the range [0-1000]</Description>
<Uuid>a71e9e26-2d3b-47e3-9426-1f0c7a2be370</Uuid>
<PrimitiveType xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
</Type>
<Type xsi:type="Catalogue:Interface" Id="ID_b634e669-5488-434e-961a-5ea5f0af9cc5" Name="IAddValue" Visibility="public">
<Description>For adding values</Description>
<Uuid>b634e669-5488-434e-961a-5ea5f0af9cc5</Uuid>
<Operation Id="ID_3abfe3f2-b547-42c2-8f50-f929633e498a" Name="AddValue" Visibility="public">
<Description>Add the given input to the tunable parameter</Description>
<Parameter Id="ID_38a39995-d39c-4b65-9370-4c73ab63992e" Name="inp">
<Description>Input</Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">1.0</Value>
</Default>
</Parameter>
<Parameter Id="ID_860ce381-51fa-4c8d-b6cf-9413d23ade9c" Name="outp" Direction="out">
<Description>Output</Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">1.0</Value>
</Default>
</Parameter>
</Operation>
</Type>
<Type xsi:type="Catalogue:Interface" Id="ID_4a038735-604f-4164-998c-8e5922fd0e38" Name="IStartFunction" Visibility="public">
<Description>Allow to trigger the function to start running</Description>
<Uuid>4a038735-604f-4164-998c-8e5922fd0e38</Uuid>
<Operation Id="ID_05fd2f7b-3b0b-449d-8283-5b06116702d8" Name="Run" Visibility="public">
<Description>Tell it to start running</Description>
<Parameter Id="ID_56af4773-624d-457a-a4ea-50a83765769a" Name="initialValue">
<Description></Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">10.0</Value>
</Default>
</Parameter>
</Operation>
</Type>
<Type xsi:type="Catalogue:EventType" Id="ID_da974620-4f89-437c-8c54-395fd95ebb77" Name="StartFunction" Visibility="public">
<Description>Event to trigger a function to start</Description>
<Uuid>da974620-4f89-437c-8c54-395fd95ebb77</Uuid>
<EventArgs xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
</Type>
<Type xsi:type="Catalogue:EventType" Id="ID_e3870678-8bc9-4316-854a-ab441e6a6dff" Name="Result" Visibility="public">
<Description>Event for sending the result</Description>
<Uuid>e3870678-8bc9-4316-854a-ab441e6a6dff</Uuid>
<EventArgs xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
</Type>
<Type xsi:type="Catalogue:Interface" Id="ID_dc2c1443-6a5a-4604-b949-b1ea12c455a9" Name="IResult" Visibility="public">
<Description>For providing the result</Description>
<Uuid>dc2c1443-6a5a-4604-b949-b1ea12c455a9</Uuid>
<Operation Id="ID_66ed5f97-8ef2-4baf-a2be-8ac22943533a" Name="SetResult" Visibility="public">
<Description>For setting the result</Description>
<Parameter Id="ID_6673de71-137b-4b6a-9be2-fb91348d7213" Name="result">
<Description>The result</Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">0.0</Value>
</Default>
</Parameter>
</Operation>
</Type>
<Type xsi:type="Catalogue:EventType" Id="ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7" Name="AddValue" Visibility="public">
<Description>For triggering the AddValue function</Description>
<Uuid>793da8ec-6535-4f14-bdb8-39cbed58e5c7</Uuid>
<EventArgs xlink:title="PrimitiveType Float64" xlink:href="http://www.esa.int/2005/10/Smp#Float64"/>
</Type>
<Type xsi:type="Catalogue:Model" Id="ID_b65c82e7-e375-4540-bfe9-da79a6db7338" Name="AssemblyModel" Visibility="public">
<Description>Root model (container)</Description>
<Uuid>b65c82e7-e375-4540-bfe9-da79a6db7338</Uuid>
<Container Id="ID_3c6fa9ef-0ff6-4bda-a0bf-50f5848c2376" Name="MdlContainer" Lower="0" Upper="-1">
<Description>Container of generic models</Description>
<Type xlink:title="Interface IModel" xlink:href="http://www.esa.int/2005/10/Smp#Smp.IModel"/>
</Container>
</Type>
</Namespace>
<Namespace Id="ID_33ada973-db39-4dd0-88c9-85160d05c618" Name="Function">
<Description>Functional models</Description>
<Type xsi:type="Catalogue:Model" Id="ID_f62728e0-f91d-45b2-b1ad-3e9d0e899543" Name="MyFunction" Visibility="public">
<Description>A functional model</Description>
<Uuid>f62728e0-f91d-45b2-b1ad-3e9d0e899543</Uuid>
<Interface xlink:title="Interface IStartFunction" xlink:href="#ID_4a038735-604f-4164-998c-8e5922fd0e38"/>
<Reference Id="ID_359b9894-318c-4570-9d0a-84f1ebc51679" Name="RefResult" Lower="0">
<Description>For sending the result of the function</Description>
<Interface xlink:title="Interface IResult" xlink:href="#ID_dc2c1443-6a5a-4604-b949-b1ea12c455a9"/>
</Reference>
<Reference Id="ID_cf909626-70ea-4174-be97-f69dd2bf79ab" Name="RefAddValue" Lower="0">
<Description>Reference the AddValue provided interface</Description>
<Interface xlink:title="Interface IAddValue" xlink:href="#ID_b634e669-5488-434e-961a-5ea5f0af9cc5"/>
</Reference>
<EntryPoint Id="ID_5958531d-3b95-48be-8206-eb6fbc39e833" Name="CyclicActivation">
<Description></Description>
</EntryPoint>
<EventSink Id="ID_ad94301d-fb55-4ee5-a27d-6f47cdcc2739" Name="EvtSnkStartFunction">
<Description>Sink for starting the function</Description>
<Type xlink:title="EventType StartFunction" xlink:href="#ID_da974620-4f89-437c-8c54-395fd95ebb77"/>
</EventSink>
<EventSink Id="ID_878d98b9-61eb-4527-a72b-8ccc2fb1544f" Name="EvtSnkAddValueResult">
<Description>Sink for receiving the AddValue result</Description>
<Type xlink:title="EventType AddValue" xlink:href="#ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7"/>
</EventSink>
<EventSource Id="ID_9c8368f8-f6e6-441c-b557-da18c827db22" Name="EvtSrcResult">
<Description>Source for sending the result</Description>
<Type xlink:title="EventType Result" xlink:href="#ID_e3870678-8bc9-4316-854a-ab441e6a6dff"/>
</EventSource>
<EventSource Id="ID_6f0994e0-ca4d-4514-9a3b-5176beea413c" Name="EvtSrcAddValue">
<Description>Source for triggering the AddValue function</Description>
<Type xlink:title="EventType AddValue" xlink:href="#ID_793da8ec-6535-4f14-bdb8-39cbed58e5c7"/>
</EventSource>
<Field Id="ID_721626ee-011e-4e44-b7cc-4a480f311134" Name="result" Visibility="private" Output="true">
<Description>Result of the function</Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">0.0</Value>
</Default>
</Field>
<Field Id="ID_97668150-df6f-4e29-92bf-63254c593379" Name="startValue" Visibility="private" Input="true">
<Description></Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">0.0</Value>
</Default>
</Field>
<Field Id="ID_9a1f1377-a9b3-468d-b607-ef4f9f535b75" Name="started" Visibility="private" Input="false" Output="true">
<Description>Indication that it has started running</Description>
<Type xlink:title="PrimitiveType Bool" xlink:href="http://www.esa.int/2005/10/Smp#Bool"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:boolean">false</Value>
</Default>
</Field>
</Type>
</Namespace>
<Namespace Id="ID_a4f44615-2e40-4708-ad3f-7f8eeb544ca8" Name="ControlMonitoring">
<Description>For controlling and monitoring functions</Description>
<Type xsi:type="Catalogue:Model" Id="ID_d05bc34e-7d85-4c5d-ada6-83ec120ad7e8" Name="OnLinuxGui" Visibility="public">
<Description>Controller GUI on Linux</Description>
<Uuid>d05bc34e-7d85-4c5d-ada6-83ec120ad7e8</Uuid>
<Operation Id="ID_bce9692a-7225-4bb8-aed0-8861d3b78ea5" Name="Run" Visibility="public">
<Description>Trigger from the user to start running</Description>
<Parameter Id="ID_e1dbd635-cbfe-49ae-bf95-12b035fb4903" Name="initialValue">
<Description>Initial value when starting to run</Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">10.0</Value>
</Default>
</Parameter>
</Operation>
<Interface xlink:title="Interface IResult" xlink:href="#ID_dc2c1443-6a5a-4604-b949-b1ea12c455a9"/>
<Reference Id="ID_ee4dd288-7ef1-421d-bfd1-909557d9f069" Name="RefStartFunction" Lower="0">
<Description>Reference to an IStartFunction interface</Description>
<Interface xlink:title="Interface IStartFunction" xlink:href="#ID_4a038735-604f-4164-998c-8e5922fd0e38"/>
</Reference>
<EventSink Id="ID_331b7eaf-440e-4c70-8f64-2e1ac46b2b6e" Name="EvtSnkResult">
<Description>Sink to receive the result of the AddValue function</Description>
<Type xlink:title="EventType Result" xlink:href="#ID_e3870678-8bc9-4316-854a-ab441e6a6dff"/>
</EventSink>
<EventSource Id="ID_04b0a03e-e487-4317-8cb2-bc2e1ca03360" Name="EvtSrcStartFunction">
<Description>Source to trigger StartFunction event</Description>
<Type xlink:title="EventType StartFunction" xlink:href="#ID_da974620-4f89-437c-8c54-395fd95ebb77"/>
</EventSource>
<Field Id="ID_8442b86a-cdc0-40b9-a07e-a49c9a5f05ee" Name="result" Visibility="private" Input="true">
<Description>Read result value</Description>
<Type xlink:title="Float MyReal" xlink:href="#ID_a71e9e26-2d3b-47e3-9426-1f0c7a2be370"/>
<Default xsi:type="Types:SimpleValue">
<Value xsi:type="xsd:double">0.0</Value>
</Default>
</Field>
</Type>
</Namespace>
</Catalogue:Catalogue>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Schedule:Schedule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Schedule="http://www.esa.int/2005/10/Smdl/Schedule" xmlns:xlink="http://www.w3.org/1999/xlink" Id="TasteDemoItfBased" Name="TasteDemoItfBased" Creator="htp" Date="2012-02-02T11:42:19.93Z" Title="TasteDemoItfBased" Version="1.0">
<Description>For the Interface Based design</Description>
<Task Id="ID_23242c9f-9f67-4a7c-b8a5-ba2c898b8fd1" Name="CyclicActivation">
<Description>Task to perform the MyFunction cyclic activation</Description>
<Activity xsi:type="Schedule:Trigger" Id="ID_baea6181-41da-4580-9aa9-6723b264e35e" Name="TriggerCyclicAct">
<Description></Description>
<Provider xlink:title="myfunction" xlink:role="Provider" xlink:href="TasteDemoItfBased.asb#ID_bd4184a0-cd29-47b8-b3df-de4d2f2496a8"/>
<EntryPoint xlink:title="CyclicActivation" xlink:role="Entry_Point" xlink:href="TasteDemo.cat#ID_5958531d-3b95-48be-8206-eb6fbc39e833"/>
</Activity>
</Task>
<Event xsi:type="Schedule:SimulationEvent" Id="ID_8796ed9c-63de-49b8-bb84-c6212363190b" Name="CyclicActivation" SimulationTime="PT0S">
<Description>Event that executes the MyFunction cyclic activation</Description>
<CycleTime>PT1S</CycleTime>
<Task xlink:title="CyclicActivation" xlink:role="Task" xlink:href="#ID_23242c9f-9f67-4a7c-b8a5-ba2c898b8fd1"/>
</Event>
</Schedule:Schedule>
\ No newline at end of file
--------------------------------------------------------
--! File generated by asn2aadl v1.2160: DO NOT EDIT !
--------------------------------------------------------
package DataView
public
with Data_Model;
with Taste;
with Base_Types;
with Deployment;
-- No more private heap required (we use the space certified compiler)
-- Memory_Required: 0
data Stream_Element_Buffer
-- Root type for buffer elements
properties
Data_Model::Data_Representation => Character;
end Stream_Element_Buffer;
DATA MyInteger
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("TestDataView.asn");
TASTE::Ada_Package_Name => "TASTE_Dataview";
Deployment::ASN1_Module_Name => "TASTE-Dataview";
Source_Language => ASN1;
-- Size of a buffer to cover all forms of message representation:
-- Real message size is 8; suggested aligned message buffer is...
Source_Data_Size => 8 Bytes;
-- name of the corresponding data type in the source file:
Type_Source_Name => "MyInteger";
-- what kind of type is this?
TASTE::ASN1_Basic_Type =>aINTEGER;
END MyInteger;
DATA MyInteger_Buffer_Max
END MyInteger_Buffer_Max;
DATA IMPLEMENTATION MyInteger_Buffer_Max.impl
-- Buffer to hold a marshalled data of type MyInteger
PROPERTIES
Data_Model::Data_Representation => array;
Data_Model::Dimension => (8); -- Size of the buffer
Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer));
END MyInteger_Buffer_Max.impl;
DATA MyInteger_Buffer
END MyInteger_Buffer;
DATA IMPLEMENTATION MyInteger_Buffer.impl
-- Buffer to hold a marshalled data of type MyInteger
SUBCOMPONENTS
Buffer : data MyInteger_Buffer_Max.impl;
Length : data Base_Types::Unsigned_16;
PROPERTIES
Data_Model::Data_Representation => Struct;
END MyInteger_Buffer.impl;
DATA MyReal
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("TestDataView.asn");
TASTE::Ada_Package_Name => "TASTE_Dataview";
Deployment::ASN1_Module_Name => "TASTE-Dataview";
Source_Language => ASN1;
-- Size of a buffer to cover all forms of message representation:
-- Real message size is 13; suggested aligned message buffer is...
Source_Data_Size => 16 Bytes;
-- name of the corresponding data type in the source file:
Type_Source_Name => "MyReal";
-- what kind of type is this?
TASTE::ASN1_Basic_Type =>aREAL;
END MyReal;
DATA MyReal_Buffer_Max
END MyReal_Buffer_Max;
DATA IMPLEMENTATION MyReal_Buffer_Max.impl
-- Buffer to hold a marshalled data of type MyReal
PROPERTIES
Data_Model::Data_Representation => array;
Data_Model::Dimension => (16); -- Size of the buffer
Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer));
END MyReal_Buffer_Max.impl;
DATA MyReal_Buffer
END MyReal_Buffer;
DATA IMPLEMENTATION MyReal_Buffer.impl
-- Buffer to hold a marshalled data of type MyReal
SUBCOMPONENTS
Buffer : data MyReal_Buffer_Max.impl;
Length : data Base_Types::Unsigned_16;
PROPERTIES
Data_Model::Data_Representation => Struct;
END MyReal_Buffer.impl;
DATA MySeqOf
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("TestDataView.asn");
TASTE::Ada_Package_Name => "TASTE_Dataview";
Deployment::ASN1_Module_Name => "TASTE-Dataview";
Source_Language => ASN1;
-- Size of a buffer to cover all forms of message representation:
-- Real message size is 8; suggested aligned message buffer is...
Source_Data_Size => 8 Bytes;
-- name of the corresponding data type in the source file:
Type_Source_Name => "MySeqOf";
-- what kind of type is this?
TASTE::ASN1_Basic_Type =>aSEQUENCEOF;
END MySeqOf;
DATA MySeqOf_Buffer_Max
END MySeqOf_Buffer_Max;
DATA IMPLEMENTATION MySeqOf_Buffer_Max.impl
-- Buffer to hold a marshalled data of type MySeqOf
PROPERTIES
Data_Model::Data_Representation => array;
Data_Model::Dimension => (8); -- Size of the buffer
Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer));
END MySeqOf_Buffer_Max.impl;
DATA MySeqOf_Buffer
END MySeqOf_Buffer;
DATA IMPLEMENTATION MySeqOf_Buffer.impl
-- Buffer to hold a marshalled data of type MySeqOf
SUBCOMPONENTS
Buffer : data MySeqOf_Buffer_Max.impl;
Length : data Base_Types::Unsigned_16;
PROPERTIES
Data_Model::Data_Representation => Struct;
END MySeqOf_Buffer.impl;
DATA MySeq
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("TestDataView.asn");
TASTE::Ada_Package_Name => "TASTE_Dataview";
Deployment::ASN1_Module_Name => "TASTE-Dataview";
Source_Language => ASN1;
-- Size of a buffer to cover all forms of message representation:
-- Real message size is 12; suggested aligned message buffer is...
Source_Data_Size => 16 Bytes;
-- name of the corresponding data type in the source file:
Type_Source_Name => "MySeq";
-- what kind of type is this?
TASTE::ASN1_Basic_Type =>aSEQUENCE;
END MySeq;
DATA MySeq_Buffer_Max
END MySeq_Buffer_Max;
DATA IMPLEMENTATION MySeq_Buffer_Max.impl
-- Buffer to hold a marshalled data of type MySeq
PROPERTIES
Data_Model::Data_Representation => array;
Data_Model::Dimension => (16); -- Size of the buffer
Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer));
END MySeq_Buffer_Max.impl;
DATA MySeq_Buffer
END MySeq_Buffer;
DATA IMPLEMENTATION MySeq_Buffer.impl
-- Buffer to hold a marshalled data of type MySeq
SUBCOMPONENTS
Buffer : data MySeq_Buffer_Max.impl;
Length : data Base_Types::Unsigned_16;
PROPERTIES
Data_Model::Data_Representation => Struct;
END MySeq_Buffer.impl;
DATA MyEnum
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("TestDataView.asn");
TASTE::Ada_Package_Name => "TASTE_Dataview";
Deployment::ASN1_Module_Name => "TASTE-Dataview";
Source_Language => ASN1;
-- Size of a buffer to cover all forms of message representation:
-- Real message size is 4; suggested aligned message buffer is...
Source_Data_Size => 8 Bytes;
-- name of the corresponding data type in the source file:
Type_Source_Name => "MyEnum";
-- what kind of type is this?
TASTE::ASN1_Basic_Type =>aENUMERATED;
END MyEnum;
DATA MyEnum_Buffer_Max
END MyEnum_Buffer_Max;
DATA IMPLEMENTATION MyEnum_Buffer_Max.impl
-- Buffer to hold a marshalled data of type MyEnum
PROPERTIES
Data_Model::Data_Representation => array;
Data_Model::Dimension => (8); -- Size of the buffer
Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer));
END MyEnum_Buffer_Max.impl;
DATA MyEnum_Buffer
END MyEnum_Buffer;
DATA IMPLEMENTATION MyEnum_Buffer.impl
-- Buffer to hold a marshalled data of type MyEnum
SUBCOMPONENTS
Buffer : data MyEnum_Buffer_Max.impl;
Length : data Base_Types::Unsigned_16;
PROPERTIES
Data_Model::Data_Representation => Struct;
END MyEnum_Buffer.impl;
DATA MyChoice
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("TestDataView.asn");
TASTE::Ada_Package_Name => "TASTE_Dataview";
Deployment::ASN1_Module_Name => "TASTE-Dataview";
Source_Language => ASN1;
-- Size of a buffer to cover all forms of message representation:
-- Real message size is 16; suggested aligned message buffer is...
Source_Data_Size => 16 Bytes;
-- name of the corresponding data type in the source file:
Type_Source_Name => "MyChoice";
-- what kind of type is this?
TASTE::ASN1_Basic_Type =>aCHOICE;
END MyChoice;
DATA MyChoice_Buffer_Max
END MyChoice_Buffer_Max;
DATA IMPLEMENTATION MyChoice_Buffer_Max.impl
-- Buffer to hold a marshalled data of type MyChoice
PROPERTIES
Data_Model::Data_Representation => array;
Data_Model::Dimension => (16); -- Size of the buffer
Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer));
END MyChoice_Buffer_Max.impl;
DATA MyChoice_Buffer
END MyChoice_Buffer;
DATA IMPLEMENTATION MyChoice_Buffer.impl
-- Buffer to hold a marshalled data of type MyChoice
SUBCOMPONENTS
Buffer : data MyChoice_Buffer_Max.impl;
Length : data Base_Types::Unsigned_16;
PROPERTIES
Data_Model::Data_Representation => Struct;
END MyChoice_Buffer.impl;
DATA MyOctStr
PROPERTIES
-- name of the ASN.1 source file: