1. --  (c) Copyright, Real-Time Innovations, $Date:: 2012-10-31 #$ 
  2. --  All rights reserved. 
  3. -- 
  4. --  No duplications, whole or partial, manual or electronic, may be made 
  5. --  without express written permission.  Any such copies, or 
  6. --  revisions thereof, must display this notice unaltered. 
  7. --  This code contains trade secrets of Real-Time Innovations, Inc. 
  8.  
  9. with Ada.Unchecked_Deallocation; 
  10.  
  11. with Ada.Calendar; 
  12. with Ada.Real_Time; 
  13. with Interfaces; 
  14. private with Interfaces.C; 
  15. with Interfaces.C.Strings; 
  16.  
  17. with DDS_Support; 
  18. with DDS_Support.Sequences_Generic; 
  19.  
  20. with System; 
  21.  
  22. private with RTIDDS.Low_Level.dds_c.subscription_h; 
  23. with RTIDDS.Low_Level.dds_c.publication_h; 
  24. with RTIDDS.Low_Level.dds_c.infrastructure_h; 
  25. private with RTIDDS.Low_Level.dds_c.topic_h; 
  26. private with RTIDDS.Low_Level.dds_c.domain_h; 
  27. with RTIDDS.Low_Level.dds_c.common_h; 
  28. private with RTIDDS.Low_Level.pres.participant_h; 
  29. with RTIDDS.Low_Level.dds_c.flowcontroller_h; 
  30. with RTIDDS.Low_Level.config_c_h; 
  31. with RTIDDS.Low_Level.dds_c.builtin_impl_h; 
  32. with RTIDDS.Low_Level.dds_c.typecode_h; 
  33. with RTIDDS.Low_Level.dds_c.typeobject_h; 
  34. with RTIDDS.Low_Level.pres.common_impl_h; 
  35. with RTIDDS.Low_Level.osapi.hash_h; 
  36.  
  37. with Ada.Finalization; 
  38. with RTIDDS.Low_Level.dds_c.sqlfilter_h; 
  39. with RTIDDS.To_Chars_Ptr; 
  40. --  with Rtidds.Annotations; use Rtidds.Annotations; 
  41.  
  42. pragma Elaborate_All (DDS_Support.Sequences_Generic); 
  43.  
  44. --  <module name="DDSInfrastructureModule" actualName="Infrastructure Module">InfrastructureGroupDocs</module> 
  45. package DDS is 
  46.    use RTIDDS.Low_Level.config_c_h; 
  47.  
  48.  
  49.    --  Note that this package dependes heavely on the underlaying C implementation 
  50.    --  and will change when a full Ada implementation is avalible. 
  51.    -- 
  52.    --  Worth to notice is that erros from the underlaying midlleware is 
  53.    --  translated to exceptions, since there is no posibillity to ignore 
  54.    --  function returns in Ada. 
  55.    -- 
  56.    --  From osapi_types.h 
  57.    -- 
  58.  
  59.    Binding_Version : constant Standard.String := "5.10"; 
  60.  
  61.    --  ------------------------------------------------- 
  62.    --                 CDR Primitive Types 
  63.    --  ------------------------------------------------- 
  64.  
  65.    type    Short              is new Interfaces.C.short; 
  66.    --  <defgroup>CdrGroupDocs</defgroup> 
  67.    --  <dref>Short</dref> 
  68.  
  69.    type    Long               is new Interfaces.C.int; 
  70.    --  <dref>Long</dref> 
  71.  
  72.    subtype Integer  is Long; 
  73.    subtype Natural  is Integer range 0 .. Integer'Last; 
  74.    subtype Positive is Integer range 1 .. Integer'Last; 
  75.  
  76.    type Long_Long          is new Interfaces.Integer_64; 
  77.    --  <dref>LongLong</dref> 
  78.  
  79.    type Unsigned_Short     is new Interfaces.Unsigned_16; 
  80.    --  <dref>UnsignedShort</dref> 
  81.  
  82.    type Unsigned_Long      is new Interfaces.Unsigned_32; 
  83.    --  <dref>UnsignedLong</dref> 
  84.  
  85.    type Unsigned_Long_Long is new Interfaces.Unsigned_64; 
  86.    --  <dref>UnsignedLongLong</dref> 
  87.  
  88.    type Enum               is new Interfaces.Unsigned_32; 
  89.    --  <dref>CdrEnum</dref> 
  90.  
  91.    type Float           is new Interfaces.IEEE_Float_32; 
  92.    --  <dref>Float</dref> 
  93.  
  94.    type Double          is new Interfaces.IEEE_Float_64; 
  95.    --  <dref>Double</dref> 
  96.  
  97.    type Long_Double     is new Interfaces.IEEE_Extended_Float; 
  98.    --  <dref>LongDouble</dref> 
  99.  
  100.    subtype Char            is Standard.Character; 
  101.    --  <dref>Char</dref> 
  102.  
  103.    subtype Wchar           is Standard.Wide_Wide_Character; 
  104.    --  <dref>Wchar</dref> 
  105.  
  106.    subtype Octet           is Interfaces.Unsigned_8; 
  107.    --  <dref>Octet</dref> 
  108.  
  109.    type Octets is record 
  110.       Length : Integer; 
  111.       Value  : System.Address; 
  112.    end record with 
  113.      Convention => C; 
  114.    --  <dref>Octets</dref> 
  115.    --  <dref name="length">Octets_length</dref> 
  116.    --  <dref name="value">Octets_value</dref> 
  117.  
  118.    Null_Octets : constant Octets := (0, System.Null_Address); 
  119.    subtype Boolean         is Standard.Boolean; 
  120.    --  <dref>Boolean</dref> 
  121.  
  122.    --  subtype String          is Interfaces.C.Strings.chars_ptr; 
  123.  
  124.    type String  is limited record 
  125.       Data  : aliased Interfaces.C.Strings.chars_ptr := Interfaces.C.Strings.Null_Ptr; 
  126.       pragma Obsolescent (Data, "This is internal data and not to be referenced outside the DDS hierachy:" & 
  127.                             "use Operations on the whole record instead!"); 
  128.    end record with 
  129.      Convention => C; 
  130.    --  <dref>String</dref> 
  131.  
  132.    function Length (Item : String) return Natural; 
  133.    function "=" (L : DDS.String; R : Standard.String) return Standard.Boolean; 
  134.    function "=" (L : Standard.String; R : DDS.String) return Standard.Boolean; 
  135.    function "&" (L : DDS.String; R : Standard.String) return Standard.String; 
  136.    function "&" (L : Standard.String; R : DDS.String) return Standard.String; 
  137.  
  138.  
  139.  
  140.    type KeyedString is record 
  141.       Key   : DDS.String; 
  142.       Value : DDS.String; 
  143.    end record with 
  144.      Convention => C; 
  145.    --  <dref>KeyedString</dref> 
  146.    --  <dref name="key">KeyedString_key</dref> 
  147.    --  <dref name="value">KeyedString_value</dref> 
  148.  
  149.    type KeyedOctets is record 
  150.       Key    : DDS.String; 
  151.       Value  : Octets; 
  152.    end record with 
  153.      Convention => C; 
  154.    --  <dref>KeyedOctets</dref> 
  155.    --  <dref name="key">KeyedOctets_key</dref> 
  156.    --  <dref name="length">KeyedOctets_length</dref> 
  157.    --  <dref name="value">KeyedOctets_value</dref> 
  158.  
  159.  
  160.    NULL_STRING     : constant DDS.String := (Data => Interfaces.C.Strings.Null_Ptr); 
  161.  
  162.    type Wwchars_Ptr is access all Standard.Wide_Wide_Character; 
  163.  
  164.    type Wide_String is limited record 
  165.       Data : Wwchars_Ptr; 
  166.    end record with 
  167.      Convention => C; 
  168.  
  169.    --  <dref>Wstring</dref> 
  170.  
  171.    function WValue (Item : Wwchars_Ptr) return Interfaces.C.char32_array; 
  172.    function "+" (Left : Wwchars_Ptr; Right : Interfaces.C.size_t) return Wwchars_Ptr; 
  173.    function Peek (From : Wwchars_Ptr) return Standard.Wide_Wide_Character; 
  174.  
  175.    --  Pointers on the previous types 
  176.  
  177.    type    Short_Ptr              is access all Short; 
  178.    type    Long_Ptr               is access all Long; 
  179.    type    Long_Long_Ptr          is access all Long_Long; 
  180.    type    Unsigned_Short_Ptr     is access all Unsigned_Short; 
  181.    type    Unsigned_Long_Ptr      is access all Unsigned_Long; 
  182.    type    Unsigned_Long_Long_Ptr is access all Unsigned_Long_Long; 
  183.    type    Enum_Ptr               is access all Enum; 
  184.    type    Float_Ptr              is access all Float; 
  185.    type    Double_Ptr             is access all Double; 
  186.    type    Long_Double_Ptr        is access all Long_Double; 
  187.    type    Char_Ptr               is access all Char; 
  188.    type    Wchar_Ptr              is access all Wchar; 
  189.    type    Octet_Ptr              is access all Octet; 
  190.    type    Octets_Ptr             is access all Octets; 
  191.    type    Boolean_Ptr            is access all Boolean; 
  192.    type    String_Ptr             is access all String; 
  193.    type    KeyedString_Ptr        is access all KeyedString; 
  194.    type    KeyedOctets_Ptr        is access all KeyedOctets; 
  195.    type    Wide_String_Ptr        is access all Wide_String; 
  196.  
  197.    --  ... and deallocation method for each pointer type 
  198.  
  199.    procedure Deallocate is new Ada.Unchecked_Deallocation (Short, Short_Ptr); 
  200.    procedure Deallocate is new Ada.Unchecked_Deallocation (Long, Long_Ptr); 
  201.    procedure Deallocate is new Ada.Unchecked_Deallocation (Long_Long, Long_Long_Ptr); 
  202.    procedure Deallocate is new Ada.Unchecked_Deallocation (Unsigned_Short, Unsigned_Short_Ptr); 
  203.    procedure Deallocate is new Ada.Unchecked_Deallocation (Unsigned_Long, Unsigned_Long_Ptr); 
  204.    procedure Deallocate is new Ada.Unchecked_Deallocation (Unsigned_Long_Long, Unsigned_Long_Long_Ptr); 
  205.    procedure Deallocate is new Ada.Unchecked_Deallocation (Enum, Enum_Ptr); 
  206.    procedure Deallocate is new Ada.Unchecked_Deallocation (Float, Float_Ptr); 
  207.    procedure Deallocate is new Ada.Unchecked_Deallocation (Double, Double_Ptr); 
  208.    procedure Deallocate is new Ada.Unchecked_Deallocation (Long_Double, Long_Double_Ptr); 
  209.    procedure Deallocate is new Ada.Unchecked_Deallocation (Char, Char_Ptr); 
  210.    procedure Deallocate is new Ada.Unchecked_Deallocation (Wchar, Wchar_Ptr); 
  211.    procedure Deallocate is new Ada.Unchecked_Deallocation (Octet, Octet_Ptr); 
  212.    procedure Deallocate is new Ada.Unchecked_Deallocation (Boolean, Boolean_Ptr); 
  213.    procedure Deallocate is new Ada.Unchecked_Deallocation (String, String_Ptr); 
  214.    procedure Deallocate is new Ada.Unchecked_Deallocation (Wide_String, Wide_String_Ptr); 
  215.  
  216.    DOMAIN_ID_MAX : constant := 250; 
  217.  
  218.    type DomainId_T is new Long range 0 .. DOMAIN_ID_MAX 
  219.      with Default_Value => 0; 
  220.    --  <dref>DomainId_t</dref> 
  221.  
  222.    Default_Domain  : constant DomainId_T := 0; 
  223.  
  224.    -- 
  225.    --  From dds_c/dds_c_infrastructure.h 
  226.    -- 
  227.  
  228.    --  ------------------------------------------------- 
  229.    --                 CDR Primitive Types Array and Sequences 
  230.    --  ------------------------------------------------- 
  231.  
  232.    type Short_Array is array (Natural range <>) of aliased Short; 
  233.    procedure Initialize (Self  : in out Short); 
  234.    procedure Finalize (Self  : in out Short); 
  235.    procedure Copy (Dst : in out Short; Src : in Short); 
  236.    package Short_Seq is new DDS_Support.Sequences_Generic 
  237.      (Short, 
  238.       Short_Ptr, 
  239.       DDS.Natural, 
  240.       1, 
  241.       Short_Array); 
  242.    --  <defgroup>SequenceGroupDocs</defgroup> 
  243.    --  <dref>ShortSeq</dref> 
  244.  
  245.    type Long_Array is array (Natural range <>) of aliased Long; 
  246.    procedure Initialize (Self  : in out Long); 
  247.    procedure Finalize (Self  : in out Long); 
  248.    procedure Copy (Dst : in out Long; Src : in Long); 
  249.    package Long_Seq is new DDS_Support.Sequences_Generic 
  250.      (Long, 
  251.       Long_Ptr, 
  252.       DDS.Natural, 
  253.       1, 
  254.       Long_Array); 
  255.    --  <dref>LongSeq</dref> 
  256.  
  257.    type Long_Long_Array is array (Natural range <>) of aliased Long_Long; 
  258.  
  259.    procedure Initialize (Self  : in out Long_Long); 
  260.    procedure Finalize (Self  : in out Long_Long); 
  261.    procedure Copy (Dst : in out Long_Long; Src : in Long_Long); 
  262.    package Long_Long_Seq is new DDS_Support.Sequences_Generic 
  263.      (Long_Long, 
  264.       Long_Long_Ptr, 
  265.       DDS.Natural, 
  266.       1, 
  267.       Long_Long_Array); 
  268.    --  <dref>LongLongSeq</dref> 
  269.  
  270.    type Unsigned_Short_Array is array (Natural range <>) of aliased Unsigned_Short; 
  271.    procedure Initialize (Self  : in out Unsigned_Short); 
  272.    procedure Finalize (Self  : in out Unsigned_Short); 
  273.    procedure Copy (Dst : in out Unsigned_Short; Src : in Unsigned_Short); 
  274.    package Unsigned_Short_Seq is new DDS_Support.Sequences_Generic 
  275.      (Unsigned_Short, 
  276.       Unsigned_Short_Ptr, 
  277.       DDS.Natural, 
  278.       1, 
  279.       Unsigned_Short_Array); 
  280.    --  <dref>UnsignedShortSeq</dref> 
  281.  
  282.    type Unsigned_Long_Array is array (Natural range <>) of aliased Unsigned_Long; 
  283.    procedure Initialize (Self  : in out Unsigned_Long); 
  284.    procedure Finalize (Self  : in out Unsigned_Long); 
  285.    procedure Copy (Dst : in out Unsigned_Long; Src : in Unsigned_Long); 
  286.    package Unsigned_Long_Seq is new DDS_Support.Sequences_Generic 
  287.      (Unsigned_Long, 
  288.       Unsigned_Long_Ptr, 
  289.       DDS.Natural, 
  290.       1, 
  291.       Unsigned_Long_Array); 
  292.    --  <dref>UnsignedLongSeq</dref> 
  293.  
  294.    type Unsigned_Long_Long_Array is array (Natural range <>) of aliased Unsigned_Long_Long; 
  295.    procedure Initialize (Self  : in out Unsigned_Long_Long); 
  296.    procedure Finalize (Self  : in out Unsigned_Long_Long); 
  297.    procedure Copy (Dst : in out Unsigned_Long_Long; Src : in Unsigned_Long_Long); 
  298.    package Unsigned_Long_Long_Seq is new DDS_Support.Sequences_Generic 
  299.      (Unsigned_Long_Long, 
  300.       Unsigned_Long_Long_Ptr, 
  301.       DDS.Natural, 
  302.       1, 
  303.       Unsigned_Long_Long_Array); 
  304.    --  <dref>UnsignedLongLongSeq</dref> 
  305.  
  306.    type Enum_Array is array (Natural range <>) of aliased Enum; 
  307.    procedure Initialize (Self  : in out Enum); 
  308.    procedure Finalize (Self  : in out Enum); 
  309.    procedure Copy (Dst : in out Enum; Src : in Enum); 
  310.    package Enum_Seq is new DDS_Support.Sequences_Generic 
  311.      (Enum, 
  312.       Enum_Ptr, 
  313.       DDS.Natural, 
  314.       1, 
  315.       Enum_Array); 
  316.  
  317.    type Float_Array is array (Natural range <>) of aliased Float; 
  318.    procedure Initialize (Self  : in out Float); 
  319.    procedure Finalize (Self  : in out Float); 
  320.    procedure Copy (Dst : in out Float; Src : in Float); 
  321.    package Float_Seq is new DDS_Support.Sequences_Generic 
  322.      (Float, 
  323.       Float_Ptr, 
  324.       DDS.Natural, 
  325.       1, 
  326.       Float_Array); 
  327.    --  <dref>FloatSeq</dref> 
  328.  
  329.    type Double_Array is array (Natural range <>) of aliased Double; 
  330.    procedure Initialize (Self  : in out Double); 
  331.    procedure Finalize (Self  : in out Double); 
  332.    procedure Copy (Dst : in out Double; Src : in Double); 
  333.    package Double_Seq is new DDS_Support.Sequences_Generic 
  334.      (Double, 
  335.       Double_Ptr, 
  336.       DDS.Natural, 
  337.       1, 
  338.       Double_Array); 
  339.    --  <dref>DoubleSeq</dref> 
  340.  
  341.    type Long_Double_Array is array (Natural range <>) of aliased Long_Double; 
  342.    procedure Initialize (Self  : in out Long_Double); 
  343.    procedure Finalize (Self  : in out Long_Double); 
  344.    procedure Copy (Dst : in out Long_Double; Src : in Long_Double); 
  345.    package Long_Double_Seq is new DDS_Support.Sequences_Generic 
  346.      (Long_Double, 
  347.       Long_Double_Ptr, 
  348.       DDS.Natural, 
  349.       1, 
  350.       Long_Double_Array); 
  351.    --  <dref>LongDoubleSeq</dref> 
  352.  
  353.    type Char_Array is array (Natural range <>) of aliased Char; 
  354.    procedure Initialize (Self  : in out Char); 
  355.    procedure Finalize (Self  : in out Char); 
  356.    procedure Copy (Dst : in out Char; Src : in Char); 
  357.    package Char_Seq is new DDS_Support.Sequences_Generic 
  358.      (Char, 
  359.       Char_Ptr, 
  360.       DDS.Natural, 
  361.       1, 
  362.       Char_Array); 
  363.    --  <dref>CharSeq</dref> 
  364.  
  365.    type Wchar_Array is array (Natural range <>) of aliased Wchar; 
  366.    procedure Initialize (Self  : in out Wchar); 
  367.    procedure Finalize (Self  : in out Wchar); 
  368.    procedure Copy (Dst : in out Wchar; Src : in Wchar); 
  369.    package Wchar_Seq is new DDS_Support.Sequences_Generic 
  370.      (Wchar, 
  371.       Wchar_Ptr, 
  372.       DDS.Natural, 
  373.       1, 
  374.       Wchar_Array); 
  375.    --  <dref>WcharSeq</dref> 
  376.  
  377.    type Octet_Array is array (Natural range <>) of aliased Octet; 
  378.    pragma Convention (C, Octet_Array); 
  379.    procedure Initialize (Self  : in out Octet); 
  380.    procedure Finalize (Self  : in out Octet); 
  381.    procedure Copy (Dst : in out Octet; Src : in Octet); 
  382.    package Octet_Seq is new DDS_Support.Sequences_Generic 
  383.      (Octet, 
  384.       Octet_Ptr, 
  385.       DDS.Natural, 
  386.       1, 
  387.       Octet_Array); 
  388.    --  <dref>OctetSeq</dref> 
  389.  
  390.    function Octets_Of (Item : Octet_Array) return Octets is 
  391.      (Octets'(Length =>  Item'Length, Value => Item (Item'First)'Address)); 
  392.    function Octets_Of (Item : Octet_Seq.Sequence) return Octets is 
  393.      (Octets'(Length =>  Item.Length, Value => Item.Contiguous_Buffer.all'Address)); 
  394.  
  395.  
  396.    type Octets_Array is array (Natural range <>) of aliased Octets; 
  397.    pragma Convention (C, Octets_Array); 
  398.    procedure Initialize (Self : in out Octets); 
  399.    procedure Finalize (Self : in out Octets); 
  400.    procedure Copy (Dst : in out Octets; Src : in Octets); 
  401.    package Octets_Seq is new DDS_Support.Sequences_Generic 
  402.      (Octets, 
  403.       Octets_Ptr, 
  404.       DDS.Natural, 
  405.       1, 
  406.       Octets_Array); 
  407.    --  <dref>OctetsSeq</dref> 
  408.  
  409.    type Boolean_Array is array (Natural range <>) of aliased Boolean; 
  410.    procedure Initialize (Self  : in out Boolean); 
  411.    procedure Finalize (Self  : in out Boolean); 
  412.    procedure Copy (Dst : in out Boolean; Src : in Boolean); 
  413.    package Boolean_Seq is new DDS_Support.Sequences_Generic 
  414.      (Boolean, 
  415.       Boolean_Ptr, 
  416.       DDS.Natural, 
  417.       1, 
  418.       Boolean_Array); 
  419.    --  <dref>BooleanSeq</dref> 
  420.  
  421.    function To_DDS_String (Source : Standard.String) return DDS.String is 
  422.      (Data => RTIDDS.To_Chars_Ptr (Source)); 
  423.    function To_Standard_String (Source : DDS.String) return Standard.String; 
  424.  
  425.  
  426.    procedure Copy (Dst : in out DDS.String; Src : in Standard.String); 
  427.    procedure Copy (Dst : in out Standard.String; Src : in DDS.String); 
  428.    function "=" (L, R  : DDS.String) return Boolean; 
  429.  
  430.    type String_Array is array (Natural range <>) of aliased DDS.String; 
  431.    procedure Initialize (Self  : in out DDS.String); 
  432.    procedure Finalize (Self  : in out DDS.String); 
  433.    procedure Copy (Dst : in out DDS.String; Src : in DDS.String); 
  434.    package String_Seq is new DDS_Support.Sequences_Generic 
  435.      (DDS.String, 
  436.       String_Ptr, 
  437.       DDS.Natural, 
  438.       1, 
  439.       String_Array); 
  440.    --  <dref>StringSeq</dref> 
  441.  
  442.    function To_DDS_KeyedString (Key : Standard.String; Source : Standard.String) return DDS.KeyedString; 
  443.    function To_Standard_String (Source : DDS.KeyedString) return Standard.String; 
  444.    function Get_Key_From_KeyedString (Source : DDS.KeyedString) return Standard.String; 
  445.    function "=" (L, R  : DDS.KeyedString) return Boolean; 
  446.  
  447.    type KeyedString_Array is array (Natural range <>) of aliased DDS.KeyedString; 
  448.    procedure Initialize (Self  : in out DDS.KeyedString); 
  449.    procedure Finalize (Self  : in out DDS.KeyedString); 
  450.    procedure Copy (Dst : in out DDS.KeyedString; Src : in DDS.KeyedString); 
  451.    package KeyedString_Seq is new DDS_Support.Sequences_Generic 
  452.      (DDS.KeyedString, 
  453.       KeyedString_Ptr, 
  454.       DDS.Natural, 
  455.       1, 
  456.       KeyedString_Array); 
  457.    --  <dref>KeyedStringSeq</dref> 
  458.  
  459.    function KeyedString_Of (Value : DDS.String; Key : DDS.String) return KeyedString; 
  460.    function KeyedString_Of (Key : DDS.String) return KeyedString; 
  461.    function KeyedString_Of (Value : Standard.String; Key : Standard.String) return KeyedString; 
  462.    function KeyedString_Of (Key : Standard.String) return KeyedString; 
  463.    --  NOTE that the above functions does not do any copying of data 
  464.    --   They are just generation references. 
  465.  
  466.    type KeyedOctets_Array is array (Natural range <>) of aliased DDS.KeyedOctets; 
  467.    procedure Initialize (Self : in out DDS.KeyedOctets); 
  468.    procedure Finalize (Self : in out DDS.KeyedOctets); 
  469.    procedure Copy (Dst : in out DDS.KeyedOctets; Src : in DDS.KeyedOctets); 
  470.    package KeyedOctets_Seq is new DDS_Support.Sequences_Generic 
  471.      (DDS.KeyedOctets, 
  472.       KeyedOctets_Ptr, 
  473.       DDS.Natural, 
  474.       1, 
  475.       KeyedOctets_Array); 
  476.    --  <dref>KeyedOctetsSeq</dref> 
  477.  
  478.  
  479.  
  480.    function KeyedOctets_Of (Key : String; Value : Octets := Null_Octets) return KeyedOctets; 
  481.    function KeyedOctets_Of (Key : String; Value : Octet_Array) return KeyedOctets; 
  482.    function KeyedOctets_Of (Key : String; Value : Octet_Seq.Sequence) return KeyedOctets; 
  483.  
  484.    generic 
  485.       type Data_Type is private; 
  486.    function KeyedOctets_Of_Generic (Key : String; Value : Data_Type) return KeyedOctets; 
  487.  
  488.    function To_DDS_Wide_String (Source : Standard.Wide_Wide_String) return DDS.Wide_String; 
  489.    function To_Standard_Wide_Wide_String (Source : DDS.Wide_String) return Standard.Wide_Wide_String; 
  490.    procedure Copy (Dst : in out DDS.Wide_String; Src : in Standard.Wide_Wide_String); 
  491.    procedure Copy (Dst : in out Standard.Wide_Wide_String; Src : in DDS.Wide_String); 
  492.    function "=" (L, R  : DDS.Wide_String) return Boolean; 
  493.  
  494.    type Wide_String_Array is array (Natural range <>) of aliased DDS.Wide_String; 
  495.    procedure Initialize (Self  : in out DDS.Wide_String); 
  496.    procedure Finalize (Self  : in out DDS.Wide_String); 
  497.    procedure Copy (Dst : in out DDS.Wide_String; Src : in DDS.Wide_String); 
  498.    package Wide_String_Seq is new DDS_Support.Sequences_Generic 
  499.      (DDS.Wide_String, 
  500.       Wide_String_Ptr, 
  501.       DDS.Natural, 
  502.       1, 
  503.       Wide_String_Array); 
  504.    --  <dref>WstringSeq</dref> 
  505.  
  506.    --  ------------------------------------------------- 
  507.    --                 Time_t 
  508.    --  ------------------------------------------------- 
  509.  
  510.    type Time_T is record 
  511.       Sec     : Long := 0; 
  512.       Nanosec : Unsigned_Long := 0; 
  513.    end record with 
  514.      Convention => C; 
  515.    --  <defgroup>TimeSupportGroupDocs</defgroup> 
  516.    --  <dref>Time_t</dref> 
  517.    --  <dref name="Sec">TimeStamp_sec</dref> 
  518.    --  <dref name="Nanosec">TimeStamp_nanosec</dref> 
  519.  
  520.  
  521.    function "<" (L : Time_T; R : Time_T) return Boolean; 
  522.  
  523.    function ">" (L : Time_T; R : Time_T) return Boolean; 
  524.  
  525.    function "<=" (L : Time_T; R : Time_T) return Boolean; 
  526.  
  527.    function ">=" (L : Time_T; R : Time_T) return Boolean; 
  528.  
  529.    function "+" (L : Time_T; R : Time_T) return Time_T; 
  530.  
  531.    Time_Zero       : constant Time_T := (0, 0); 
  532.    --  <dref>Time_t_ZERO</dref> 
  533.  
  534.    TIME_INVALID_SEC : constant Long      := -1; 
  535.    --  <dref>Time_t_INVALID_SEC</dref> 
  536.  
  537.    TIME_INVALID_NSEC : constant Unsigned_Long      := 4_294_967_295; 
  538.    --  <dref>Time_t_INVALID_NSEC</dref> 
  539.  
  540.    Time_Invalid    : constant Time_T := (TIME_INVALID_SEC, TIME_INVALID_NSEC); 
  541.    --  <dref>Time_t_INVALID</dref> 
  542.  
  543.    function Time_Is_Zero 
  544.      (T : Time_T) 
  545.       return Boolean; 
  546.    --  <dref>Time_t_is_zero</dref> 
  547.  
  548.    function Time_Is_Invalid 
  549.      (T : Time_T) 
  550.       return Boolean; 
  551.    --  <dref>Time_t_is_invalid</dref> 
  552.  
  553.    function To_Time (T : Time_T) return Ada.Calendar.Time; 
  554.    function To_Time (T : Time_T) return Ada.Real_Time.Time; 
  555.    function To_Time_T (T : Ada.Calendar.Time) return Time_T; 
  556.    function To_Time_T (T : Ada.Real_Time.Time) return Time_T; 
  557.    --  ------------------------------------------------- 
  558.    --                 Duration_t 
  559.    --  ------------------------------------------------- 
  560.  
  561.    type Duration_T is record -- Default DURATION_ZERO 
  562.       Sec     : Long := 0; 
  563.       Nanosec : Unsigned_Long := 0; 
  564.    end record with 
  565.      Convention => C; 
  566.    --  <dref>Duration_t</dref> 
  567.    --  <dref name="Sec">TimeStamp_sec</dref> 
  568.    --  <dref name="Nanosec">TimeStamp_nanosec</dref> 
  569.  
  570.    DURATION_ZERO_SEC : constant Long := 0; 
  571.    --  <dref>Duration_t_ZERO_SEC</dref> 
  572.  
  573.    DURATION_ZERO_NSEC : constant Unsigned_Long := 0; 
  574.    --  <dref>Duration_t_ZERO_NSEC</dref> 
  575.  
  576.    DURATION_ZERO     : Duration_T := (DURATION_ZERO_SEC, DURATION_ZERO_NSEC); 
  577.    --  <dref>Duration_t_ZERO</dref> 
  578.  
  579.    DURATION_INFINITE_SEC : constant Long := 2_147_483_647; 
  580.    --  <dref>Duration_t_INFINITE_SEC</dref> 
  581.  
  582.    DURATION_INFINITE_NSEC : constant Unsigned_Long := 2_1474_83_647; 
  583.    --  <dref>Duration_t_INFINITE_NSEC</dref> 
  584.  
  585.    DURATION_INFINITE : constant Duration_T := 
  586.                          (DURATION_INFINITE_SEC, DURATION_INFINITE_NSEC); 
  587.    --  <dref>Duration_t_INFINITE</dref> 
  588.  
  589.    DURATION_AUTO_SEC : constant Long := 2_1474_83_647; 
  590.    --  <dref>Duration_t_AUTO_SEC</dref> 
  591.  
  592.    DURATION_AUTO_NSEC : constant Unsigned_Long := 0; 
  593.    --  <dref>Duration_t_AUTO_NSEC</dref> 
  594.  
  595.    DURATION_AUTO     : constant Duration_T := 
  596.                          (DURATION_AUTO_SEC, DURATION_AUTO_NSEC); 
  597.    --  <dref>Duration_t_AUTO</dref> 
  598.  
  599.    --  <dref>Duration_t_is_zero</dref> 
  600.    function Duration_Is_Zero 
  601.      (D : Duration_T) 
  602.       return Boolean; 
  603.  
  604.    --  <dref>Duration_t_is_infinite</dref> 
  605.    function Duration_Is_Infinite 
  606.      (D : Duration_T) 
  607.       return Boolean; 
  608.  
  609.    --  <dref>Duration_t_is_auto</dref> 
  610.    function Duration_Is_Auto 
  611.      (D : Duration_T) 
  612.       return Boolean; 
  613.  
  614.    function To_Duration (D : Duration_T) return Standard.Duration; 
  615.    function To_Duration_T (D : Standard.Duration) return Duration_T; 
  616.    --  <internal> 
  617.    --  Converts a standard.Duration to Duration_T and will raise 
  618.    --  Constraint error if the conversion is impossible except for the 
  619.    --  Value Duration'Last that will return "DURATION_INFINITE". 
  620.    --  </internal> 
  621.  
  622.    --  ------------------------------------------------- 
  623.    --                 InstanceHandle_t 
  624.    --  ------------------------------------------------- 
  625.  
  626.    type Builtin_Topic_Key_Type_Native is new Interfaces.Unsigned_32; 
  627.  
  628.    type InstanceHandle_T is new RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_InstanceHandle_t; 
  629.    --  <dref>InstanceHandle_t</dref> 
  630.  
  631.    Null_InstanceHandle_T : aliased constant InstanceHandle_T := InstanceHandle_T (RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_HANDLE_NIL); 
  632.    HANDLE_NIL      : aliased constant InstanceHandle_T := Null_InstanceHandle_T; 
  633.    --  <dref>InstanceHandle_t_NIL</dref> 
  634.  
  635.    type InstanceHandle_T_Access is access all InstanceHandle_T; 
  636.  
  637.    type InstanceHandle_T_Array is array (Natural range <>) of aliased InstanceHandle_T; 
  638.    procedure Initialize (Self  : in out InstanceHandle_T); 
  639.    procedure Finalize (Self  : in out InstanceHandle_T); 
  640.    procedure Copy (Dst : in out InstanceHandle_T; Src : in InstanceHandle_T); 
  641.    --    package InstanceHandle_Seq is new Ada.Containers.Vectors (Positive, InstanceHandle_T); 
  642.  
  643.    package InstanceHandle_Seq is new DDS_Support.Sequences_Generic 
  644.      (InstanceHandle_T, 
  645.       InstanceHandle_T_Access, 
  646.       DDS.Natural, 
  647.       1, 
  648.       InstanceHandle_T_Array); 
  649.    --  <dref>InstanceHandleSeq</dref> 
  650.  
  651.    --  <dref>InstanceHandle_t_equals</dref> 
  652.    function InstanceHandle_Equals 
  653.      (Self : not null access InstanceHandle_T; Other : not null access InstanceHandle_T) return Boolean; 
  654.  
  655.    --  <dref>InstanceHandle_t_is_nil</dref> 
  656.    function InstanceHandle_Is_Nil 
  657.      (Self : not null access InstanceHandle_T) return Boolean; 
  658.  
  659.    --  ------------------------------------------------- 
  660.    --                 Guid_t 
  661.    --  ------------------------------------------------- 
  662.    subtype GUID_T_Value_Array is  Octet_Array (0 .. 15); 
  663.    type Guid_T is record 
  664.       Value : aliased GUID_T_Value_Array := (others => 0); 
  665.    end record with 
  666.      Convention => C; 
  667.    --  <defgroup>GUIDSupportGroupDocs</defgroup> 
  668.    --  <dref>GUID_t</dref> 
  669.    --  <dref name="Value">GUID_t_value</dref> 
  670.  
  671.    type Guid_T_Access is access all Guid_T; 
  672.  
  673.    GUID_AUTO : aliased constant Guid_T := (Value => (others => 0)); 
  674.    --  <dref>GUID_t_AUTO</dref> 
  675.  
  676.    GUID_UNKNOWN : Guid_T renames GUID_AUTO; 
  677.    --  <dref>GUID_t_UNKNOWN</dref> 
  678.  
  679.    --  <dref>GUID_t_equals</dref> 
  680.    function Guid_Equals 
  681.      (Self  : not null Guid_T_Access; 
  682.       Other : not null Guid_T_Access) 
  683.       return Boolean; 
  684.  
  685.    --  <dref>GUID_t_compare</dref> 
  686.    function Guid_Compare 
  687.      (Self  : not null Guid_T_Access; 
  688.       Other : not null Guid_T_Access) 
  689.       return Boolean; 
  690.  
  691.    --  <dref>GUID_t_copy</dref> 
  692.    procedure Guid_Copy 
  693.      (Self  : Guid_T_Access; 
  694.       Other : Guid_T_Access); 
  695.  
  696.    pragma Import (C, Guid_Copy, "DDS_GUID_copy"); 
  697.  
  698.    procedure Guid_Print (Self   : Guid_T_Access; 
  699.                          Desc   : String; 
  700.                          Indent : Unsigned_Long); 
  701.  
  702.    pragma Import (C, Guid_Print, "DDS_GUID_print"); 
  703.  
  704.    procedure Guid_Zero (Self   : Guid_T_Access); 
  705.  
  706.    pragma Import (C, Guid_Zero, "DDS_GUID_zero"); 
  707.  
  708.    --  ------------------------------------------------- 
  709.    --                 SequenceNumber_t 
  710.    --  ------------------------------------------------- 
  711.  
  712.    type SequenceNumber_T is record 
  713.       High : aliased Long := 0; 
  714.       Low  : aliased Unsigned_Long := 0; 
  715.    end record with 
  716.      Convention => C; 
  717.    --  <defgroup>SequenceNumberSupportGroupDocs</defgroup> 
  718.    --  <dref>SequenceNumber_t</dref> 
  719.    --  <dref name="High">SequenceNumber_t_high</dref> 
  720.    --  <dref name="Low">SequenceNumber_t_low</dref> 
  721.  
  722.    type SequenceNumber_T_Access is access all  SequenceNumber_T; 
  723.  
  724.    SEQUENCE_NUMBER_UNKNOWN : constant  SequenceNumber_T := (High => -1, Low =>  4294967295); 
  725.    --  <dref>SequenceNumber_t_UNKNOWN</dref> 
  726.  
  727.    SEQUENCE_NUMBER_ZERO    : constant  SequenceNumber_T := (High =>  0, Low =>  0); 
  728.    --  <dref>SequenceNumber_t_ZERO</dref> 
  729.  
  730.  
  731.    SEQUENCE_NUMBER_MAX     : constant  SequenceNumber_T := (High =>  2147483647, Low =>  4294967295); 
  732.    --  <dref>SequenceNumber_t_MAX</dref> 
  733.  
  734.    AUTO_SEQUENCE_NUMBER    : constant SequenceNumber_T := (High => -1, Low =>  4294967295); 
  735.    --  <dref>SequenceNumber_t_AUTO</dref> 
  736.  
  737.  
  738.    function "-" (L, R : SequenceNumber_T) return SequenceNumber_T; 
  739.    function "+" (L, R : SequenceNumber_T) return SequenceNumber_T; 
  740.    function ">" (L, R : SequenceNumber_T) return Boolean; 
  741.    function "<" (L, R : SequenceNumber_T) return Boolean; 
  742.  
  743.    procedure Increment (Item : in out SequenceNumber_T); 
  744.    procedure Decrement (Item : in out SequenceNumber_T); 
  745.    function Image (Item : SequenceNumber_T) return Standard.String; 
  746.  
  747.    --  ------------------------------------------------- 
  748.    --                 OriginalWriterInfo_t 
  749.    --  ------------------------------------------------- 
  750.  
  751.    type OriginalWriterInfo_T is record 
  752.       Writer_Guid     : Guid_T; 
  753.       Sequence_Number : SequenceNumber_T; 
  754.    end record with 
  755.      Convention => C; 
  756.    --  <dref internal="true"></dref> 
  757.  
  758.  
  759.    --  ------------------------------------------------- 
  760.    --                 ReturnCode_t 
  761.    --  ------------------------------------------------- 
  762.  
  763.    ERROR                : exception; 
  764.    --  <defgroup>ReturnCodeGroupDocs</defgroup> 
  765.    --  <dref>ReturnCode_t</dref> 
  766.    --  <dref>ReturnCode_t_RETCODE_ERROR</dref> 
  767.  
  768.    UNSUPPORTED          : exception; 
  769.    --  <dref>ReturnCode_t_RETCODE_UNSUPPORTED</dref> 
  770.  
  771.    BAD_PARAMETER        : exception; 
  772.    --  <dref>ReturnCode_t_RETCODE_BAD_PARAMETER</dref> 
  773.  
  774.    PRECONDITION_NOT_MET : exception; 
  775.    --  <dref>ReturnCode_t_RETCODE_PRECONDITION_NOT_MET</dref> 
  776.  
  777.    OUT_OF_RESOURCES     : exception; 
  778.    --  <dref>ReturnCode_t_RETCODE_OUT_OF_RESOURCES</dref> 
  779.  
  780.    NOT_ENABLED          : exception; 
  781.    --  <dref>ReturnCode_t_RETCODE_NOT_ENABLED</dref> 
  782.  
  783.    IMMUTABLE_POLICY     : exception; 
  784.    --  <dref>ReturnCode_t_RETCODE_IMMUTABLE_POLICY</dref> 
  785.  
  786.    INCONSISTENT_POLICY  : exception; 
  787.    --  <dref>ReturnCode_t_RETCODE_INCONSISTENT_POLICY</dref> 
  788.  
  789.    ALREADY_DELETED      : exception; 
  790.    --  <dref>ReturnCode_t_RETCODE_ALREADY_DELETED</dref> 
  791.  
  792.    TIMEOUT              : exception; 
  793.    --  <dref>ReturnCode_t_RETCODE_TIMEOUT</dref> 
  794.  
  795.    NO_DATA              : exception; 
  796.    --  <dref>ReturnCode_t_RETCODE_NO_DATA</dref> 
  797.  
  798.    ILLEGAL_OPERATION    : exception; 
  799.    --  <dref>ReturnCode_t_RETCODE_ILLEGAL_OPERATION</dref> 
  800.  
  801.    type ReturnCode_T is 
  802.      (RETCODE_OK, 
  803.       --  Successful return. 
  804.       RETCODE_ERROR, 
  805.       --  Generic, unspecified error. 
  806.  
  807.       RETCODE_UNSUPPORTED, 
  808.       --  Unsupported operation. Can only returned by operations that are unsupported. 
  809.       RETCODE_BAD_PARAMETER, 
  810.       RETCODE_PRECONDITION_NOT_MET, 
  811.       RETCODE_OUT_OF_RESOURCES, 
  812.       RETCODE_NOT_ENABLED, 
  813.       RETCODE_IMMUTABLE_POLICY, 
  814.       RETCODE_INCONSISTENT_POLICY, 
  815.       RETCODE_ALREADY_DELETED, 
  816.       RETCODE_TIMEOUT, 
  817.       RETCODE_NO_DATA, 
  818.       RETCODE_ILLEGAL_OPERATION 
  819.      ); 
  820.  
  821.    pragma Convention (C, ReturnCode_T); 
  822.  
  823.    procedure Ret_Code_To_Exception (Code : ReturnCode_T; Message : Standard.String := ""); 
  824.  
  825.    --  ------------------------------------------------- 
  826.    --                 Status Types 
  827.    --  ------------------------------------------------- 
  828.  
  829.    type StatusKind is new Unsigned_Long; 
  830.    --  <dref>StatusKind</dref> 
  831.  
  832.    INCONSISTENT_TOPIC_STATUS         : constant StatusKind := 2#0000_0000_0000_0001#; 
  833.    --  <dref>StatusKind_INCONSISTENT_TOPIC_STATUS</dref> 
  834.  
  835.    OFFERED_DEADLINE_MISSED_STATUS    : constant StatusKind := 2#0000_0000_0000_0010#; 
  836.    --  <dref>StatusKind_OFFERED_DEADLINE_MISSED_STATUS</dref> 
  837.  
  838.    REQUESTED_DEADLINE_MISSED_STATUS  : constant StatusKind := 2#0000_0000_0000_0100#; 
  839.    --  <dref>StatusKind_REQUESTED_DEADLINE_MISSED_STATUS</dref> 
  840.  
  841.    OFFERED_INCOMPATIBLE_QOS_STATUS   : constant StatusKind := 2#0000_0000_0010_0000#; 
  842.    --  <dref>StatusKind_OFFERED_INCOMPATIBLE_QOS_STATUS</dref> 
  843.  
  844.    REQUESTED_INCOMPATIBLE_QOS_STATUS : constant StatusKind := 2#0000_0000_0100_0000#; 
  845.    --  <dref>StatusKind_REQUESTED_INCOMPATIBLE_QOS_STATUS</dref> 
  846.  
  847.    SAMPLE_LOST_STATUS                : constant StatusKind := 2#0000_0000_1000_0000#; 
  848.    --  <dref>StatusKind_SAMPLE_LOST_STATUS</dref> 
  849.  
  850.    SAMPLE_REJECTED_STATUS            : constant StatusKind := 2#0000_0001_0000_0000#; 
  851.    --  <dref>StatusKind_SAMPLE_REJECTED_STATUS</dref> 
  852.  
  853.    DATA_ON_READERS_STATUS            : constant StatusKind := 2#0000_0010_0000_0000#; 
  854.    --  <dref>StatusKind_DATA_ON_READERS_STATUS</dref> 
  855.  
  856.    DATA_AVAILABLE_STATUS             : constant StatusKind := 2#0000_0100_0000_0000#; 
  857.    --  <dref>StatusKind_DATA_AVAILABLE_STATUS</dref> 
  858.  
  859.    LIVELINESS_LOST_STATUS            : constant StatusKind := 2#0000_1000_0000_0000#; 
  860.    --  <dref>StatusKind_LIVELINESS_LOST_STATUS</dref> 
  861.  
  862.    LIVELINESS_CHANGED_STATUS         : constant StatusKind := 2#0001_0000_0000_0000#; 
  863.    --  <dref>StatusKind_LIVELINESS_CHANGED_STATUS</dref> 
  864.  
  865.    PUBLICATION_MATCH_STATUS          : constant StatusKind := 2#0010_0000_0000_0000#; 
  866.    --  <dref>StatusKind_PUBLICATION_MATCHED_STATUS</dref> 
  867.  
  868.    SUBSCRIPTION_MATCH_STATUS         : constant StatusKind := 2#0100_0000_0000_0000#; 
  869.    --  <dref>StatusKind_SUBSCRIPTION_MATCHED_STATUS</dref> 
  870.    pragma Warnings (Off); 
  871.    function "+" (Left, Right : StatusKind) return StatusKind renames "or"; 
  872.    pragma Warnings (On); 
  873.  
  874.    --   /* --- Begin extended statuses --- */ 
  875.    --   /* Previously, the "right"-most 24 bits of the StatusMask were reserved 
  876.    --    * for standard statuses, with the remaining 8 bits for extended statuses. 
  877.    --    Now, as of 4.5b, with more than 8 extended statuses, and with no "official" 
  878.    --    documented requirement of having only 8 bits, additional bits are being 
  879.    --    designated for extended statuses. 
  880.    --    */ 
  881.  
  882.    DATA_WRITER_APPLICATION_ACKNOWLEDGMENT_STATUS : constant StatusKind := 
  883.                                                      2#0000_0000_0100_0000_0000_0000_0000_0000#; 
  884.    --  <dref>StatusKind_DATA_WRITER_APPLICATION_ACKNOWLEDGMENT_STATUS</dref> 
  885.  
  886.    DATA_WRITER_INSTANCE_REPLACED_STATUS       : constant StatusKind := 
  887.                                                   2#0000_0000_1000_0000_0000_0000_0000_0000#; 
  888.    --  <dref>StatusKind_DATA_WRITER_INSTANCE_REPLACED_STATUS</dref> 
  889.  
  890.    RELIABLE_WRITER_CACHE_CHANGED_STATUS       : constant StatusKind := 
  891.                                                   2#0000_0001_0000_0000_0000_0000_0000_0000#; 
  892.    --  <dref>StatusKind_RELIABLE_WRITER_CACHE_CHANGED_STATUS</dref> 
  893.  
  894.    RELIABLE_READER_ACTIVITY_CHANGED_STATUS    : constant StatusKind := 
  895.                                                   2#0000_0010_0000_0000_0000_0000_0000_0000#; 
  896.    --  <dref>StatusKind_RELIABLE_READER_ACTIVITY_CHANGED_STATUS</dref> 
  897.  
  898.    DATA_WRITER_CACHE_STATUS                   : constant StatusKind := 
  899.                                                   2#0000_0100_0000_0000_0000_0000_0000_0000#; 
  900.    --  <dref>StatusKind_DATA_WRITER_CACHE_STATUS</dref> 
  901.  
  902.    DATA_WRITER_PROTOCOL_STATUS                : constant StatusKind := 
  903.                                                   2#0000_1000_0000_0000_0000_0000_0000_0000#; 
  904.    --  <dref>StatusKind_DATA_WRITER_PROTOCOL_STATUS</dref> 
  905.  
  906.    DATA_READER_CACHE_STATUS                   : constant StatusKind := 
  907.                                                   2#0001_0000_0000_0000_0000_0000_0000_0000#; 
  908.    --  <dref>StatusKind_DATA_READER_CACHE_STATUS</dref> 
  909.  
  910.    DATA_READER_PROTOCOL_STATUS                : constant StatusKind := 
  911.                                                   2#0010_0000_0000_0000_0000_0000_0000_0000#; 
  912.    --  <dref>StatusKind_DATA_READER_PROTOCOL_STATUS</dref> 
  913.  
  914.    DATA_WRITER_DESTINATION_UNREACHABLE_STATUS : constant StatusKind := 
  915.                                                   2#0100_0000_0000_0000_0000_0000_0000_0000#; 
  916.    --  <dref internal="true"></dref> 
  917.  
  918.    DATA_WRITER_SAMPLE_REMOVED_STATUS          : constant StatusKind := 
  919.                                                   2#1000_0000_0000_0000_0000_0000_0000_0000#; 
  920.    --  <dref internal="true"></dref> 
  921.  
  922.    subtype StatusMask is StatusKind; 
  923.    --  <defgroup>StatusKindGroupDocs</defgroup> 
  924.    --  <dref>StatusMask</dref> 
  925.    --  <dref>Shared_status_mask_description</dref> 
  926.  
  927.    STATUS_MASK_NONE : constant StatusMask := 2#0000_0000_0000_0000_0000_0000_0000_0000#; 
  928.    --  <dref>STATUS_MASK_NONE</dref> 
  929.  
  930.    STATUS_MASK_ALL  : constant StatusMask := 2#1111_1111_1000_0000_0111_1111_1110_0111#; 
  931.    --  <dref>STATUS_MASK_ALL</dref> 
  932.  
  933.    type StatusKind_Access is access constant StatusKind; 
  934.  
  935.    --  ------------------------------------------------- 
  936.    --                 Thread Settings 
  937.    --  ------------------------------------------------- 
  938.  
  939.    type ThreadSettings is new Unsigned_Long; 
  940.    --  <defgroup>ThreadSettingsGroupDocs</defgroup> 
  941.  
  942.    subtype ThreadSettingsKindMask is ThreadSettings; 
  943.    --  <dref>ThreadSettingsKindMask</dref> 
  944.  
  945.    THREAD_SETTINGS_OPTION_DEFAULT             : constant := 16#00#; 
  946.  
  947.    THREAD_SETTINGS_OPTION_FLOATING_POINT      : constant := 16#01#; 
  948.    --  <dref>ThreadSettingsKind</dref> 
  949.    --  <dref>ThreadSettingsKind_THREAD_SETTINGS_FLOATING_POINT</dref> 
  950.  
  951.    THREAD_SETTINGS_OPTION_STDIO               : constant := 16#02#; 
  952.    --  <dref>ThreadSettingsKind_THREAD_SETTINGS_STDIO</dref> 
  953.  
  954.    THREAD_SETTINGS_OPTION_REALTIME_PRIORITY   : constant := 16#08#; 
  955.  
  956.    --  <dref>ThreadSettingsKind_THREAD_SETTINGS_REALTIME_PRIORITY</dref> 
  957.  
  958.    THREAD_SETTINGS_OPTION_PRIORITY_ENFORCE    : constant := 16#10#; 
  959.    --  <dref>ThreadSettingsKind_THREAD_SETTINGS_PRIORITY_ENFORCE</dref> 
  960.  
  961.    THREAD_SETTINGS_OPTION_CANCEL_ASYNCHRONOUS : constant := 16#20#; 
  962.    --  <dref>ThreadSettingsKind_THREAD_SETTINGS_CANCEL_ASYNCHRONOUS</dref> 
  963.  
  964.    THREAD_SETTINGS_KIND_MASK_DEFAULT          : constant ThreadSettingsKindMask := 
  965.                                                   THREAD_SETTINGS_OPTION_DEFAULT; 
  966.    --  <dref>THREAD_SETTINGS_KIND_MASK_DEFAULT</dref> 
  967.  
  968.    type ThreadSettingsCpuRotationKind_T is new Unsigned_Long; 
  969.    --  <dref>ThreadSettingsCpuRotationKind</dref> 
  970.  
  971.    THREAD_SETTINGS_CPU_NO_ROTATION            : constant ThreadSettingsCpuRotationKind_T := 0; 
  972.    --  <dref>ThreadSettingsCpuRotationKind_THREAD_SETTINGS_CPU_NO_ROTATION</dref> 
  973.  
  974.    THREAD_SETTINGS_CPU_RR_ROTATION            : constant ThreadSettingsCpuRotationKind_T := 1; 
  975.    --  <dref>ThreadSettingsCpuRotationKind_THREAD_SETTINGS_CPU_RR_ROTATION</dref> 
  976.  
  977.    THREAD_SETTINGS_CPU_ROTATION_DEFAULT       : constant ThreadSettingsCpuRotationKind_T := 
  978.                                                   THREAD_SETTINGS_CPU_NO_ROTATION; 
  979.    --  <dref internal="true"></dref> 
  980.  
  981.    type ThreadSettings_T is record 
  982.       Mask         : aliased ThreadSettingsKindMask := THREAD_SETTINGS_OPTION_DEFAULT; 
  983.       Priority     : aliased Long := -9999999; 
  984.       Stack_Size   : aliased Long := -1; 
  985.       Cpu_List     : aliased Long_Seq.Sequence; 
  986.       Cpu_Rotation : aliased ThreadSettingsCpuRotationKind_T := THREAD_SETTINGS_CPU_ROTATION_DEFAULT; 
  987.    end record with 
  988.      Convention => C; 
  989.    --  <dref>ThreadSettings_t</dref> 
  990.    --  <dref name="Mask">ThreadSettings_t_mask</dref> 
  991.    --  <dref name="Priority">ThreadSettings_t_priority</dref> 
  992.    --  <dref name="Stack_Size">ThreadSettings_t_stack_size</dref> 
  993.    --  <dref name="Cpu_List">ThreadSettings_t_cpu_list</dref> 
  994.    --  <dref name="Cpu_Rotation">ThreadSettings_t_cpu_rotation</dref> 
  995.  
  996.    type ThreadSettings_T_Access is access all  ThreadSettings_T; 
  997.  
  998.    procedure ThreadSettings_T_Get_Default (Self  : not null ThreadSettings_T_Access); 
  999.  
  1000.    pragma Import (C, ThreadSettings_T_Get_Default, "DDS_ThreadSettings_get_default"); 
  1001.  
  1002.    function ThreadSettings_T_Is_Equal 
  1003.      (Self  : not null ThreadSettings_T_Access; 
  1004.       Other : not null ThreadSettings_T_Access) 
  1005.       return Boolean; 
  1006.  
  1007.    --  ------------------------------------------------- 
  1008.    --                 QoS Types 
  1009.    --  ------------------------------------------------- 
  1010.  
  1011.    type QosPolicyId_T is new Unsigned_Long; 
  1012.    --  <defgroup>QosPoliciesGroupDocs</defgroup> 
  1013.    --  <dref>QosPolicyId_t</dref> 
  1014.  
  1015.    QOS_POLICY_COUNT : constant Long := 59; 
  1016.    --  <dref>QOS_POLICY_COUNT</dref> 
  1017.  
  1018.    INVALID_QOS_POLICY_ID : constant QosPolicyId_T := 0; 
  1019.    --  <dref>QosPolicyId_t_INVALID_QOS_POLICY_ID</dref> 
  1020.  
  1021.    USERDATA_QOS_POLICY_ID : constant QosPolicyId_T := 1; 
  1022.    --  <dref>QosPolicyId_t_USERDATA_QOS_POLICY_ID</dref> 
  1023.  
  1024.    DURABILITY_QOS_POLICY_ID : constant QosPolicyId_T := 2; 
  1025.    --  <dref>QosPolicyId_t_DURABILITY_QOS_POLICY_ID</dref> 
  1026.  
  1027.    PRESENTATION_QOS_POLICY_ID : constant QosPolicyId_T := 3; 
  1028.    --  <dref>QosPolicyId_t_PRESENTATION_QOS_POLICY_ID</dref> 
  1029.  
  1030.    DEADLINE_QOS_POLICY_ID : constant QosPolicyId_T := 4; 
  1031.    --  <dref>QosPolicyId_t_DEADLINE_QOS_POLICY_ID</dref> 
  1032.  
  1033.    LATENCYBUDGET_QOS_POLICY_ID : constant QosPolicyId_T := 5; 
  1034.    --  <dref>QosPolicyId_t_LATENCYBUDGET_QOS_POLICY_ID</dref> 
  1035.  
  1036.    OWNERSHIP_QOS_POLICY_ID : constant QosPolicyId_T := 6; 
  1037.    --  <dref>QosPolicyId_t_OWNERSHIP_QOS_POLICY_ID</dref> 
  1038.  
  1039.    OWNERSHIPSTRENGTH_QOS_POLICY_ID : constant QosPolicyId_T := 7; 
  1040.    --  <dref>QosPolicyId_t_OWNERSHIPSTRENGTH_QOS_POLICY_ID</dref> 
  1041.  
  1042.    LIVELINESS_QOS_POLICY_ID : constant QosPolicyId_T := 8; 
  1043.    --  <dref>QosPolicyId_t_LIVELINESS_QOS_POLICY_ID</dref> 
  1044.  
  1045.    TIMEBASEDFILTER_QOS_POLICY_ID : constant QosPolicyId_T := 9; 
  1046.    --  <dref>QosPolicyId_t_TIMEBASEDFILTER_QOS_POLICY_ID</dref> 
  1047.  
  1048.    PARTITION_QOS_POLICY_ID : constant QosPolicyId_T := 10; 
  1049.    --  <dref>QosPolicyId_t_PARTITION_QOS_POLICY_ID</dref> 
  1050.  
  1051.    RELIABILITY_QOS_POLICY_ID : constant QosPolicyId_T := 11; 
  1052.    --  <dref>QosPolicyId_t_RELIABILITY_QOS_POLICY_ID</dref> 
  1053.  
  1054.    DESTINATIONORDER_QOS_POLICY_ID : constant QosPolicyId_T := 12; 
  1055.    --  <dref>QosPolicyId_t_DESTINATIONORDER_QOS_POLICY_ID</dref> 
  1056.  
  1057.    HISTORY_QOS_POLICY_ID : constant QosPolicyId_T := 13; 
  1058.    --  <dref>QosPolicyId_t_HISTORY_QOS_POLICY_ID</dref> 
  1059.  
  1060.    RESOURCELIMITS_QOS_POLICY_ID : constant QosPolicyId_T := 14; 
  1061.    --  <dref>QosPolicyId_t_RESOURCELIMITS_QOS_POLICY_ID</dref> 
  1062.  
  1063.    ENTITYFACTORY_QOS_POLICY_ID : constant QosPolicyId_T := 15; 
  1064.    --  <dref>QosPolicyId_t_ENTITYFACTORY_QOS_POLICY_ID</dref> 
  1065.  
  1066.    WRITERDATALIFECYCLE_QOS_POLICY_ID : constant QosPolicyId_T := 16; 
  1067.    --  <dref>QosPolicyId_t_WRITERDATALIFECYCLE_QOS_POLICY_ID</dref> 
  1068.  
  1069.    READERDATALIFECYCLE_QOS_POLICY_ID : constant QosPolicyId_T := 17; 
  1070.    --  <dref>QosPolicyId_t_READERDATALIFECYCLE_QOS_POLICY_ID</dref> 
  1071.  
  1072.    TOPICDATA_QOS_POLICY_ID : constant QosPolicyId_T := 18; 
  1073.    --  <dref>QosPolicyId_t_TOPICDATA_QOS_POLICY_ID</dref> 
  1074.  
  1075.    GROUPDATA_QOS_POLICY_ID : constant QosPolicyId_T := 19; 
  1076.    --  <dref>QosPolicyId_t_GROUPDATA_QOS_POLICY_ID</dref> 
  1077.  
  1078.    TRANSPORTPRIORITY_QOS_POLICY_ID : constant QosPolicyId_T := 20; 
  1079.    --  <dref>QosPolicyId_t_TRANSPORTPRIORITY_QOS_POLICY_ID</dref> 
  1080.  
  1081.    LIFESPAN_QOS_POLICY_ID : constant QosPolicyId_T := 21; 
  1082.    --  <dref>QosPolicyId_t_LIFESPAN_QOS_POLICY_ID</dref> 
  1083.  
  1084.    DURABILITYSERVICE_QOS_POLICY_ID : constant QosPolicyId_T := 22; 
  1085.    --  <dref>QosPolicyId_t_DURABILITYSERVICE_QOS_POLICY_ID</dref> 
  1086.  
  1087.    TYPE_CONSISTENCY_ENFORCEMENT_QOS_POLICY_ID : constant QosPolicyId_T := 24; 
  1088.    --  <dref>QosPolicyId_t_TYPE_CONSISTENCY_ENFORCEMENT_QOS_POLICY_ID</dref> 
  1089.  
  1090.    WIREPROTOCOL_QOS_POLICY_ID : constant QosPolicyId_T := 1000; 
  1091.    --  <dref>QosPolicyId_t_WIREPROTOCOL_QOS_POLICY_ID</dref> 
  1092.  
  1093.    DISCOVERY_QOS_POLICY_ID : constant QosPolicyId_T := 1001; 
  1094.    --  <dref>QosPolicyId_t_DISCOVERY_QOS_POLICY_ID</dref> 
  1095.  
  1096.    DATAREADERRESOURCELIMITS_QOS_POLICY_ID : constant QosPolicyId_T := 1003; 
  1097.    --  <dref>QosPolicyId_t_DATAREADERRESOURCELIMITS_QOS_POLICY_ID</dref> 
  1098.  
  1099.    DATAWRITERRESOURCELIMITS_QOS_POLICY_ID : constant QosPolicyId_T := 1004; 
  1100.    --  <dref>QosPolicyId_t_DATAWRITERRESOURCELIMITS_QOS_POLICY_ID</dref> 
  1101.  
  1102.    DATAREADERPROTOCOL_QOS_POLICY_ID : constant QosPolicyId_T := 1005; 
  1103.    --  <dref>QosPolicyId_t_DATAREADERPROTOCOL_QOS_POLICY_ID</dref> 
  1104.  
  1105.    DATAWRITERPROTOCOL_QOS_POLICY_ID : constant QosPolicyId_T := 1006; 
  1106.    --  <dref>QosPolicyId_t_DATAWRITERPROTOCOL_QOS_POLICY_ID</dref> 
  1107.  
  1108.    DOMAINPARTICIPANTRESOURCELIMITS_QOS_POLICY_ID : constant QosPolicyId_T := 1007; 
  1109.    --  <dref>QosPolicyId_t_DOMAINPARTICIPANTRESOURCELIMITS_QOS_POLICY_ID</dref> 
  1110.  
  1111.    EVENT_QOS_POLICY_ID : constant QosPolicyId_T := 1008; 
  1112.    --  <dref>QosPolicyId_t_EVENT_QOS_POLICY_ID</dref> 
  1113.  
  1114.    DATABASE_QOS_POLICY_ID : constant QosPolicyId_T := 1009; 
  1115.    --  <dref>QosPolicyId_t_DATABASE_QOS_POLICY_ID</dref> 
  1116.  
  1117.    RECEIVERPOOL_QOS_POLICY_ID : constant QosPolicyId_T := 1010; 
  1118.    --  <dref>QosPolicyId_t_RECEIVERPOOL_QOS_POLICY_ID</dref> 
  1119.  
  1120.    DISCOVERYCONFIG_QOS_POLICY_ID : constant QosPolicyId_T := 1011; 
  1121.    --  <dref>QosPolicyId_t_DISCOVERYCONFIG_QOS_POLICY_ID</dref> 
  1122.  
  1123.    EXCLUSIVEAREA_QOS_POLICY_ID : constant QosPolicyId_T := 1012; 
  1124.    --  <dref>QosPolicyId_t_EXCLUSIVEAREA_QOS_POLICY_ID</dref> 
  1125.  
  1126.    USEROBJECT_QOS_POLICY_ID : constant QosPolicyId_T := 1013; 
  1127.    --  <dref internal="true">QosPolicyId_t_USEROBJECT_QOS_POLICY_ID</dref> 
  1128.  
  1129.    SYSTEMRESOURCELIMITS_QOS_POLICY_ID : constant QosPolicyId_T := 1014; 
  1130.    --  <dref>QosPolicyId_t_SYSTEMRESOURCELIMITS_QOS_POLICY_ID</dref> 
  1131.  
  1132.    TRANSPORTSELECTION_QOS_POLICY_ID : constant QosPolicyId_T := 1015; 
  1133.    --  <dref>QosPolicyId_t_TRANSPORTSELECTION_QOS_POLICY_ID</dref> 
  1134.  
  1135.    TRANSPORTUNICAST_QOS_POLICY_ID : constant QosPolicyId_T := 1016; 
  1136.    --  <dref>QosPolicyId_t_TRANSPORTUNICAST_QOS_POLICY_ID</dref> 
  1137.  
  1138.    TRANSPORTMULTICAST_QOS_POLICY_ID : constant QosPolicyId_T := 1017; 
  1139.    --  <dref>QosPolicyId_t_TRANSPORTMULTICAST_QOS_POLICY_ID</dref> 
  1140.  
  1141.    TRANSPORTBUILTIN_QOS_POLICY_ID : constant QosPolicyId_T := 1018; 
  1142.    --  <dref>QosPolicyId_t_TRANSPORTBUILTIN_QOS_POLICY_ID</dref> 
  1143.  
  1144.    TYPESUPPORT_QOS_POLICY_ID : constant QosPolicyId_T := 1019; 
  1145.    --  <dref>QosPolicyId_t_TYPESUPPORT_QOS_POLICY_ID</dref> 
  1146.  
  1147.    PROPERTY_QOS_POLICY_ID : constant QosPolicyId_T := 1020; 
  1148.    --  <dref>QosPolicyId_t_PROPERTY_QOS_POLICY_ID</dref> 
  1149.  
  1150.    PUBLISHMODE_QOS_POLICY_ID : constant QosPolicyId_T := 1021; 
  1151.    --  <dref>QosPolicyId_t_PUBLISHMODE_QOS_POLICY_ID</dref> 
  1152.  
  1153.    ASYNCHRONOUSPUBLISHER_QOS_POLICY_ID : constant QosPolicyId_T := 1022; 
  1154.    --  <dref>QosPolicyId_t_ASYNCHRONOUSPUBLISHER_QOS_POLICY_ID</dref> 
  1155.  
  1156.    ENTITYNAME_QOS_POLICY_ID : constant QosPolicyId_T := 1023; 
  1157.    --  <dref>QosPolicyId_t_ENTITYNAME_QOS_POLICY_ID</dref> 
  1158.  
  1159.    SERVICE_QOS_POLICY_ID : constant QosPolicyId_T := 1025; 
  1160.    --  <dref internal="true"></dref> 
  1161.  
  1162.    BATCH_QOS_POLICY_ID : constant QosPolicyId_T := 1026; 
  1163.    --  <dref>QosPolicyId_t_BATCH_QOS_POLICY_ID</dref> 
  1164.  
  1165.    PROFILE_QOS_POLICY_ID : constant QosPolicyId_T := 1027; 
  1166.    --  <dref>QosPolicyId_t_PROFILE_QOS_POLICY_ID</dref> 
  1167.  
  1168.    LOCATORFILTER_QOS_POLICY_ID : constant QosPolicyId_T := 1028; 
  1169.    --  <dref>QosPolicyId_t_LOCATORFILTER_QOS_POLICY_ID</dref> 
  1170.  
  1171.    MULTICHANNEL_QOS_POLICY_ID : constant QosPolicyId_T := 1029; 
  1172.    --  <dref>QosPolicyId_t_MULTICHANNEL_QOS_POLICY_ID</dref> 
  1173.  
  1174.    TRANSPORTENCAPSULATION_QOS_POLICY_ID : constant QosPolicyId_T := 1030; 
  1175.    --  <dref internal="true"></dref> 
  1176.  
  1177.    PUBLISHERPROTOCOL_QOS_POLICY_ID : constant QosPolicyId_T := 1031; 
  1178.    --  <dref internal="true"></dref> 
  1179.  
  1180.    SUBSCRIBERPROTOCOL_QOS_POLICY_ID : constant QosPolicyId_T := 1032; 
  1181.    --  <dref internal="true"></dref> 
  1182.  
  1183.    TOPICPROTOCOL_QOS_POLICY_ID : constant QosPolicyId_T := 1033; 
  1184.    --  <dref internal="true"></dref> 
  1185.  
  1186.    DOMAINPARTICIPANTPROTOCOL_QOS_POLICY_ID : constant QosPolicyId_T := 1034; 
  1187.    --  <dref internal="true"></dref> 
  1188.  
  1189.    AVAILABILITY_QOS_POLICY_ID : constant QosPolicyId_T := 1035; 
  1190.    --  <dref>QosPolicyId_t_AVAILABILITY_QOS_POLICY_ID</dref> 
  1191.  
  1192.    TRANSPORTMULTICASTMAPPING_QOS_POLICY_ID : constant QosPolicyId_T := 1036; 
  1193.    --  QosPolicyId_t_TRANSPORTMULTICASTMAPPING_QOS_POLICY_ID -- documentation removed in ifdoc 
  1194.  
  1195.    LOGGING_QOS_POLICY_ID : constant QosPolicyId_T := 1037; 
  1196.    --  <dref>QosPolicyId_t_LOGGING_QOS_POLICY_ID</dref> 
  1197.  
  1198.    type QosPolicyCount is record 
  1199.       Policy_Id : aliased QosPolicyId_T := INVALID_QOS_POLICY_ID; 
  1200.       Count     : aliased Long := 0; 
  1201.    end record with 
  1202.      Convention => C; 
  1203.    --  <dref>QosPolicyCount</dref> 
  1204.    --  <dref name="Policy_Id">QosPolicyCount_policy_id</dref> 
  1205.    --  <dref name="Count">QosPolicyCount_count</dref> 
  1206.  
  1207.    type QosPolicyCount_Access is access all QosPolicyCount; 
  1208.  
  1209.    type QosPolicyCount_Array is array (Natural range <>) of aliased QosPolicyCount; 
  1210.    procedure Initialize (Self  : in out QosPolicyCount); 
  1211.    procedure Finalize (Self  : in out QosPolicyCount); 
  1212.    procedure Copy (Dst : in out QosPolicyCount; Src : in QosPolicyCount); 
  1213.  
  1214.    package QosPolicyCount_Seq is new DDS_Support.Sequences_Generic 
  1215.      (QosPolicyCount, 
  1216.       QosPolicyCount_Access, 
  1217.       DDS.Natural, 
  1218.       1, 
  1219.       QosPolicyCount_Array); 
  1220.    --  <dref>QosPolicyCountSeq</dref> 
  1221.  
  1222.    --  ------------------------------------------------- 
  1223.    --                 Entity Types 
  1224.    --  ------------------------------------------------- 
  1225.  
  1226.    type EntityKind_T is (UNKNOWN_ENTITY_KIND, 
  1227.                          PARTICIPANT_ENTITY_KIND, 
  1228.                          PUBLISHER_ENTITY_KIND, 
  1229.                          SUBSCRIBER_ENTITY_KIND, 
  1230.                          TOPIC_ENTITY_KIND, 
  1231.                          DATAREADER_ENTITY_KIND, 
  1232.                          DATAWRITER_ENTITY_KIND); 
  1233.    pragma Annotate (EntityKind_T, Source, RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_EntityKind_t); 
  1234.  
  1235.    --  ------------------------------------------------- 
  1236.    --                 USER_DATA 
  1237.    --  ------------------------------------------------- 
  1238.  
  1239.    USERDATA_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("UserData"); 
  1240.    --  <defgroup>UserDataQosGroupDocs</defgroup> 
  1241.    --  <dref>USERDATA_QOS_POLICY_NAME</dref> 
  1242.  
  1243.    type UserDataQosPolicy is limited record 
  1244.       Value : aliased Octet_Seq.Sequence; 
  1245.    end record with 
  1246.      Convention => C; 
  1247.    --  <dref>UserDataQosPolicy</dref> 
  1248.    --  <dref name="Value">UserDataQosPolicy_value</dref> 
  1249.  
  1250.    --     USER_DATA_QOS_POLICY_DEFAULT : constant UserDataQosPolicy := 
  1251.    --                                      (Value => Octet_Seq.DEFAULT_SEQUENCE); 
  1252.  
  1253.    --  ------------------------------------------------- 
  1254.    --                 TOPIC_DATA 
  1255.    --  ------------------------------------------------- 
  1256.  
  1257.    TOPICDATA_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TopicData"); 
  1258.    --  <defgroup>TopicDataQosGroupDocs</defgroup> 
  1259.    --  <dref>TOPICDATA_QOS_POLICY_NAME</dref> 
  1260.  
  1261.  
  1262.    type TopicDataQosPolicy is limited record 
  1263.       Value : aliased Octet_Seq.Sequence; 
  1264.    end record with 
  1265.      Convention => C; 
  1266.    --  <dref>TopicDataQosPolicy</dref> 
  1267.    --  <dref name="Value">TopicDataQosPolicy_value</dref> 
  1268.  
  1269.    --     TOPIC_DATA_QOS_POLICY_DEFAULT : constant TopicDataQosPolicy := 
  1270.    --                                       (Value => Octet_Seq.DEFAULT_SEQUENCE); 
  1271.  
  1272.    --  ------------------------------------------------- 
  1273.    --                 GROUP_DATA 
  1274.    --  ------------------------------------------------- 
  1275.  
  1276.    GROUPDATA_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("GroupData"); 
  1277.    --  <defgroup>GroupDataQosGroupDocs</defgroup> 
  1278.    --  <dref>GROUPDATA_QOS_POLICY_NAME</dref> 
  1279.  
  1280.    type GroupDataQosPolicy is limited record 
  1281.       Value : aliased Octet_Seq.Sequence; 
  1282.    end record with 
  1283.      Convention => C; 
  1284.    --  <dref>GroupDataQosPolicy</dref> 
  1285.    --  <dref name="Value">GroupDataQosPolicy_value</dref> 
  1286.  
  1287.    --     GROUP_DATA_QOS_POLICY_DEFAULT : constant GroupDataQosPolicy := 
  1288.    --                                       (Value => Octet_Seq.DEFAULT_SEQUENCE); 
  1289.  
  1290.    --  ------------------------------------------------- 
  1291.    --                 TOPIC_PROTOCOL (eXtension QoS) 
  1292.    --  ------------------------------------------------- 
  1293.  
  1294.    TOPICPROTOCOL_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TopicProtocol"); 
  1295.    --  <dref internal="true"></dref> 
  1296.  
  1297.  
  1298.    type TopicProtocolQosPolicy is limited record 
  1299.       Vendor_Specific_Entity : Boolean := False; 
  1300.    end record with 
  1301.      Convention => C; 
  1302.    --  <dref internal="true"></dref> 
  1303.  
  1304.    TOPIC_PROTOCOL_QOS_POLICY_DEFAULT : constant TopicProtocolQosPolicy := 
  1305.                                          (Vendor_Specific_Entity => False); 
  1306.    --  <dref internal="true"></dref> 
  1307.  
  1308.    --  ---------------------------------------------------------- 
  1309.    --                 DOMAIN_PARTICIPANT_PROTOCOL (eXtension QoS) 
  1310.    --  ---------------------------------------------------------- 
  1311.  
  1312.    DOMAINPARTICIPANTPROTOCOL_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("DomainParticipantProtocol"); 
  1313.    --  <dref internal="true"></dref> 
  1314.  
  1315.    type DomainParticipantProtocolQosPolicy is limited record 
  1316.       Vendor_Specific_Entity : Boolean := False; 
  1317.    end record with 
  1318.      Convention => C; 
  1319.    --  <dref internal="true"></dref> 
  1320.  
  1321.    DOMAIN_PARTICIPANT_PROTOCOL_QOS_POLICY_DEFAULT : constant DomainParticipantProtocolQosPolicy := 
  1322.                                                       (Vendor_Specific_Entity => False); 
  1323.    --  <dref internal="true"></dref> 
  1324.  
  1325.    --  ------------------------------------------------- 
  1326.    --                 DURABILITY 
  1327.    --  ------------------------------------------------- 
  1328.  
  1329.    DURABILITY_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("Durability"); 
  1330.    --  <defgroup>DurabilityQosGroupDocs</defgroup> 
  1331.    --  <dref>DURABILITY_QOS_POLICY_NAME</dref> 
  1332.  
  1333.    type DurabilityQosPolicyKind is new Unsigned_Long; 
  1334.    --  <dref>DurabilityQosPolicyKind</dref> 
  1335.  
  1336.    VOLATILE_DURABILITY_QOS : constant DurabilityQosPolicyKind := 0; 
  1337.    --  <dref>DurabilityQosPolicyKind_VOLATILE_DURABILITY_QOS</dref> 
  1338.  
  1339.    TRANSIENT_LOCAL_DURABILITY_QOS : constant DurabilityQosPolicyKind := 1; 
  1340.    --  <dref>DurabilityQosPolicyKind_TRANSIENT_LOCAL_DURABILITY_QOS</dref> 
  1341.  
  1342.    TRANSIENT_DURABILITY_QOS : constant DurabilityQosPolicyKind := 2; 
  1343.    --  <dref>DurabilityQosPolicyKind_TRANSIENT_DURABILITY_QOS</dref> 
  1344.  
  1345.    PERSISTENT_DURABILITY_QOS : constant DurabilityQosPolicyKind := 3; 
  1346.    --  <dref>DurabilityQosPolicyKind_PERSISTENT_DURABILITY_QOS</dref> 
  1347.  
  1348.    type DurabilityQosPolicy is record 
  1349.       Kind                 : aliased DurabilityQosPolicyKind := VOLATILE_DURABILITY_QOS; 
  1350.       Direct_Communication : aliased DDS.Boolean := True; 
  1351.    end record with 
  1352.      Convention => C; 
  1353.    --  <dref>DurabilityQosPolicy</dref> 
  1354.    --  <dref name="Kind">DurabilityQosPolicy_kind</dref> 
  1355.    --  <dref name="Direct_Communication">DurabilityQosPolicy_direct_communication</dref> 
  1356.  
  1357.  
  1358.    DURABILITY_QOS_POLICY_DEFAULT : constant DurabilityQosPolicy := 
  1359.                                      (Kind                 => VOLATILE_DURABILITY_QOS, 
  1360.                                       Direct_Communication => True); 
  1361.    --  <dref internal="true"></dref> 
  1362.  
  1363.    --  ------------------------------------------------- 
  1364.    --                 PRESENTATION 
  1365.    --  ------------------------------------------------- 
  1366.  
  1367.    PRESENTATION_QOS_POLICY_NAME  : constant DDS.String := To_DDS_String ("Presentation"); 
  1368.    --  <defgroup>PresentationQosGroupDocs</defgroup> 
  1369.    --  <dref>PRESENTATION_QOS_POLICY_NAME</dref> 
  1370.  
  1371.    type PresentationQosPolicyAccessScopeKind is new Unsigned_Long; 
  1372.    --  <dref>PresentationQosPolicyAccessScopeKind</dref> 
  1373.  
  1374.    INSTANCE_PRESENTATION_QOS : constant PresentationQosPolicyAccessScopeKind := 0; 
  1375.    --  <dref>PresentationQosPolicyAccessScopeKind_INSTANCE_PRESENTATION_QOS</dref> 
  1376.  
  1377.    TOPIC_PRESENTATION_QOS : constant PresentationQosPolicyAccessScopeKind := 1; 
  1378.    --  <dref>PresentationQosPolicyAccessScopeKind_TOPIC_PRESENTATION_QOS</dref> 
  1379.  
  1380.    GROUP_PRESENTATION_QOS : constant PresentationQosPolicyAccessScopeKind := 2; 
  1381.    --  <dref>PresentationQosPolicyAccessScopeKind_GROUP_PRESENTATION_QOS</dref> 
  1382.  
  1383.    HIGHEST_OFFERED_PRESENTATION_QOS : constant PresentationQosPolicyAccessScopeKind := 3; 
  1384.    --  <dref>PresentationQosPolicyAccessScopeKind_HIGHEST_OFFERED_PRESENTATION_QOS</dref> 
  1385.  
  1386.    type PresentationQosPolicy  is record 
  1387.       Access_Scope    : aliased PresentationQosPolicyAccessScopeKind := INSTANCE_PRESENTATION_QOS; 
  1388.       Coherent_Access : aliased DDS.Boolean := False; 
  1389.       Ordered_Access  : aliased DDS.Boolean := False; 
  1390.    end record with 
  1391.      Convention => C; 
  1392.    --  <dref>PresentationQosPolicy</dref> 
  1393.    --  <dref name="Access_Scope">PresentationQosPolicy_access_scope</dref> 
  1394.    --  <dref name="Coherent_Access">PresentationQosPolicy_coherent_access</dref> 
  1395.    --  <dref name="Ordered_Access">PresentationQosPolicy_ordered_access</dref> 
  1396.  
  1397.  
  1398.    PRESENTATION_QOS_POLICY_DEFAULT : constant PresentationQosPolicy := 
  1399.                                        (INSTANCE_PRESENTATION_QOS, 
  1400.                                         False, 
  1401.                                         False); 
  1402.    --  <dref internal="true"></dref> 
  1403.  
  1404.    --  ------------------------------------------------- 
  1405.    --                 DEADLINE 
  1406.    --  ------------------------------------------------- 
  1407.  
  1408.    DEADLINE_QOS_POLICY_NAME        : constant DDS.String := To_DDS_String ("Deadline"); 
  1409.    --  <defgroup>DeadlineQosGroupDocs</defgroup> 
  1410.    --  <dref>DEADLINE_QOS_POLICY_NAME</dref> 
  1411.  
  1412.    type DeadlineQosPolicy is record 
  1413.       Period : aliased Duration_T :=  DURATION_INFINITE; 
  1414.    end record with 
  1415.      Convention => C; 
  1416.    --  <dref>DeadlineQosPolicy</dref> 
  1417.    --  <dref name="Period">DeadlineQosPolicy_period</dref> 
  1418.  
  1419.  
  1420.    DEADLINE_QOS_POLICY_DEFAULT : constant DeadlineQosPolicy := 
  1421.                                    (Period => DURATION_INFINITE); 
  1422.    --  <dref internal="true"></dref> 
  1423.  
  1424.    --  ------------------------------------------------- 
  1425.    --                 LATENCY_BUDGET 
  1426.    --  ------------------------------------------------- 
  1427.  
  1428.    LATENCYBUDGET_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("LatencyBudget"); 
  1429.    --  <defgroup>LatencyBudgetQosGroupDocs</defgroup> 
  1430.    --  <dref>LATENCYBUDGET_QOS_POLICY_NAME</dref> 
  1431.  
  1432.    type LatencyBudgetQosPolicy is record 
  1433.       Duration : aliased Duration_T := DURATION_ZERO; 
  1434.    end record with 
  1435.      Convention => C; 
  1436.    --  <dref>LatencyBudgetQosPolicy</dref> 
  1437.    --  <dref name="Duration">LatencyBudgetQosPolicy_duration</dref> 
  1438.  
  1439.  
  1440.    LATENCY_BUDGET_QOS_POLICY_DEFAULT : constant LatencyBudgetQosPolicy := 
  1441.                                          (Duration => DURATION_ZERO); 
  1442.    --  <dref internal="true"></dref> 
  1443.  
  1444.    --  ------------------------------------------------- 
  1445.    --                 OWNERSHIP 
  1446.    --  ------------------------------------------------- 
  1447.  
  1448.    OWNERSHIP_QOS_POLICY_NAME         : constant DDS.String := To_DDS_String ("Ownership"); 
  1449.    --  <defgroup>OwnershipQosGroupDocs</defgroup> 
  1450.    --  <dref>OWNERSHIP_QOS_POLICY_NAME</dref> 
  1451.  
  1452.    type OwnershipQosPolicyKind is new Unsigned_Long; 
  1453.    --  <dref>OwnershipQosPolicyKind</dref> 
  1454.  
  1455.    SHARED_OWNERSHIP_QOS : constant OwnershipQosPolicyKind := 0; 
  1456.    --  <dref>OwnershipQosPolicyKind_SHARED_OWNERSHIP_QOS</dref> 
  1457.  
  1458.    EXCLUSIVE_OWNERSHIP_QOS : constant OwnershipQosPolicyKind := 1; 
  1459.    --  <dref>OwnershipQosPolicyKind_EXCLUSIVE_OWNERSHIP_QOS</dref> 
  1460.  
  1461.    type OwnershipQosPolicy is record 
  1462.       Kind : aliased OwnershipQosPolicyKind := SHARED_OWNERSHIP_QOS; 
  1463.    end record with 
  1464.      Convention => C; 
  1465.    --  <dref>OwnershipQosPolicy</dref> 
  1466.    --  <dref name="Kind">OwnershipQosPolicy_kind</dref> 
  1467.  
  1468.  
  1469.    OWNERSHIP_QOS_POLICY_DEFAULT : constant OwnershipQosPolicy := 
  1470.                                     (Kind => SHARED_OWNERSHIP_QOS); 
  1471.    --  <dref internal="true"></dref> 
  1472.  
  1473.    --  ------------------------------------------------- 
  1474.    --                 OWNERSHIP_STRENGTH 
  1475.    --  ------------------------------------------------- 
  1476.  
  1477.    OWNERSHIPSTRENGTH_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("OwnershipStrength"); 
  1478.    --  <defgroup>OwnershipStrengthQosGroupDocs</defgroup> 
  1479.    --  <dref>OWNERSHIPSTRENGTH_QOS_POLICY_NAME</dref> 
  1480.  
  1481.    type OwnershipStrengthQosPolicy is record 
  1482.       Value : aliased Long := 0; 
  1483.    end record with 
  1484.      Convention => C; 
  1485.    --  <dref>OwnershipStrengthQosPolicy</dref> 
  1486.    --  <dref name="Value">OwnershipStrengthQosPolicy_value</dref> 
  1487.  
  1488.  
  1489.    OWNERSHIP_STRENGTH_QOS_POLICY_DEFAULT : constant OwnershipStrengthQosPolicy := 
  1490.                                              (Value => 0); 
  1491.    --  <dref internal="true"></dref> 
  1492.  
  1493.    --  ------------------------------------------------- 
  1494.    --                 LIVELINESS 
  1495.    --  ------------------------------------------------- 
  1496.  
  1497.    LIVELINESS_QOS_POLICY_NAME            : constant DDS.String := To_DDS_String ("Liveliness"); 
  1498.    --  <defgroup>LivelinessQosGroupDocs</defgroup> 
  1499.    --  <dref>LIVELINESS_QOS_POLICY_NAME</dref> 
  1500.  
  1501.    type LivelinessQosPolicyKind is new Unsigned_Long; 
  1502.    --  <dref>LivelinessQosPolicyKind</dref> 
  1503.  
  1504.    AUTOMATIC_LIVELINESS_QOS : constant LivelinessQosPolicyKind := 0; 
  1505.    --  <dref>LivelinessQosPolicyKind_AUTOMATIC_LIVELINESS_QOS</dref> 
  1506.  
  1507.    MANUAL_BY_PARTICIPANT_LIVELINESS_QOS : constant LivelinessQosPolicyKind := 1; 
  1508.    --  <dref>LivelinessQosPolicyKind_MANUAL_BY_PARTICIPANT_LIVELINESS_QOS</dref> 
  1509.  
  1510.    MANUAL_BY_TOPIC_LIVELINESS_QOS : constant LivelinessQosPolicyKind := 2; 
  1511.    --  <dref>LivelinessQosPolicyKind_MANUAL_BY_TOPIC_LIVELINESS_QOS</dref> 
  1512.  
  1513.    type LivelinessQosPolicy is record 
  1514.       Kind                          : aliased LivelinessQosPolicyKind := AUTOMATIC_LIVELINESS_QOS; 
  1515.       Lease_Duration                : aliased Duration_T := DURATION_INFINITE; 
  1516.       Assertions_Per_Lease_Duration : aliased Long := 3; 
  1517.    end record with 
  1518.      Convention => C; 
  1519.    --  <dref>LivelinessQosPolicy</dref> 
  1520.    --  <dref name="Kind">LivelinessQosPolicy_kind</dref> 
  1521.    --  <dref name="Lease_Duration">LivelinessQosPolicy_lease_duration</dref> 
  1522.    --  <dref name="Assertions_Per_Lease_Duration">LivelinessQosPolicy_assertions_per_lease_duration</dref> 
  1523.  
  1524.  
  1525.    LIVELINESS_QOS_POLICY_DEFAULT : constant LivelinessQosPolicy := 
  1526.                                      (Kind                          => AUTOMATIC_LIVELINESS_QOS, 
  1527.                                       Lease_Duration                => DURATION_INFINITE, 
  1528.                                       Assertions_Per_Lease_Duration => 3); 
  1529.    --  <dref internal="true"></dref> 
  1530.  
  1531.    --  ------------------------------------------------- 
  1532.    --                 TIME_BASED_FILTER 
  1533.    --  ------------------------------------------------- 
  1534.  
  1535.    TIMEBASEDFILTER_QOS_POLICY_NAME : constant DDS.String  := To_DDS_String ("TimeBasedFilter"); 
  1536.    --  <defgroup>TimeBasedFilterQosGroupDocs</defgroup> 
  1537.    --  <dref>TIMEBASEDFILTER_QOS_POLICY_NAME</dref> 
  1538.  
  1539.    type TimeBasedFilterQosPolicy is record 
  1540.       Minimum_Separation : aliased Duration_T :=  DURATION_ZERO; 
  1541.    end record with 
  1542.      Convention => C; 
  1543.    --  <dref>TimeBasedFilterQosPolicy</dref> 
  1544.    --  <dref name="Minimum_Separation">TimeBasedFilterQosPolicy_minimum_separation</dref> 
  1545.  
  1546.    TIME_BASED_FILTER_QOS_POLICY_DEFAULT : constant  TimeBasedFilterQosPolicy := 
  1547.                                             (Minimum_Separation => DURATION_ZERO); 
  1548.    --  <dref internal="true"></dref> 
  1549.  
  1550.    --  ------------------------------------------------- 
  1551.    --                 PARTITION 
  1552.    --  ------------------------------------------------- 
  1553.  
  1554.    PARTITION_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("Partition"); 
  1555.    --  <defgroup>PartitionQosGroupDocs</defgroup> 
  1556.    --  <dref>PARTITION_QOS_POLICY_NAME</dref> 
  1557.  
  1558.    type PartitionQosPolicy is record 
  1559.       Name : aliased String_Seq.Sequence; 
  1560.    end record with 
  1561.      Convention => C; 
  1562.    --  <dref>PartitionQosPolicy</dref> 
  1563.    --  <dref name="Name">PartitionQosPolicy_name</dref> 
  1564.  
  1565.    --     PARTITION_QOS_POLICY_DEFAULT : constant PartitionQosPolicy := 
  1566.    --                                      (Name => String_Seq.DEFAULT_SEQUENCE); 
  1567.  
  1568.    --  ------------------------------------------------- 
  1569.    --                 RELIABILITY 
  1570.    --  ------------------------------------------------- 
  1571.  
  1572.    RELIABILITY_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("Reliability"); 
  1573.    --  <defgroup>ReliabilityQosGroupDocs</defgroup> 
  1574.    --  <dref>RELIABILITY_QOS_POLICY_NAME</dref> 
  1575.  
  1576.    type ReliabilityQosPolicyKind is new Unsigned_Long; 
  1577.    --  <dref>ReliabilityQosPolicyKind</dref> 
  1578.  
  1579.    BEST_EFFORT_RELIABILITY_QOS : constant ReliabilityQosPolicyKind := 0; 
  1580.    --  <dref>ReliabilityQosPolicyKind_BEST_EFFORT_RELIABILITY_QOS</dref> 
  1581.  
  1582.    RELIABLE_RELIABILITY_QOS : constant ReliabilityQosPolicyKind := 1; 
  1583.    --  <dref>ReliabilityQosPolicyKind_RELIABLE_RELIABILITY_QOS</dref> 
  1584.  
  1585.    type ReliabilityQosPolicyAcknowledgmentModeKind is new Unsigned_Long; 
  1586.    --  <dref>ReliabilityQosPolicyAcknowledgmentModeKind</dref> 
  1587.  
  1588.    PROTOCOL_ACKNOWLEDGMENT_MODE : constant ReliabilityQosPolicyAcknowledgmentModeKind := 0; 
  1589.    --  <dref>ReliabilityQosPolicyAcknowledgmentModeKind_PROTOCOL_ACKNOWLEDGMENT_MODE</dref> 
  1590.  
  1591.    APPICATION_AUTO_ACKNOWLEDGMENT_MODE : constant ReliabilityQosPolicyAcknowledgmentModeKind := 1; 
  1592.    --  <dref>ReliabilityQosPolicyAcknowledgmentModeKind_APPLICATION_AUTO_ACKNOWLEDGMENT_MODE</dref> 
  1593.  
  1594.    APPICATION_ORDERED_ACKNOWLEDGMENT_MODE : constant ReliabilityQosPolicyAcknowledgmentModeKind := 2; 
  1595.    --  <dref>ReliabilityQosPolicyAcknowledgmentModeKind_APPLICATION_ORDERED_ACKNOWLEDGMENT_MODE</dref> 
  1596.  
  1597.    APPICATION_EXPLICIT_ACKNOWLEDGMENT_MODE : constant ReliabilityQosPolicyAcknowledgmentModeKind := 3; 
  1598.    --  <dref>ReliabilityQosPolicyAcknowledgmentModeKind_APPLICATION_EXPLICIT_ACKNOWLEDGMENT_MODE</dref> 
  1599.  
  1600.    type ReliabilityQosPolicy is record 
  1601.       Kind                : aliased ReliabilityQosPolicyKind := BEST_EFFORT_RELIABILITY_QOS; 
  1602.       Max_Blocking_Time   : aliased Duration_T := (0, 100_000_000); 
  1603.       Acknowledgment_Kind : aliased ReliabilityQosPolicyAcknowledgmentModeKind := PROTOCOL_ACKNOWLEDGMENT_MODE; 
  1604.    end record with 
  1605.      Convention => C; 
  1606.    --  <dref>ReliabilityQosPolicy</dref> 
  1607.    --  <dref name="Kind">ReliabilityQosPolicy_kind</dref> 
  1608.    --  <dref name="Max_Blocking_Time">ReliabilityQosPolicy_max_blocking_time</dref> 
  1609.    --  <dref name="Acknowledgment_Kind">ReliabilityQosPolicy_acknowledgment_kind</dref> 
  1610.  
  1611.    RELIABILITY_QOS_POLICY_DEFAULT : constant ReliabilityQosPolicy := 
  1612.                                       (BEST_EFFORT_RELIABILITY_QOS, (0, 100_000_000), PROTOCOL_ACKNOWLEDGMENT_MODE); 
  1613.    --  <dref internal="true"></dref> 
  1614.  
  1615.    --  ------------------------------------------------- 
  1616.    --                 DESTINATION_ORDER 
  1617.    --  ------------------------------------------------- 
  1618.  
  1619.    DESTINATIONORDER_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("DestinationOrder"); 
  1620.    --  <defgroup>DestinationOrderQosGroupDocs</defgroup> 
  1621.    --  <dref>DESTINATIONORDER_QOS_POLICY_NAME</dref> 
  1622.  
  1623.    type DestinationOrderQosPolicyKind is new Unsigned_Long; 
  1624.    --  <dref>DestinationOrderQosPolicyKind</dref> 
  1625.  
  1626.    BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS : constant DestinationOrderQosPolicyKind := 0; 
  1627.    --  <dref>DestinationOrderQosPolicyKind_BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS</dref> 
  1628.  
  1629.    BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS : constant DestinationOrderQosPolicyKind := 1; 
  1630.    --  <dref>DestinationOrderQosPolicyKind_BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS</dref> 
  1631.  
  1632.    type DestinationOrderQosPolicyScopeKind is new Unsigned_Long; 
  1633.    --  <dref internal="true">DestinationOrderQosPolicyScopeKind</dref> 
  1634.  
  1635.    INSTANCE_SCOPE_DESTINATIONORDER_QOS : constant DestinationOrderQosPolicyScopeKind := 0; 
  1636.    --  <dref internal="true">DestinationOrderQosPolicyScopeKind_INSTANCE_SCOPE_DESTINATIONORDER_QOS</dref> 
  1637.  
  1638.    TOPIC_SCOPE_DESTINATIONORDER_QOS : constant DestinationOrderQosPolicyScopeKind := 1; 
  1639.    --  <dref internal="true">DestinationOrderQosPolicyScopeKind_TOPIC_SCOPE_DESTINATIONORDER_QOS</dref> 
  1640.  
  1641.    type DestinationOrderQosPolicy is record 
  1642.       Kind                       : aliased DestinationOrderQosPolicyKind := BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS; 
  1643.       Scope                      : aliased DestinationOrderQosPolicyScopeKind := INSTANCE_SCOPE_DESTINATIONORDER_QOS; 
  1644.       Source_Timestamp_Tolerance : aliased Duration_T := DURATION_ZERO; 
  1645.    end record; 
  1646.    --  <dref>DestinationOrderQosPolicy</dref> 
  1647.    --  <dref name="Kind">DestinationOrderQosPolicy_kind</dref> 
  1648.    --  <dref internal="true" name="Scope">DestinationOrderQosPolicy_scope</dref> 
  1649.    --  <dref name="source_timestamp_tolerance">DestinationOrderQosPolicy_source_timestamp_tolerance</dref> 
  1650.  
  1651.    pragma Convention (C, DestinationOrderQosPolicy); 
  1652.  
  1653.    DESTINATION_ORDER_QOS_POLICY_DEFAULT : constant DestinationOrderQosPolicy := 
  1654.                                             (BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS, 
  1655.                                              INSTANCE_SCOPE_DESTINATIONORDER_QOS, 
  1656.                                              DURATION_ZERO); 
  1657.    --  <dref internal="true"></dref> 
  1658.  
  1659.    --  ------------------------------------------------- 
  1660.    --                 HISTORY 
  1661.    --  ------------------------------------------------- 
  1662.  
  1663.    HISTORY_QOS_POLICY_NAME              : constant DDS.String := To_DDS_String ("History"); 
  1664.    --  <defgroup>HistoryQosGroupDocs</defgroup> 
  1665.    --  <dref>HISTORY_QOS_POLICY_NAME</dref> 
  1666.  
  1667.    type HistoryQosPolicyKind is new Unsigned_Long; 
  1668.    --  <dref>HistoryQosPolicyKind</dref> 
  1669.  
  1670.    KEEP_LAST_HISTORY_QOS                : constant HistoryQosPolicyKind := 0; 
  1671.    --  <dref>HistoryQosPolicyKind_KEEP_LAST_HISTORY_QOS</dref> 
  1672.  
  1673.    KEEP_ALL_HISTORY_QOS                 : constant HistoryQosPolicyKind := 1; 
  1674.    --  <dref>HistoryQosPolicyKind_KEEP_ALL_HISTORY_QOS</dref> 
  1675.  
  1676.    type RefilterQosPolicyKind is new Unsigned_Long; 
  1677.    --  <dref>RefilterQosPolicyKind</dref> 
  1678.  
  1679.    NONE_REFILTER_QOS                    : constant RefilterQosPolicyKind := 0; 
  1680.    --  <dref>RefilterQosPolicyKind_NONE_REFILTER_QOS</dref> 
  1681.  
  1682.    ALL_REFILTER_QOS                     : constant RefilterQosPolicyKind := 1; 
  1683.    --  <dref>RefilterQosPolicyKind_ALL_REFILTER_QOS</dref> 
  1684.  
  1685.    ON_DEMAND_REFILTER_QOS               : constant RefilterQosPolicyKind := 2; 
  1686.    --  <dref>RefilterQosPolicyKind_ON_DEMAND_REFILTER_QOS</dref> 
  1687.  
  1688.    type HistoryQosPolicy is record 
  1689.       Kind     : aliased HistoryQosPolicyKind := KEEP_LAST_HISTORY_QOS; 
  1690.       Depth    : aliased Long := 1; 
  1691.       Refilter : aliased RefilterQosPolicyKind := NONE_REFILTER_QOS; 
  1692.    end record with 
  1693.      Convention => C; 
  1694.    --  <dref>HistoryQosPolicy</dref> 
  1695.    --  <dref name="Kind">HistoryQosPolicy_kind</dref> 
  1696.    --  <dref name="Depth">HistoryQosPolicy_depth</dref> 
  1697.    --  <dref name="Refilter">HistoryQosPolicy_refilter</dref> 
  1698.  
  1699.    HISTORY_QOS_POLICY_DEFAULT           : constant HistoryQosPolicy := 
  1700.                                             (KEEP_LAST_HISTORY_QOS, 
  1701.                                              1, 
  1702.                                              NONE_REFILTER_QOS); 
  1703.    --  <dref internal="true"></dref> 
  1704.  
  1705.    --  ------------------------------------------------- 
  1706.    --                 LENGTH_UNLIMITED 
  1707.    --  ------------------------------------------------- 
  1708.  
  1709.    LENGTH_UNLIMITED                     : constant Long  := -1; 
  1710.    --  <dref>LENGTH_UNLIMITED</dref> 
  1711.  
  1712.    --  ------------------------------------------------- 
  1713.    --                 DURABILITY_SERVICE 
  1714.    --  ------------------------------------------------- 
  1715.  
  1716.    DURABILITYSERVICE_QOS_POLICY_NAME    : constant DDS.String := To_DDS_String ("DurabilityService"); 
  1717.    --  <defgroup>DurabilityServiceQosGroupDocs</defgroup> 
  1718.    --  <dref>DURABILITY_QOS_POLICY_NAME</dref> 
  1719.  
  1720.    type DurabilityServiceQosPolicy is record 
  1721.       Service_Cleanup_Delay    : aliased Duration_T := DURATION_ZERO; 
  1722.       History_Kind             : aliased HistoryQosPolicyKind := KEEP_LAST_HISTORY_QOS; 
  1723.       History_Depth            : aliased Long := 1; 
  1724.       Max_Samples              : aliased Long := LENGTH_UNLIMITED; 
  1725.       Max_Instances            : aliased Long := LENGTH_UNLIMITED; 
  1726.       Max_Samples_Per_Instance : aliased Long := LENGTH_UNLIMITED; 
  1727.    end record with 
  1728.      Convention => C; 
  1729.    --  <dref>DurabilityServiceQosPolicy</dref> 
  1730.    --  <dref name="Service_Cleanup_Delay">DurabilityServiceQosPolicy_service_cleanup_delay</dref> 
  1731.    --  <dref name="History_Kind">DurabilityServiceQosPolicy_history_kind</dref> 
  1732.    --  <dref name="History_Depth">DurabilityServiceQosPolicy_history_depth</dref> 
  1733.    --  <dref name="Max_Samples">DurabilityServiceQosPolicy_max_samples</dref> 
  1734.    --  <dref name="Max_Instances">DurabilityServiceQosPolicy_max_instances</dref> 
  1735.    --  <dref name="Max_Samples_Per_Instance">DurabilityServiceQosPolicy_max_samples_per_instance</dref> 
  1736.  
  1737.  
  1738.    DURABILITY_SERVICE_QOS_POLICY_DEFAULT : constant DurabilityServiceQosPolicy := 
  1739.                                              (DURATION_ZERO, 
  1740.                                               KEEP_LAST_HISTORY_QOS, 
  1741.                                               1, 
  1742.                                               LENGTH_UNLIMITED, 
  1743.                                               LENGTH_UNLIMITED, 
  1744.                                               LENGTH_UNLIMITED); 
  1745.    --  <dref internal="true"></dref> 
  1746.  
  1747.    --  ------------------------------------------------- 
  1748.    --                 RESOURCE_LIMITS 
  1749.    --  ------------------------------------------------- 
  1750.  
  1751.    RESOURCELIMITS_QOS_POLICY_NAME        : constant DDS.String := To_DDS_String ("ResourceLimits"); 
  1752.    --  <defgroup>ResourceLimitsQosGroupDocs</defgroup> 
  1753.    --  <dref>RESOURCELIMITS_QOS_POLICY_NAME</dref> 
  1754.  
  1755.    type ResourceLimitsQosPolicy is record 
  1756.       Max_Samples              : aliased Long := LENGTH_UNLIMITED; 
  1757.       Max_Instances            : aliased Long := LENGTH_UNLIMITED; 
  1758.       Max_Samples_Per_Instance : aliased Long := LENGTH_UNLIMITED; 
  1759.       Initial_Samples          : aliased Long := 32; 
  1760.       Initial_Instances        : aliased Long := 32; 
  1761.       Instance_Hash_Buckets    : aliased Long := 32; 
  1762.    end record; 
  1763.    --  <dref>ResourceLimitsQosPolicy</dref> 
  1764.    --  <dref name="Max_Samples">ResourceLimitsQosPolicy_max_samples</dref> 
  1765.    --  <dref name="Max_Instances">ResourceLimitsQosPolicy_max_instances</dref> 
  1766.    --  <dref name="Max_Samples_Per_Instance">ResourceLimitsQosPolicy_max_samples_per_instance</dref> 
  1767.    --  <dref name="Initial_Samples">ResourceLimitsQosPolicy_initial_samples</dref> 
  1768.    --  <dref name="Initial_Instances">ResourceLimitsQosPolicy_initial_instances</dref> 
  1769.    --  <dref name="Instance_Hash_Buckets">ResourceLimitsQosPolicy_instance_hash_buckets</dref> 
  1770.  
  1771.    pragma Convention (C, ResourceLimitsQosPolicy); 
  1772.  
  1773.    RESOURCE_LIMITS_QOS_POLICY_DEFAULT : constant ResourceLimitsQosPolicy := 
  1774.                                           (LENGTH_UNLIMITED, 
  1775.                                            LENGTH_UNLIMITED, 
  1776.                                            LENGTH_UNLIMITED, 
  1777.                                            32, 
  1778.                                            32, 
  1779.                                            32); 
  1780.    --  <dref internal="true"></dref> 
  1781.  
  1782.    --  ------------------------------------------------- 
  1783.    --                 TRANSPORT_PRIORITY 
  1784.    --  ------------------------------------------------- 
  1785.  
  1786.    TRANSPORTPRIORITY_QOS_POLICY_NAME  : constant DDS.String := To_DDS_String ("TransportPriority"); 
  1787.    --  <defgroup>TransportPriorityQosGroupDocs</defgroup> 
  1788.    --  <dref>TRANSPORTPRIORITY_QOS_POLICY_NAME</dref> 
  1789.  
  1790.    type TransportPriorityQosPolicy is record 
  1791.       Value : aliased Long := 0; 
  1792.    end record with 
  1793.      Convention => C; 
  1794.    --  <dref>TransportPriorityQosPolicy</dref> 
  1795.    --  <dref name="Value">TransportPriorityQosPolicy_value</dref> 
  1796.  
  1797.    TRANSPORT_PRIORITY_QOS_POLICY_DEFAULT : constant TransportPriorityQosPolicy := 
  1798.                                              (Value => 0); 
  1799.    --  <dref internal="true"></dref> 
  1800.  
  1801.    --  ------------------------------------------------- 
  1802.    --                 LIFESPAN 
  1803.    --  ------------------------------------------------- 
  1804.  
  1805.    LIFESPAN_QOS_POLICY_NAME              : constant DDS.String := To_DDS_String ("Lifespan"); 
  1806.    --  <defgroup>LifespanQosGroupDocs</defgroup> 
  1807.    --  <dref>LIFESPAN_QOS_POLICY_NAME</dref> 
  1808.  
  1809.    type LifespanQosPolicy is record 
  1810.       Duration : aliased Duration_T := DURATION_INFINITE; 
  1811.    end record with 
  1812.      Convention => C; 
  1813.    --  <dref>LifespanQosPolicy</dref> 
  1814.    --  <dref name="Duration">LifespanQosPolicy_duration</dref> 
  1815.  
  1816.  
  1817.    LIFESPAN_QOS_POLICY_DEFAULT        : constant LifespanQosPolicy := 
  1818.                                           (Duration => DURATION_INFINITE); 
  1819.    --  <dref internal="true"></dref> 
  1820.  
  1821.    --  ------------------------------------------------- 
  1822.    --                 WRITER_DATA_LIFECYCLE 
  1823.    --  ------------------------------------------------- 
  1824.  
  1825.    WRITERDATALIFECYCLE_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("WriterDataLifecycle"); 
  1826.    --  <defgroup>WriterDataLifecycleQosGroupDocs</defgroup> 
  1827.    --  <dref>WRITERDATALIFECYCLE_QOS_POLICY_NAME</dref> 
  1828.  
  1829.    type WriterDataLifecycleQosPolicy is record 
  1830.       Autodispose_Unregistered_Instances     : aliased DDS.Boolean := True; 
  1831.       Autopurge_Unregistered_Instances_Delay : aliased DDS.Duration_T := DURATION_INFINITE; 
  1832.       Autopurge_Disposed_Instances_Delay     : aliased DDS.Duration_T := DURATION_INFINITE; 
  1833.    end record with 
  1834.      Convention => C; 
  1835.    --  <dref>WriterDataLifecycleQosPolicy</dref> 
  1836.    --  <dref name="Autodispose_Unregistered_Instances">WriterDataLifecycleQosPolicy_autodispose_unregistered_instances</dref> 
  1837.    --  <dref name="Autopurge_Unregistered_Instances_Delay">WriterDataLifecycleQosPolicy_autopurge_unregistered_instances_delay</dref> 
  1838.    --  <dref name="Autopurge_Disposed_Instances_Delay">WriterDataLifecycleQosPolicy_autopurge_disposed_instances_delay</dref> 
  1839.  
  1840.    WRITER_DATA_LIFECYCLE_QOS_POLICY_DEFAULT : constant WriterDataLifecycleQosPolicy := 
  1841.                                                 (Autodispose_Unregistered_Instances     => True, 
  1842.                                                  Autopurge_Unregistered_Instances_Delay => DURATION_INFINITE, 
  1843.                                                  Autopurge_Disposed_Instances_Delay     => DURATION_INFINITE); 
  1844.    --  <dref internal="true"></dref> 
  1845.  
  1846.    --  ------------------------------------------------- 
  1847.    --                 READER_DATA_LIFECYCLE 
  1848.    --  ------------------------------------------------- 
  1849.  
  1850.    READERDATALIFECYCLE_QOS_POLICY_NAME      : constant DDS.String := To_DDS_String ("ReaderDataLifecycle"); 
  1851.    --  <defgroup>ReaderDataLifecycleQosGroupDocs</defgroup> 
  1852.    --  <dref>READERDATALIFECYCLE_QOS_POLICY_NAME</dref> 
  1853.  
  1854.    type ReaderDataLifecycleQosPolicy is record 
  1855.       Autopurge_Nowriter_Samples_Delay   : aliased Duration_T := DURATION_INFINITE; 
  1856.       Autopurge_Disposed_Samples_Delay   : aliased Duration_T := DURATION_INFINITE; 
  1857.       Autopurge_Disposed_Instances_Delay : aliased Duration_T := DURATION_INFINITE; 
  1858.    end record with 
  1859.      Convention => C; 
  1860.    --  <dref>ReaderDataLifecycleQosPolicy</dref> 
  1861.    --  <dref name="Autopurge_Nowriter_Samples_Delay">ReaderDataLifecycleQosPolicy_autopurge_nowriter_samples_delay</dref> 
  1862.    --  <dref name="Autopurge_Disposed_Samples_Delay">ReaderDataLifecycleQosPolicy_autopurge_disposed_samples_delay</dref> 
  1863.    --  <dref name="Autopurge_Disposed_Instances_Delay">ReaderDataLifecycleQosPolicy_autopurge_disposed_instances_delay</dref> 
  1864.  
  1865.    READER_DATA_LIFECYCLE_QOS_POLICY_DEFAULT : constant ReaderDataLifecycleQosPolicy := 
  1866.                                                 (Autopurge_Nowriter_Samples_Delay   => DURATION_INFINITE, 
  1867.                                                  Autopurge_Disposed_Samples_Delay   => DURATION_INFINITE, 
  1868.                                                  Autopurge_Disposed_Instances_Delay => DURATION_INFINITE); 
  1869.    --  <dref internal="true"></dref> 
  1870.  
  1871.    --  ------------------------------------------------- 
  1872.    --                 ENTITY_FACTORY 
  1873.    --  ------------------------------------------------- 
  1874.  
  1875.    ENTITYFACTORY_QOS_POLICY_NAME            : constant DDS.String := To_DDS_String ("EntityFactory"); 
  1876.    --  <defgroup>EntityFactoryQosGroupDocs</defgroup> 
  1877.    --  <dref>ENTITYFACTORY_QOS_POLICY_NAME</dref> 
  1878.  
  1879.    type EntityFactoryQosPolicy is record 
  1880.       Autoenable_Created_Entities : aliased DDS.Boolean := True; 
  1881.    end record with 
  1882.      Convention => C; 
  1883.    --  <dref>EntityFactoryQosPolicy</dref> 
  1884.    --  <dref name="Autoenable_Created_Entities">EntityFactoryQosPolicy_autoenable_created_entities</dref> 
  1885.  
  1886.    ENTITY_FACTORY_QOS_POLICY_DEFAULT  : constant EntityFactoryQosPolicy := 
  1887.                                           (Autoenable_Created_Entities => True); 
  1888.    --  <dref internal="true"></dref> 
  1889.  
  1890.    --  ------------------------------------------------- 
  1891.    --                 EXTENDED QOS SUPPORT 
  1892.    --  ------------------------------------------------- 
  1893.  
  1894.    --!!! 
  1895.    --!!! RTI DDS Extensions 
  1896.    --!!! 
  1897.  
  1898.    --  ------------------------------------------------- 
  1899.    --                 AllocationSettings_t 
  1900.    --  ------------------------------------------------- 
  1901.  
  1902.    type AllocationSettings_T is record 
  1903.       Initial_Count     : aliased Long := 0; 
  1904.       Max_Count         : aliased Long := 0; 
  1905.       Incremental_Count : aliased Long := 0; 
  1906.    end record with 
  1907.      Convention => C; 
  1908.    --  <defgroup>ExtendedQosSupportGroupDocs</defgroup> 
  1909.    --  <dref>AllocationSettings_t</dref> 
  1910.    --  <dref name="Initial_Count">AllocationSettings_t_initial_count</dref> 
  1911.    --  <dref name="Max_Count">AllocationSettings_t_max_count</dref> 
  1912.    --  <dref name="Incremental_Count">AllocationSettings_t_incremental_count</dref> 
  1913.  
  1914.    type  AllocationSettings_T_Access is access all  AllocationSettings_T; 
  1915.  
  1916.    function "+" (Left, Right : aliased AllocationSettings_T) return AllocationSettings_T; 
  1917.  
  1918.    --  ------------------------------------------------- 
  1919.    --                 RtpsReliableReaderProtocol_t 
  1920.    --  ------------------------------------------------- 
  1921.  
  1922.    type RtpsReliableReaderProtocol_T is record 
  1923.       Min_Heartbeat_Response_Delay       : aliased Duration_T := (0, 0); 
  1924.       Max_Heartbeat_Response_Delay       : aliased Duration_T := (0, 500_000_000); 
  1925.       Heartbeat_Suppression_Duration     : aliased Duration_T := (0, 62_500_000); 
  1926.       Nack_Period                        : aliased Duration_T := (5, 0); 
  1927.       Receive_Window_Size                : aliased Long := 256; 
  1928.       Round_Trip_Time                    : aliased Duration_T := (0, 0); 
  1929.       App_Ack_Period                     : aliased Duration_T := (5, 0); 
  1930.       Min_App_Ack_Response_Keep_Duration : aliased Duration_T := (0, 0); 
  1931.       Samples_Per_App_Ack                : aliased Long := 1; 
  1932.    end record with Convention => C; 
  1933.    --  <dref>RtpsReliableReaderProtocol_t</dref> 
  1934.    --  <dref name="Min_Heartbeat_Response_Delay">RtpsReliableReaderProtocol_t_min_heartbeat_response_delay</dref> 
  1935.    --  <dref name="Max_Heartbeat_response_Delay">RtpsReliableReaderProtocol_t_max_heartbeat_response_delay</dref> 
  1936.    --  <dref name="Heartbeat_Suppression_Duration">RtpsReliableReaderProtocol_t_heartbeat_suppression_duration</dref> 
  1937.    --  <dref name="Nack_Period">RtpsReliableReaderProtocol_t_nack_period</dref> 
  1938.    --  <dref name="Receive_Window_Size">RtpsReliableReaderProtocol_t_receive_window_size</dref> 
  1939.    --  <dref name="Round_Trip_Time">RtpsReliableReaderProtocol_t_round_trip_time</dref> 
  1940.    --  <dref name="App_Ack_Period">RtpsReliableReaderProtocol_t_app_ack_period</dref> 
  1941.    --  <dref name="Min_App_Ack_Response_Keep_Duration">RtpsReliableReaderProtocol_t_min_app_ack_response_keep_duration</dref> 
  1942.    --  <dref name="Samples_Per_App_Ack">RtpsReliableReaderProtocol_t_samples_per_app_ack</dref> 
  1943.  
  1944.    RTPS_RELIABLE_READER_PROTOCOL_DEFAULT : aliased constant RtpsReliableReaderProtocol_T := 
  1945.                                              (Min_Heartbeat_Response_Delay       => (0, 0), 
  1946.                                               Max_Heartbeat_Response_Delay       => (0, 500_000_000), 
  1947.                                               Heartbeat_Suppression_Duration     => (0, 62_500_000), 
  1948.                                               Nack_Period                        => (5, 0), 
  1949.                                               Receive_Window_Size                => 256, 
  1950.                                               Round_Trip_Time                    => (0, 0), 
  1951.                                               App_Ack_Period                     => (5, 0), 
  1952.                                               Min_App_Ack_Response_Keep_Duration => (0, 0), 
  1953.                                               Samples_Per_App_Ack                => 1); 
  1954.    --  <dref internal="true"></dref> 
  1955.  
  1956.    RTPS_RELIABLE_READER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT : 
  1957.    aliased  constant RtpsReliableReaderProtocol_T := (Min_Heartbeat_Response_Delay       => (0, 0), 
  1958.                                                       Max_Heartbeat_Response_Delay       => (0, 0), 
  1959.                                                       Heartbeat_Suppression_Duration     => (0, 62_500_000), 
  1960.                                                       Nack_Period                        => (5, 0), 
  1961.                                                       Receive_Window_Size                => 256, 
  1962.                                                       Round_Trip_Time                    => (0, 0), 
  1963.                                                       App_Ack_Period                     => (5, 0), 
  1964.                                                       Min_App_Ack_Response_Keep_Duration => (0, 0), 
  1965.                                                       Samples_Per_App_Ack                => 1); 
  1966.    --  <dref internal="true"></dref> 
  1967.  
  1968.    RTPS_PARTICIPANT_MESSAGE_READER_DISCOVERY_CONFIG_DEFAULT : 
  1969.    aliased constant RtpsReliableReaderProtocol_T := (Min_Heartbeat_Response_Delay       => (0, 0), 
  1970.                                                      Max_Heartbeat_Response_Delay       => (0, 0), 
  1971.                                                      Heartbeat_Suppression_Duration     => (0, 62_500_000), 
  1972.                                                      Nack_Period                        => (5, 0), 
  1973.                                                      Receive_Window_Size                => 256, 
  1974.                                                      Round_Trip_Time                    => (0, 0), 
  1975.                                                      App_Ack_Period                     => (5, 0), 
  1976.                                                      Min_App_Ack_Response_Keep_Duration => (0, 0), 
  1977.                                                      Samples_Per_App_Ack                => 1); 
  1978.    --  <dref internal="true"></dref> 
  1979.  
  1980.    --  ------------------------------------------------- 
  1981.    --                 RtpsReliableWriterProtocol_t 
  1982.    --  ------------------------------------------------- 
  1983.  
  1984.    type RtpsReliableWriterProtocol_T is record -- RTPS_RELIABLE_WRITER_PROTOCOL_DEFAULT is default 
  1985.       Low_Watermark                                                     : aliased Long := 0; 
  1986.       High_Watermark                                                    : aliased Long := 1; 
  1987.       Heartbeat_Period                                                  : aliased Duration_T := (3, 0); 
  1988.       Fast_Heartbeat_Period                                             : aliased Duration_T := (3, 0); 
  1989.       Late_Joiner_Heartbeat_Period                                      : aliased Duration_T := (3, 0); 
  1990.       Virtual_Heartbeat_Period                                          : aliased Duration_T := DURATION_INFINITE; 
  1991.       Samples_Per_Virtual_Heartbeat                                     : aliased Long := -1; 
  1992.       Max_Heartbeat_Retries                                             : aliased Long := 10; 
  1993.       Inactivate_Nonprogressing_Readers                                 : aliased Boolean := False; 
  1994.       Heartbeats_Per_Max_Samples                                        : aliased Long := 8; 
  1995.       Min_Nack_Response_Delay                                           : aliased Duration_T := (0, 0); 
  1996.       Max_Nack_Response_Delay                                           : aliased Duration_T := (0, 200_000_000); 
  1997.       Nack_Suppression_Duration                                         : aliased Duration_T := (0, 0); 
  1998.       Max_Bytes_Per_Nack_Response                                       : aliased Long := 131072; 
  1999.       Disable_Positive_Acks_Min_Sample_Keep_Duration                    : aliased Duration_T := (0, 1_000_000); 
  2000.       Disable_Positive_Acks_Max_Sample_Keep_Duration                    : aliased Duration_T := (1, 0); 
  2001.       Disable_Positive_Acks_Sample_Min_Separation                       : aliased Duration_T := (0, 1_000_000); 
  2002.       Disable_Positive_Acks_Enable_Adaptive_Sample_Keep_Duration        : aliased Boolean := True; 
  2003.       Disable_Positive_Acks_Enable_Spin_Wait                            : aliased Boolean := False; 
  2004.       Disable_Positive_Acks_Decrease_Sample_Keep_Duration_Factor        : aliased Long := 0; 
  2005.       Disable_Positive_Acks_Increase_Sample_Keep_Duration_Factor        : aliased Long := 3; 
  2006.       Min_Send_Window_Size                                              : aliased Long := 32; 
  2007.       Max_Send_Window_Size                                              : aliased Long := 256; 
  2008.       Send_Window_Update_Period                                         : aliased Duration_T := (3, 0); 
  2009.       Send_Window_Increase_Factor                                       : aliased Long := 105; 
  2010.       Send_Window_Decrease_Factor                                       : aliased Long := 70; 
  2011.       Enable_Multicast_Periodic_Heartbeat                               : aliased Boolean := False; 
  2012.       Multicast_Resend_Threshold                                        : aliased Long := 2; 
  2013.    end record with 
  2014.      Convention => C; 
  2015.    --  <dref>RtpsReliableWriterProtocol_t</dref> 
  2016.    --  <dref name="low_watermark">RtpsReliableWriterProtocol_t_low_watermark</dref> 
  2017.    --  <dref name="high_watermark">RtpsReliableWriterProtocol_t_high_watermark</dref> 
  2018.    --  <dref name="heartbeat_period">RtpsReliableWriterProtocol_t_heartbeat_period</dref> 
  2019.    --  <dref name="fast_heartbeat_period">RtpsReliableWriterProtocol_t_fast_heartbeat_period</dref> 
  2020.    --  <dref name="late_joiner_heartbeat_period">RtpsReliableWriterProtocol_t_late_joiner_heartbeat_period</dref> 
  2021.    --  <dref name="virtual_heartbeat_period">RtpsReliableWriterProtocol_t_virtual_heartbeat_period</dref> 
  2022.    --  <dref name="samples_per_virtual_heartbeat">RtpsReliableWriterProtocol_t_samples_per_virtual_heartbeat</dref> 
  2023.    --  <dref name="max_heartbeat_retries">RtpsReliableWriterProtocol_t_max_heartbeat_retries</dref> 
  2024.    --  <dref name="inactivate_nonprogresing_readers">RtpsReliableWriterProtocol_t_inactivate_nonprogressing_readers</dref> 
  2025.    --  <dref name="heartbeats_per_max_samples">RtpsReliableWriterProtocol_t_heartbeats_per_max_samples</dref> 
  2026.    --  <dref name="min_nack_response_delay">RtpsReliableWriterProtocol_t_min_nack_response_delay</dref> 
  2027.    --  <dref name="max_nack_response_delay">RtpsReliableWriterProtocol_t_max_nack_response_delay</dref> 
  2028.    --  <dref name="nack_suppression_duration">RtpsReliableWriterProtocol_t_nack_suppression_duration</dref> 
  2029.    --  <dref name="max_bytes_per_nack_response">RtpsReliableWriterProtocol_t_max_bytes_per_nack_response</dref> 
  2030.    --  <dref name="disable_positive_acks_min_sample_keep_duration">RtpsReliableWriterProtocol_t_disable_positive_acks_min_sample_keep_duration</dref> 
  2031.    --  <dref name="disable_positive_acks_max_sample_keep_duration">RtpsReliableWriterProtocol_t_disable_positive_acks_max_sample_keep_duration</dref> 
  2032.    --  <dref internal="true" name="disable_positive_acks_sample_min_separation">RtpsReliableWriterProtocol_t_disable_positive_acks_sample_min_separation</dref> 
  2033.    --  <dref name="disable_positive_acks_enable_adaptive_sample_keep_duration">RtpsReliableWriterProtocol_t_disable_positive_acks_enable_adaptive_sample_keep_duration</dref> 
  2034.    --  <dref name="disable_positive_acks_enable_spin_wait">RtpsReliableWriterProtocol_t_disable_positive_acks_enable_spin_wait</dref> 
  2035.    --  <dref name="disable_positive_acks_decrease_sample_keep_duration_factor">RtpsReliableWriterProtocol_t_disable_positive_acks_decrease_sample_keep_duration_factor</dref> 
  2036.    --  <dref name="disable_positive_acks_increase_sample_keep_duration_factor">RtpsReliableWriterProtocol_t_disable_positive_acks_increase_sample_keep_duration_factor</dref> 
  2037.    --  <dref name="min_send_window_size">RtpsReliableWriterProtocol_t_min_send_window_size</dref> 
  2038.    --  <dref name="max_send_window_size">RtpsReliableWriterProtocol_t_max_send_window_size</dref> 
  2039.    --  <dref name="send_window_update_period">RtpsReliableWriterProtocol_t_send_window_update_period</dref> 
  2040.    --  <dref name="send_window_increase_factor">RtpsReliableWriterProtocol_t_send_window_increase_factor</dref> 
  2041.    --  <dref name="send_window_decrease_factor">RtpsReliableWriterProtocol_t_send_window_decrease_factor</dref> 
  2042.    --  <dref name="enable_multicast_periodic_heartbeat">RtpsReliableWriterProtocol_t_enable_multicast_periodic_heartbeat</dref> 
  2043.    --  <dref name="multicast_resend_threshold">RtpsReliableWriterProtocol_t_multicast_resend_threshold</dref> 
  2044.  
  2045.    --  for RtpsReliableWriterProtocol_T'Alignment use 8; 
  2046.    --  pragma Annotate (RtpsReliableWriterProtocol_T, Source => RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_RtpsReliableWriterProtocol_t); 
  2047.  
  2048.    RTPS_RELIABLE_WRITER_PROTOCOL_DEFAULT : 
  2049.    constant RtpsReliableWriterProtocol_T := (Low_Watermark                                                    => 0, 
  2050.                                              High_Watermark                                                   => 1, 
  2051.                                              Heartbeat_Period                                                 => (3, 0), 
  2052.                                              Fast_Heartbeat_Period                                            => (3, 0), 
  2053.                                              Late_Joiner_Heartbeat_Period                                     => (3, 0), 
  2054.                                              Virtual_Heartbeat_Period                                         => DURATION_INFINITE, 
  2055.                                              Samples_Per_Virtual_Heartbeat                                    => -1, 
  2056.                                              Max_Heartbeat_Retries                                            => 10, 
  2057.                                              Inactivate_Nonprogressing_Readers                                => False, 
  2058.                                              Heartbeats_Per_Max_Samples                                       => 8, 
  2059.                                              Min_Nack_Response_Delay                                          => (0, 0), 
  2060.                                              Max_Nack_Response_Delay                                          => (0, 200_000_000), 
  2061.                                              Nack_Suppression_Duration                                        => (0, 0), 
  2062.                                              Max_Bytes_Per_Nack_Response                                      => 131072, 
  2063.                                              Disable_Positive_Acks_Min_Sample_Keep_Duration                   => (0, 1_000_000), 
  2064.                                              Disable_Positive_Acks_Max_Sample_Keep_Duration                   => (1, 0), 
  2065.                                              Disable_Positive_Acks_Sample_Min_Separation                      => (0, 100_000), 
  2066.                                              Disable_Positive_Acks_Enable_Adaptive_Sample_Keep_Duration       => True, 
  2067.                                              Disable_Positive_Acks_Enable_Spin_Wait                           => False, 
  2068.                                              Disable_Positive_Acks_Decrease_Sample_Keep_Duration_Factor       => 0, 
  2069.                                              Disable_Positive_Acks_Increase_Sample_Keep_Duration_Factor       => 3, 
  2070.                                              Min_Send_Window_Size                                             => 32, 
  2071.                                              Max_Send_Window_Size                                             => 256, 
  2072.                                              Send_Window_Update_Period                                        => (3, 0), 
  2073.                                              Send_Window_Increase_Factor                                      => 105, 
  2074.                                              Send_Window_Decrease_Factor                                      => 70, 
  2075.                                              Enable_Multicast_Periodic_Heartbeat                              => False, 
  2076.                                              Multicast_Resend_Threshold                                       => 2 
  2077.                                             ); 
  2078.    --  <dref internal="true"></dref> 
  2079.  
  2080.    RTPS_RELIABLE_WRITER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT  : 
  2081.    constant RtpsReliableWriterProtocol_T := (Low_Watermark                                                      => 0, 
  2082.                                              High_Watermark                                                     => 1, 
  2083.                                              Heartbeat_Period                                                   => (3, 0), 
  2084.                                              Fast_Heartbeat_Period                                              => (3, 0), 
  2085.                                              Late_Joiner_Heartbeat_Period                                       => (3, 0), 
  2086.                                              Virtual_Heartbeat_Period                                           => DURATION_INFINITE, 
  2087.                                              Samples_Per_Virtual_Heartbeat                                      => -1, 
  2088.                                              Max_Heartbeat_Retries                                              => 10, 
  2089.                                              Inactivate_Nonprogressing_Readers                                  => False, 
  2090.                                              Heartbeats_Per_Max_Samples                                         => 8, 
  2091.                                              Min_Nack_Response_Delay                                            => (0, 0), 
  2092.                                              Max_Nack_Response_Delay                                            => (0, 0), 
  2093.                                              Nack_Suppression_Duration                                          => (0, 0), 
  2094.                                              Max_Bytes_Per_Nack_Response                                        => 131072, 
  2095.                                              Disable_Positive_Acks_Min_Sample_Keep_Duration                     => (0, 1_000_000), 
  2096.                                              Disable_Positive_Acks_Max_Sample_Keep_Duration                     => (1, 0), 
  2097.                                              Disable_Positive_Acks_Sample_Min_Separation                        => (0, 100_000), 
  2098.                                              Disable_Positive_Acks_Enable_Adaptive_Sample_Keep_Duration         => True, 
  2099.                                              Disable_Positive_Acks_Enable_Spin_Wait                             => False, 
  2100.                                              Disable_Positive_Acks_Decrease_Sample_Keep_Duration_Factor         => 95, 
  2101.                                              Disable_Positive_Acks_Increase_Sample_Keep_Duration_Factor         => 150, 
  2102.                                              Min_Send_Window_Size                                               => -1, 
  2103.                                              Max_Send_Window_Size                                               => -1, 
  2104.                                              Send_Window_Update_Period                                          => (3, 0), 
  2105.                                              Send_Window_Increase_Factor                                        => 105, 
  2106.                                              Send_Window_Decrease_Factor                                        => 50, 
  2107.                                              Enable_Multicast_Periodic_Heartbeat                                => False, 
  2108.                                              Multicast_Resend_Threshold                                         => 2 
  2109.                                             ); 
  2110.    --  <dref internal="true"></dref> 
  2111.  
  2112.    RTPS_PARTICIPANT_MESSAGE_WRITER_DISCOVERY_CONFIG_DEFAULT  : 
  2113.    constant RtpsReliableWriterProtocol_T := (Low_Watermark                                                      => 0, 
  2114.                                              High_Watermark                                                     => 1, 
  2115.                                              Heartbeat_Period                                                   => (1, 0), 
  2116.                                              Fast_Heartbeat_Period                                              => (1, 0), 
  2117.                                              Late_Joiner_Heartbeat_Period                                       => (1, 0), 
  2118.                                              Virtual_Heartbeat_Period                                           => DURATION_INFINITE, 
  2119.                                              Samples_Per_Virtual_Heartbeat                                      => -1, 
  2120.                                              Max_Heartbeat_Retries                                              => 10, 
  2121.                                              Inactivate_Nonprogressing_Readers                                  => False, 
  2122.                                              Heartbeats_Per_Max_Samples                                         => 1, 
  2123.                                              Min_Nack_Response_Delay                                            => (0, 0), 
  2124.                                              Max_Nack_Response_Delay                                            => (0, 0), 
  2125.                                              Nack_Suppression_Duration                                          => (0, 0), 
  2126.                                              Max_Bytes_Per_Nack_Response                                        => 9216, 
  2127.                                              Disable_Positive_Acks_Min_Sample_Keep_Duration                     => (0, 1_000_000), 
  2128.                                              Disable_Positive_Acks_Max_Sample_Keep_Duration                     => (1, 0), 
  2129.                                              Disable_Positive_Acks_Sample_Min_Separation                        => (0, 100_000), 
  2130.                                              Disable_Positive_Acks_Enable_Adaptive_Sample_Keep_Duration         => True, 
  2131.                                              Disable_Positive_Acks_Enable_Spin_Wait                             => False, 
  2132.                                              Disable_Positive_Acks_Decrease_Sample_Keep_Duration_Factor         => 95, 
  2133.                                              Disable_Positive_Acks_Increase_Sample_Keep_Duration_Factor         => 150, 
  2134.                                              Min_Send_Window_Size                                               => -1, 
  2135.                                              Max_Send_Window_Size                                               => -1, 
  2136.                                              Send_Window_Update_Period                                          => (1, 0), 
  2137.                                              Send_Window_Increase_Factor                                        => 105, 
  2138.                                              Send_Window_Decrease_Factor                                        => 50, 
  2139.                                              Enable_Multicast_Periodic_Heartbeat                                => False, 
  2140.                                              Multicast_Resend_Threshold                                         => 2 
  2141.                                             ); 
  2142.    --  <dref internal="true"></dref> 
  2143.  
  2144.    --  ------------------------------------------------- 
  2145.    --                 UserObjectSettings_t 
  2146.    --  ------------------------------------------------- 
  2147.  
  2148.    type UserObjectSettings_T is record 
  2149.       Size      : aliased Long := 0; 
  2150.       Alignment : aliased Long := 0; 
  2151.    end record with 
  2152.      Convention => C; 
  2153.    --  <dref internal="true">UserObjectSettings_t</dref> 
  2154.    --  <dref internal="true" name="Size">UserObjectSettings_t_size</dref> 
  2155.    --  <dref internal="true" name="Alignment">UserObjectSettings_t_alignment</dref> 
  2156.  
  2157.    --  ------------------------------------------------- 
  2158.    --                 TransportUnicastSettings_t 
  2159.    --  ------------------------------------------------- 
  2160.  
  2161.    type TransportUnicastSettings_T is record 
  2162.       Transports   : aliased String_Seq.Sequence; 
  2163.       Receive_Port : aliased Long := 0; 
  2164.    end record with 
  2165.      Convention => C; 
  2166.    --  <defgroup>TransportUnicastSettingsGroupDocs</defgroup> 
  2167.    --  <dref>TransportUnicastSettings_t</dref> 
  2168.    --  <dref name="Transport">TransportUnicastSettings_t_transports</dref> 
  2169.    --  <dref name="Receive_Port">TransportUnicastSettings_t_receive_port</dref> 
  2170.  
  2171.    type TransportUnicastSettings_T_Access is access all TransportUnicastSettings_T; 
  2172.    type TransportUnicastSettings_T_Array is array 
  2173.      (Natural range <>) of aliased TransportUnicastSettings_T; 
  2174.    procedure Initialize (Self  : in out TransportUnicastSettings_T); 
  2175.    procedure Finalize (Self  : in out TransportUnicastSettings_T); 
  2176.    procedure Copy (Dst : in out TransportUnicastSettings_T; 
  2177.                    Src : in TransportUnicastSettings_T); 
  2178.  
  2179.    package TransportUnicastSettings_Seq is new DDS_Support.Sequences_Generic 
  2180.      (TransportUnicastSettings_T, 
  2181.       TransportUnicastSettings_T_Access, 
  2182.       DDS.Natural, 
  2183.       1, 
  2184.       TransportUnicastSettings_T_Array); 
  2185.    --  <dref>TransportUnicastSettingsSeq</dref> 
  2186.  
  2187.    --  ------------------------------------------------- 
  2188.    --                 TransportMulticastSettings_t 
  2189.    --  ------------------------------------------------- 
  2190.  
  2191.    type TransportMulticastSettings_T is record 
  2192.       Transports      : DDS.String_Seq.Sequence; 
  2193.       Receive_Address : DDS.String; 
  2194.       Receive_Port    : Long := 0; 
  2195.    end record with 
  2196.      Convention => C; 
  2197.    --  <defgroup>TransportMulticastSettingsGroupDocs</defgroup> 
  2198.    --  <dref>TransportMulticastSettings_t</dref> 
  2199.    --  <dref name="Transports">TransportMulticastSettings_t_transports</dref> 
  2200.    --  <dref name="Receive_Address">TransportMulticastSettings_t_receive_address</dref> 
  2201.    --  <dref name="Receive_Port">TransportMulticastSettings_t_receive_port</dref> 
  2202.  
  2203.    --     TRANSPORT_MULTICAST_LOCATORS_DEFAULT : constant TransportMulticastSettings_T := 
  2204.    --       (Transports => DDS.String_Seq.DEFAULT_SEQUENCE, 
  2205.    --        Receive_Address => DDS.NULL_STRING, 
  2206.    --        Receive_Port => 0); 
  2207.  
  2208.    type TransportMulticastSettings_T_Access is access all TransportMulticastSettings_T; 
  2209.    type TransportMulticastSettings_T_Array is array 
  2210.      (Natural range <>) of aliased TransportMulticastSettings_T; 
  2211.    procedure Initialize (Self  : in out TransportMulticastSettings_T); 
  2212.    procedure Finalize (Self  : in out TransportMulticastSettings_T); 
  2213.    procedure Copy (Dst : in out TransportMulticastSettings_T; 
  2214.                    Src : in TransportMulticastSettings_T); 
  2215.  
  2216.    package TransportMulticastSettings_Seq is new DDS_Support.Sequences_Generic 
  2217.      (TransportMulticastSettings_T, 
  2218.       TransportMulticastSettings_T_Access, 
  2219.       DDS.Natural, 
  2220.       1, 
  2221.       TransportMulticastSettings_T_Array); 
  2222.    --  <dref>TransportMulticastSettingsSeq</dref> 
  2223.  
  2224.    --  ------------------------------------------------- 
  2225.    --             TransportMulticastMappingFunction_t 
  2226.    --  ------------------------------------------------- 
  2227.  
  2228.    type TransportMulticastMappingFunction_T is record 
  2229.       Dll             : DDS.String; 
  2230.       Function_Name   : DDS.String; 
  2231.    end record with 
  2232.      Convention => C; 
  2233.    --  <defgroup>TransportMulticastMappingGroupDocs</defgroup> 
  2234.    --  <dref>TransportMulticastMappingFunction_t</dref> 
  2235.    --  <dref name="dll">TransportMulticastMappingFunction_t_dll</dref> 
  2236.    --  <dref name="function_name">TransportMulticastMappingFunction_t_function_name</dref> 
  2237.  
  2238.    --   TRANSPORT_MULTICAST_MAPPING_FUNCTION_DEFAULT : constant TransportMulticastMappingFunction_T := 
  2239.    --                                          (dll => DDS.NULL_STRING, 
  2240.    --                                          function_name => DDS.NULL_STRING); 
  2241.  
  2242.  
  2243.    --  ------------------------------------------------- 
  2244.    --              TransportMulticastMapping_t 
  2245.    ----------------------------------------------------- 
  2246.  
  2247.    type TransportMulticastMapping_T is record 
  2248.       Addresses          : DDS.String; 
  2249.       Topic_Expression   : DDS.String; 
  2250.       Mapping_Function   : TransportMulticastMappingFunction_T; 
  2251.    end record with 
  2252.      Convention => C; 
  2253.    --  <dref>TransportMulticastMapping_t</dref> 
  2254.    --  <dref name="addresses">TransportMulticastMapping_t_addresses</dref> 
  2255.    --  <dref name="topic_expression">TransportMulticastMapping_t_topic_expression</dref> 
  2256.    --  <dref name="mapping_function">TransportMulticastMapping_t_mapping_function</dref> 
  2257.  
  2258.    --   TRANSPORT_MULTICAST_MAPPING_DEFAULT : constant TransportMulticastMapping_T := 
  2259.    --                              (addresses          => DDS.NULL_STRING, 
  2260.    --                              topic_expression   => DDS.NULL_STRING, 
  2261.    --                              mapping_function   => TRANSPORT_MULTICAST_MAPPING_FUNCTION_DEFAULT); 
  2262.  
  2263.    type TransportMulticastMapping_T_Access is access all TransportMulticastMapping_T; 
  2264.    type TransportMulticastMapping_T_Array is array 
  2265.      (Natural range <>) of aliased TransportMulticastMapping_T; 
  2266.    procedure Initialize (Self  : in out TransportMulticastMapping_T); 
  2267.    procedure Finalize (Self  : in out TransportMulticastMapping_T); 
  2268.    procedure Copy (Dst : in out TransportMulticastMapping_T; 
  2269.                    Src : in TransportMulticastMapping_T); 
  2270.  
  2271.    package TransportMulticastMapping_Seq is new DDS_Support.Sequences_Generic 
  2272.      (TransportMulticastMapping_T, 
  2273.       TransportMulticastMapping_T_Access, 
  2274.       DDS.Natural, 
  2275.       1, 
  2276.       TransportMulticastMapping_T_Array); 
  2277.    --  <dref>TransportMulticastMappingSeq</dref> 
  2278.  
  2279.  
  2280.    --  ------------------------------------------------- 
  2281.    --                 TransportEncapsulationSettings 
  2282.    --  ------------------------------------------------- 
  2283.  
  2284.    type EncapsulationId_T is new Unsigned_Short; 
  2285.    --  <defgroup internal="true">TransportEncapsulationSettingsGroupDocs</defgroup> 
  2286.    --  <dref internal="true">EncapsulationId_t</dref> 
  2287.  
  2288.    type EncapsulationId_T_Access is access all EncapsulationId_T; 
  2289.    type EncapsulationId_T_Array is array 
  2290.      (Natural range <>) of aliased EncapsulationId_T; 
  2291.    procedure Initialize (Self  : in out EncapsulationId_T); 
  2292.    procedure Finalize (Self  : in out EncapsulationId_T); 
  2293.    procedure Copy (Dst : in out EncapsulationId_T; 
  2294.                    Src : in EncapsulationId_T); 
  2295.  
  2296.    package EncapsulationId_Seq is new DDS_Support.Sequences_Generic 
  2297.      (EncapsulationId_T, 
  2298.       EncapsulationId_T_Access, 
  2299.       DDS.Natural, 
  2300.       1, 
  2301.       EncapsulationId_T_Array); 
  2302.    --  <dref internal="true">EncapsulationIdSeq</dref> 
  2303.  
  2304.    ENCAPSULATION_ID_CDR_BE : constant EncapsulationId_T := 0; 
  2305.    --  <dref internal="true">ENCAPSULATION_ID_CDR_BE</dref> 
  2306.  
  2307.    ENCAPSULATION_ID_CDR_LE : constant EncapsulationId_T := 1; 
  2308.    --  <dref internal="true">ENCAPSULATION_ID_CDR_LE</dref> 
  2309.  
  2310.    ENCAPSULATION_ID_CDR_NATIVE : constant EncapsulationId_T := System.Bit_Order'Pos (System.Default_Bit_Order); 
  2311.    --  <dref internal="true">ENCAPSULATION_ID_CDR_NATIVE</dref> 
  2312.  
  2313.  
  2314.    type TransportEncapsulationSettings_T is record 
  2315.       Transports     : aliased DDS.String_Seq.Sequence; 
  2316.       Encapsulations : aliased EncapsulationId_Seq.Sequence; 
  2317.    end record with 
  2318.      Convention => C; 
  2319.    --  <dref internal="true">TransportEncapsulationSettings_t</dref> 
  2320.    --  <dref internal="true" name="Transports">TransportEncapsulationSettings_t_transports</dref> 
  2321.    --  <dref internal="true" name="Encapsulations">TransportEncapsulationSettings_t_encapsulations</dref> 
  2322.  
  2323.    --     TRANSPORT_ENCAPSULATION_SETTINGS_DEFAULT : constant TransportEncapsulationSettings_T := 
  2324.    --                   (Transports => DDS.String_Seq.DEFAULT_SEQUENCE, 
  2325.    --                Encapsulations => EncapsulationId_Seq.DEFAULT_SEQUENCE); 
  2326.  
  2327.    type TransportEncapsulationSettings_T_Access is access all TransportEncapsulationSettings_T; 
  2328.    type TransportEncapsulationSettings_T_Array is array 
  2329.      (Natural range <>) of aliased TransportEncapsulationSettings_T; 
  2330.    procedure Initialize (Self  : in out TransportEncapsulationSettings_T); 
  2331.    procedure Finalize (Self  : in out TransportEncapsulationSettings_T); 
  2332.    procedure Copy (Dst : in out TransportEncapsulationSettings_T; 
  2333.                    Src : in TransportEncapsulationSettings_T); 
  2334.  
  2335.    package TransportEncapsulationSettings_Seq is new DDS_Support.Sequences_Generic 
  2336.      (TransportEncapsulationSettings_T, 
  2337.       TransportEncapsulationSettings_T_Access, 
  2338.       DDS.Natural, 
  2339.       1, 
  2340.       TransportEncapsulationSettings_T_Array); 
  2341.    --  <dref internal="true">TransportEncapslationSettingsSeq</dref> 
  2342.  
  2343.    --  -------------------------------------------------- 
  2344.    --                 TRANSPORT_SELECTION (eXtension QoS) 
  2345.    --  -------------------------------------------------- 
  2346.  
  2347.    TRANSPORTSELECTION_QOS_POLICY_NAME : constant DDS.String  := To_DDS_String ("TransportSelection"); 
  2348.    --  <defgroup>TransportSelectionQosGroupDocs</defgroup> 
  2349.    --  <dref>TRANSPORTSELECTION_QOS_POLICY_NAME</dref> 
  2350.  
  2351.    type TransportSelectionQosPolicy is record 
  2352.       Enabled_Transports : aliased DDS.String_Seq.Sequence; 
  2353.    end record with 
  2354.      Convention => C; 
  2355.    --  <dref>TransportSelectionQosPolicy</dref> 
  2356.    --  <dref name="Enabled_Transports">TransportSelectionQosPolicy_enabled_transports</dref> 
  2357.  
  2358.    --     TRANSPORT_SELECTION_QOS_POLICY_DEFAULT : constant TransportSelectionQosPolicy := 
  2359.    --                                                (Enabled_Transports => DDS.String_Seq.DEFAULT_SEQUENCE); 
  2360.  
  2361.    --  -------------------------------------------------- 
  2362.    --                 TRANSPORT_UNICAST (eXtension QoS) 
  2363.    --  -------------------------------------------------- 
  2364.  
  2365.    TRANSPORTUNICAST_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TransportUnicast"); 
  2366.    --  <defgroup>TransportUnicastQosGroupDocs</defgroup> 
  2367.    --  <dref>TRANSPORTUNICAST_QOS_POLICY_NAME</dref> 
  2368.  
  2369.    type TransportUnicastQosPolicy is record 
  2370.       Value :  TransportUnicastSettings_Seq.Sequence; 
  2371.    end record with 
  2372.      Convention => C; 
  2373.    --  <dref>TransportUnicastQosPolicy</dref> 
  2374.    --  <dref name="Value">TransportUnicastQosPolicy_value</dref> 
  2375.  
  2376.    --     TRANSPORT_UNICAST_QOS_POLICY_DEFAULT : constant TransportUnicastQosPolicy := 
  2377.    --                                              (Value => TransportUnicastSettings_Seq.DEFAULT_SEQUENCE); 
  2378.  
  2379.    --  -------------------------------------------------- 
  2380.    --                 TRANSPORT_MULTICAST (eXtension QoS) 
  2381.    --  -------------------------------------------------- 
  2382.  
  2383.    TRANSPORTMULTICAST_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TransportMulticast"); 
  2384.    --  <defgroup>TransportMulticastQosGroupDocs</defgroup> 
  2385.    --  <dref>TRANSPORTMULTICAST_QOS_POLICY_NAME</dref> 
  2386.  
  2387.    type TransportMulticastQosPolicyKind is new Unsigned_Long; 
  2388.    --  <dref>TransportMulticastQosPolicyKind</dref> 
  2389.  
  2390.    AUTOMATIC_TRANSPORT_MULTICAST_QOS : constant TransportMulticastQosPolicyKind := 0; 
  2391.    --  <dref>TransportMulticastQosPolicyKind_AUTOMATIC_TRANSPORT_MULTICAST_QOS</dref> 
  2392.  
  2393.    UNICAST_ONLY_TRANSPORT_MULTICAST_QOS : constant TransportMulticastQosPolicyKind := 1; 
  2394.    --  <dref>TransportMulticastQosPolicyKind_UNICAST_ONLY_TRANSPORT_MULTICAST_QOS</dref> 
  2395.  
  2396.  
  2397.    type TransportMulticastQosPolicy is record 
  2398.       Value : TransportMulticastSettings_Seq.Sequence; 
  2399.       Kind  : TransportMulticastQosPolicyKind := AUTOMATIC_TRANSPORT_MULTICAST_QOS; 
  2400.    end record with 
  2401.      Convention => C; 
  2402.    --  <dref>TransportMulticastQosPolicy</dref> 
  2403.    --  <dref name="Value">TransportMulticastQosPolicy_value</dref> 
  2404.    --  <dref name="Kind">TransportMulticastQosPolicy_kind</dref> 
  2405.  
  2406.    --     TRANSPORT_MULTICAST_QOS_POLICY_DEFAULT : constant TransportMulticastQosPolicy := 
  2407.    --                                                (Value => TransportMulticastSettings_Seq.DEFAULT_SEQUENCE); 
  2408.    -- 
  2409.  
  2410.    --  ------------------------------------------------------ 
  2411.    --                 TRANSPORT_MULTICAST_MAPPING (eXtension QoS) 
  2412.    --  ------------------------------------------------------ 
  2413.  
  2414.    TRANSPORTMULTICASTMAPPING_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TransportMulticastMapping"); 
  2415.    --  <defgroup>TransportMulticastMappingQosGroupDocs</defgroup> 
  2416.    --  <dref>TRANSPORTMULTICASTMAPPING_QOS_POLICY_NAME</dref> 
  2417.  
  2418.    type TransportMulticastMappingQosPolicy is record 
  2419.       Value : TransportMulticastMapping_Seq.Sequence; 
  2420.    end record with 
  2421.      Convention => C; 
  2422.    --  <dref>TransportMulticastMappingQosPolicy</dref> 
  2423.    --  <dref name="Value">TransportMulticastMappingQosPolicy_value</dref> 
  2424.  
  2425.    --  TRANSPORT_MULTICAST_MAPPING_QOS_POLICY_DEFAULT : constant TransportMulticastMappingQosPolicy := 
  2426.    --                                      (Value => TransportMulticastMapping_Seq.DEFAULT_SEQUENCE); 
  2427.  
  2428.  
  2429.    --  ------------------------------------------------------ 
  2430.    --                 TRANSPORT_ENCAPSULATION (eXtension QoS) 
  2431.    --  ------------------------------------------------------ 
  2432.  
  2433.    TRANSPORTENCAPSULATION_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TransportEncapsulation"); 
  2434.    --  <defgroup internal="true">TransportEncapsulationQosGroupDocs</defgroup> 
  2435.    --  <dref internal="true">TRANSPORTENCAPSULATION_QOS_POLICY_NAME</dref> 
  2436.  
  2437.    type TransportEncapsulationQosPolicy is record 
  2438.       Value : aliased TransportEncapsulationSettings_Seq.Sequence; 
  2439.    end record with 
  2440.      Convention => C; 
  2441.    --  <dref internal="true">TransportEncapsulationQosPolicy</dref> 
  2442.    --  <dref internal="true" name="Value">TransportEncapsulationQosPolicy_value</dref> 
  2443.  
  2444.    --     TRANSPORT_ENCAPSULATION_QOS_POLICY_DEFAULT : constant TransportEncapsulationQosPolicy := 
  2445.    --                   (Value => TransportEncapsulationSettings_Seq.DEFAULT_SEQUENCE); 
  2446.  
  2447.    --  ------------------------------------------------------ 
  2448.    --                 DISCOVERY (eXtension QoS) 
  2449.    --  ------------------------------------------------------ 
  2450.  
  2451.    DISCOVERY_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("Discovery"); 
  2452.    --  <defgroup>DiscoveryQosGroupDocs</defgroup> 
  2453.    --  <dref>DISCOVERY_QOS_POLICY_NAME</dref> 
  2454.    --  <defgroup>NDDS_DISCOVERY_PEERS</defgroup> 
  2455.  
  2456.    type DiscoveryQosPolicy is record 
  2457.       Enabled_Transports                          : aliased String_Seq.Sequence; 
  2458.       Initial_Peers                               : aliased String_Seq.Sequence; 
  2459.       Multicast_Receive_Addresses                 : aliased String_Seq.Sequence; 
  2460.       Metatraffic_Transport_Priority              : aliased Long := 0; 
  2461.       Accept_Unknown_Peers                        : aliased DDS.Boolean := True; 
  2462.       Enable_Endpoint_Discovery                   : aliased DDS.Boolean := True; 
  2463.    end record with 
  2464.      Convention => C; 
  2465.    --  <dref>DiscoveryQosPolicy</dref> 
  2466.    --  <dref name="Enabled_Transports">DiscoveryQosPolicy_enabled_transports</dref> 
  2467.    --  <dref name="Initial_Peers">DiscoveryQosPolicy_initial_peers</dref> 
  2468.    --  <dref name="Multicast_Receive_Addresses">DiscoveryQosPolicy_multicast_receive_addresses</dref> 
  2469.    --  <dref name="Metatraffic_Transport_Priority">DiscoveryQosPolicy_metatraffic_transport_priority</dref> 
  2470.    --  <dref name="Accept_Unknown_Peers">DiscoveryQosPolicy_accept_unknown_peers</dref> 
  2471.    --  <dref name="Enable_Endpoint_Discovery">DiscoveryQosPolicy_enable_endpoint_discovery</dref> 
  2472.  
  2473.    --     DISCOVERY_QOS_POLICY_DEFAULT : constant  DiscoveryQosPolicy := 
  2474.    --                                      (Enabled_Transports             => String_Seq.DEFAULT_SEQUENCE, 
  2475.    --                                       Initial_Peers                  => String_Seq.DEFAULT_SEQUENCE, 
  2476.    --                                       Multicast_Receive_Addresses    => String_Seq.DEFAULT_SEQUENCE, 
  2477.    --                                       Metatraffic_Transport_Priority => 0, 
  2478.    --                                       Accept_Unknown_Peers           => TRUE, 
  2479.    --                                       Spare1                         => False, 
  2480.    --                                       Spare2                         => False, 
  2481.    --                                       Spare3                         => False); 
  2482.  
  2483.    --  ------------------------------------------------------ 
  2484.    --                 Discovery_ParticipantInformation 
  2485.    --  ------------------------------------------------------ 
  2486.  
  2487.    type Discovery_ParticipantInformation is record 
  2488.       Participant_Discovery_Id         : aliased Long := 0; 
  2489.       Participant_Discovery_Version    : aliased Long := 0; 
  2490.       Participant_Discovery_Vendor_Id  : aliased Long := 0; 
  2491.       Participant_Discovery_Parameters : aliased Octet_Seq.Sequence; 
  2492.    end record with 
  2493.      Convention => C; 
  2494.    --  <dref internal="true">Discovery_ParticipantInformation</dref> 
  2495.    --  <dref internal="true" name="Participant_Discovery_Id">Discovery_ParticipantInformation_participant_discovery_id</dref> 
  2496.    --  <dref internal="true" name="Participant_Discovery_Version">Discovery_ParticipantInformation_participant_discovery_version</dref> 
  2497.    --  <dref internal="true" name="Participant_Discovery_Vendor_Id">Discovery_ParticipantInformation_participant_discovery_vendor_id</dref> 
  2498.    --  <dref internal="true" name="Participant_Discovery_Parameters">Discovery_ParticipantInformation_participant_parameters</dref> 
  2499.  
  2500.    type Discovery_ParticipantInformation_Access is access all Discovery_ParticipantInformation; 
  2501.    type Discovery_ParticipantInformation_Array is array 
  2502.      (Natural range <>) of aliased Discovery_ParticipantInformation; 
  2503.    procedure Initialize (Self  : in out Discovery_ParticipantInformation); 
  2504.    procedure Finalize (Self  : in out Discovery_ParticipantInformation); 
  2505.    procedure Copy (Dst : in out Discovery_ParticipantInformation; 
  2506.                    Src : in Discovery_ParticipantInformation); 
  2507.  
  2508.    package Discovery_ParticipantInformationSeq is new DDS_Support.Sequences_Generic 
  2509.      (Discovery_ParticipantInformation, 
  2510.       Discovery_ParticipantInformation_Access, 
  2511.       DDS.Natural, 
  2512.       1, 
  2513.       Discovery_ParticipantInformation_Array); 
  2514.    --  <dref internal="true">Discovery_ParticipantInformationSeq</dref> 
  2515.  
  2516.    --  ------------------------------------------------------ 
  2517.    --                 Discovery_EndpointInformation 
  2518.    --  ------------------------------------------------------ 
  2519.  
  2520.    type Discovery_EndpointInformation is record 
  2521.       Endpoint_Discovery_Id         : aliased Long := 0; 
  2522.       Endpoint_Discovery_Version    : aliased Long := 0; 
  2523.       Endpoint_Discovery_Vendor_Id  : aliased Long := 0; 
  2524.       Endpoint_Discovery_Parameters : aliased Octet_Seq.Sequence; 
  2525.    end record with 
  2526.      Convention => C; 
  2527.    --  <dref internal="true">Discovery_EndpointInformation</dref> 
  2528.    --  <dref internal="true" name="Endpoint_Discovery_Id">Discovery_EndpointInformation_participant_discovery_id</dref> 
  2529.    --  <dref internal="true" name="Endpoint_Discovery_Version">Discovery_EndpointInformation_participant_discovery_version</dref> 
  2530.    --  <dref internal="true" name="Endpoint_Discovery_Vendor_Id">Discovery_EndpointInformation_participant_discovery_vendor_id</dref> 
  2531.    --  <dref internal="true" name="Endpoint_Discovery_Parameters">Discovery_EndpointInformation_participant_parameters</dref> 
  2532.  
  2533.    type Discovery_EndpointInformation_Access is access all Discovery_EndpointInformation; 
  2534.    type Discovery_EndpointInformation_Array is array 
  2535.      (Natural range <>) of aliased Discovery_EndpointInformation; 
  2536.    procedure Initialize (Self  : in out Discovery_EndpointInformation); 
  2537.    procedure Finalize (Self  : in out Discovery_EndpointInformation); 
  2538.    procedure Copy (Dst : in out Discovery_EndpointInformation; 
  2539.                    Src : in Discovery_EndpointInformation); 
  2540.  
  2541.    package Discovery_EndpointInformationSeq is new DDS_Support.Sequences_Generic 
  2542.      (Discovery_EndpointInformation, 
  2543.       Discovery_EndpointInformation_Access, 
  2544.       DDS.Natural, 
  2545.       1, 
  2546.       Discovery_EndpointInformation_Array); 
  2547.    --  <dref internal="true">Discovery_EndpointInformationSeq</dref> 
  2548.  
  2549.    --  ------------------------------------------------------ 
  2550.    --                 TRANSPORTBUILTIN (eXtension QoS) 
  2551.    --  ------------------------------------------------------ 
  2552.  
  2553.    TRANSPORTBUILTIN_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TransportBuiltin"); 
  2554.    --  <defgroup>TransportBuiltinQosGroupDocs</defgroup> 
  2555.    --  <dref>TRANSPORTBUILTIN_QOS_POLICY_NAME</dref> 
  2556.  
  2557.    type TransportBuiltinKind is new Unsigned_Long; 
  2558.    --  <dref>TransportBuiltinKind</dref> 
  2559.  
  2560.    TRANSPORTBUILTIN_UDPv4 : constant TransportBuiltinKind := 2 ** 0; 
  2561.    --  <dref>TransportBuiltinKind_TRANSPORTBUILTIN_UDPv4</dref> 
  2562.  
  2563.    TRANSPORTBUILTIN_SHMEM : constant TransportBuiltinKind := 2 ** 1; 
  2564.    --  <dref>TransportBuiltinKind_TRANSPORTBUILTIN_SHMEM</dref> 
  2565.  
  2566.    TRANSPORTBUILTIN_INTRA : constant TransportBuiltinKind := 2 ** 2; 
  2567.    --  <dref internal="true">TransportBuiltinKind_TRANSPORTBUILTIN_INTRA</dref> 
  2568.  
  2569.    TRANSPORTBUILTIN_UDPv6 : constant TransportBuiltinKind := 2 ** 3; 
  2570.    --  <dref>TransportBuiltinKind_TRANSPORTBUILTIN_UDPv6</dref> 
  2571.  
  2572.    TRANSPORTBUILTIN_INTRA_ALIAS : constant DDS.String := To_DDS_String ("builtin.intra"); 
  2573.    --  <dref internal="true">TransportBuiltinKind_INTRA_ALIAS</dref> 
  2574.  
  2575.    TRANSPORTBUILTIN_SHMEM_ALIAS : constant DDS.String := To_DDS_String ("builtin.shmem"); 
  2576.    --  <dref>TransportBuiltinKind_SHMEM_ALIAS</dref> 
  2577.  
  2578.  
  2579.    TRANSPORTBUILTIN_UDPv4_ALIAS : constant DDS.String := To_DDS_String ("builtin.udpv4"); 
  2580.    --  <dref>TransportBuiltinKind_UDPv4_ALIAS</dref> 
  2581.  
  2582.  
  2583.    TRANSPORTBUILTIN_UDPv6_ALIAS : constant DDS.String := To_DDS_String ("builtin.udpv"); 
  2584.    --  <dref>TransportBuiltinKind_UDPv6_ALIAS</dref> 
  2585.  
  2586.  
  2587.    subtype TransportBuiltinKindMask is TransportBuiltinKind; 
  2588.    --  <dref>TransportBuiltinKindMask</dref> 
  2589.  
  2590.    TRANSPORTBUILTIN_MASK_NONE : constant TransportBuiltinKindMask := 0; 
  2591.    --  <dref>TransportBuiltinKindMask_NONE</dref> 
  2592.  
  2593.    TRANSPORTBUILTIN_MASK_DEFAULT : constant TransportBuiltinKindMask := 
  2594.                                      (TRANSPORTBUILTIN_UDPv4 or TRANSPORTBUILTIN_SHMEM); 
  2595.    --  <dref>TransportBuiltinKindMask_DEFAULT</dref> 
  2596.  
  2597.    TRANSPORTBUILTIN_MASK_ALL  : constant TransportBuiltinKindMask := 16#FFFF_FFFF#; 
  2598.    --  <dref>TransportBuiltinKindMask_ALL</dref> 
  2599.  
  2600.    type TransportBuiltinQosPolicy is record 
  2601.       Mask : TransportBuiltinKindMask; 
  2602.    end record with 
  2603.      Convention => C; 
  2604.    --  <dref>TransportBuiltinQosPolicy</dref> 
  2605.    --  <dref name="Mask">TransportBuiltinQosPolicy_mask</dref> 
  2606.  
  2607.    TRANSPORT_BUILTIN_QOS_POLICY_DEFAULT : constant TransportBuiltinQosPolicy := 
  2608.                                             (Mask => TRANSPORTBUILTIN_MASK_DEFAULT); 
  2609.    --  <dref internal="true"></dref> 
  2610.  
  2611.    --  ------------------------------------------------------ 
  2612.    --                 WIRE_PROTOCOL (eXtension QoS) 
  2613.    --  ------------------------------------------------------ 
  2614.  
  2615.    type RtpsWellKnownPorts_T is record 
  2616.       Port_Base                     : aliased Long := 7400; 
  2617.       Domain_Id_Gain                : aliased Long := 10; 
  2618.       Participant_Id_Gain           : aliased Long := 1000; 
  2619.       Builtin_Multicast_Port_Offset : aliased Long := 2; 
  2620.       Builtin_Unicast_Port_Offset   : aliased Long := 0; 
  2621.       User_Multicast_Port_Offset    : aliased Long := 1; 
  2622.       User_Unicast_Port_Offset      : aliased Long := 3; 
  2623.    end record with 
  2624.      Convention => C; 
  2625.    --  <defgroup>WireProtocolQosGroupDocs</defgroup> 
  2626.    --  <dref>RtpsWellKnownPorts_t</dref> 
  2627.    --  <dref name="Port_Base">RtpsWellKnownPorts_t_port_base</dref> 
  2628.    --  <dref name="Domain_Id_Gain">RtpsWellKnownPorts_t_domain_id_gain</dref> 
  2629.    --  <dref name="Participant_Id_Gain">RtpsWellKnownPorts_t_participant_id_gain</dref> 
  2630.    --  <dref name="Builtin_Multicast_Port_Offset">RtpsWellKnownPorts_t_builtin_multicast_port_offset</dref> 
  2631.    --  <dref name="Builtin_Unicast_Port_Offset">RtpsWellKnownPorts_t_builtin_unicast_port_offset</dref> 
  2632.    --  <dref name="User_Multicast_Port_Offset">RtpsWellKnownPorts_t_user_multicast_port_offset</dref> 
  2633.    --  <dref name="User_Unicast_Port_Offset">RtpsWellKnownPorts_t_user_unicast_port_offset</dref> 
  2634.  
  2635.    RTI_BACKWARDS_COMPATIBLE_RTPS_WELL_KNOWN_PORTS : constant RtpsWellKnownPorts_T 
  2636.      := (Port_Base                     =>  7400, 
  2637.          Domain_Id_Gain                =>  10, 
  2638.          Participant_Id_Gain           =>  1000, 
  2639.          Builtin_Multicast_Port_Offset =>  2, 
  2640.          Builtin_Unicast_Port_Offset   =>  0, 
  2641.          User_Multicast_Port_Offset    =>  1, 
  2642.          User_Unicast_Port_Offset      =>  3); 
  2643.    --  <dref>RTI_BACKWARDS_COMPATIBLE_RTPS_WELL_KNOWN_PORTS</dref> 
  2644.  
  2645.    INTEROPERABLE_RTPS_WELL_KNOWN_PORTS : constant RtpsWellKnownPorts_T 
  2646.      := (Port_Base                     =>  7400, 
  2647.          Domain_Id_Gain                =>  250, 
  2648.          Participant_Id_Gain           =>  2, 
  2649.          Builtin_Multicast_Port_Offset =>  0, 
  2650.          Builtin_Unicast_Port_Offset   =>  10, 
  2651.          User_Multicast_Port_Offset    =>  1, 
  2652.          User_Unicast_Port_Offset      =>  11); 
  2653.    --  <dref>INTEROPERABLE_RTPS_WELL_KNOWN_PORTS</dref> 
  2654.  
  2655.  
  2656.    RTPS_WELL_KNOWN_PORTS_DEFAULT : constant RtpsWellKnownPorts_T := 
  2657.                                      (Port_Base                     => 7400, 
  2658.                                       Domain_Id_Gain                => 10, 
  2659.                                       Participant_Id_Gain           => 1000, 
  2660.                                       Builtin_Multicast_Port_Offset => 2, 
  2661.                                       Builtin_Unicast_Port_Offset   => 0, 
  2662.                                       User_Multicast_Port_Offset    => 1, 
  2663.                                       User_Unicast_Port_Offset      => 3); 
  2664.    --  <dref internal="true"></dref> 
  2665.  
  2666.    type RtpsReservedPortKind is new Unsigned_Long; 
  2667.    --  <dref>RtpsReservedPortKind</dref> 
  2668.  
  2669.    RTPS_RESERVED_PORT_BUILTIN_UNICAST   : constant RtpsReservedPortKind := 2#0001#; 
  2670.    --  <dref>RtpsReservedPortKind_BUILTIN_UNICAST</dref> 
  2671.  
  2672.    RTPS_RESERVED_PORT_BUILTIN_MULTICAST : constant RtpsReservedPortKind := 2#0010#; 
  2673.    --  <dref>RtpsReservedPortKind_BUILTIN_MULTICAST</dref> 
  2674.  
  2675.    RTPS_RESERVED_PORT_USER_UNICAST      : constant RtpsReservedPortKind := 2#0100#; 
  2676.    --  <dref>RtpsReservedPortKind_USER_UNICAST</dref> 
  2677.  
  2678.    RTPS_RESERVED_PORT_USER_MULTICAST    : constant RtpsReservedPortKind := 2#1000#; 
  2679.    --  <dref>RtpsReservedPortKind_USER_MULTICAST</dref> 
  2680.  
  2681.    subtype RtpsReservedPortKindMask is RtpsReservedPortKind; 
  2682.    --  <dref>RtpsReservedPortKindMask</dref> 
  2683.  
  2684.    RTPS_RESERVED_PORT_MASK_DEFAULT : constant RtpsReservedPortKindMask := 
  2685.                                        (RTPS_RESERVED_PORT_BUILTIN_UNICAST or RTPS_RESERVED_PORT_BUILTIN_MULTICAST or 
  2686.                                                                             RTPS_RESERVED_PORT_USER_UNICAST); 
  2687.    --  <dref>RTPS_RESERVED_PORT_MASK_DEFAULT</dref> 
  2688.  
  2689.    RTPS_RESERVED_PORT_MASK_NONE  : constant RtpsReservedPortKindMask := 0; 
  2690.    --  <dref>RTPS_RESERVED_PORT_MASK_NONE</dref> 
  2691.  
  2692.    RTPS_RESERVED_PORT_MASK_ALL   : constant RtpsReservedPortKindMask := 16#FFFF_FFFF#; 
  2693.    --  <dref>RTPS_RESERVED_PORT_MASK_ALL</dref> 
  2694.  
  2695.    WIREPROTOCOL_QOS_POLICY_NAME  : constant DDS.String := To_DDS_String ("WireProtocol"); 
  2696.    --  <dref>WIREPROTOCOL_QOS_POLICY_NAME</dref> 
  2697.  
  2698.  
  2699.    type WireProtocolQosPolicyAutoKind is new Unsigned_Long; 
  2700.    --  <dref>WireProtocolQosPolicyAutoKind</dref> 
  2701.  
  2702.    RTPS_AUTO_ID_FROM_IP : constant WireProtocolQosPolicyAutoKind := 0; 
  2703.    --  <dref>WireProtocolQosPolicyAutoKind_RTPS_AUTO_ID_FROM_IP</dref> 
  2704.  
  2705.    RTPS_AUTO_ID_FROM_MAC : constant WireProtocolQosPolicyAutoKind := 1; 
  2706.    --  <dref>WireProtocolQosPolicyAutoKind_RTPS_AUTO_ID_FROM_MAC</dref> 
  2707.  
  2708.    RTPS_AUTO_ID    : constant Unsigned_Long := 0; 
  2709.  
  2710.    type WireProtocolQosPolicy is record 
  2711.       Participant_Id          : aliased Long := -1; 
  2712.       Rtps_Host_Id            : aliased Unsigned_Long := RTPS_AUTO_ID; 
  2713.       Rtps_App_Id             : aliased Unsigned_Long := RTPS_AUTO_ID; 
  2714.       Rtps_Instance_Id        : aliased Unsigned_Long := RTPS_AUTO_ID; 
  2715.       Rtps_Well_Known_Ports   : aliased RtpsWellKnownPorts_T := RTPS_WELL_KNOWN_PORTS_DEFAULT; 
  2716.       Rtps_Reserved_Port_Mask : aliased Long := 0; 
  2717.       Rtps_Auto_Id_Kind       : aliased WireProtocolQosPolicyAutoKind := RTPS_AUTO_ID_FROM_IP; 
  2718.       compute_crc             : aliased Boolean := False; 
  2719.       check_crc               : aliased Boolean := False; 
  2720.    end record with 
  2721.      Convention => C; 
  2722.    --  <dref>WireProtocolQosPolicy</dref> 
  2723.    --  <dref name="Participant_Id">WireProtocolQosPolicy_participant_id</dref> 
  2724.    --  <dref name="Rtps_Host_Id">WireProtocolQosPolicy_rtps_host_id</dref> 
  2725.    --  <dref name="Rtps_App_Id">WireProtocolQosPolicy_rtps_app_id</dref> 
  2726.    --  <dref name="Rtps_Instance_Id">WireProtocolQosPolicy_rtps_instance_id</dref> 
  2727.    --  <dref name="Rtps_Well_Known_Ports">WireProtocolQosPolicy_rtps_well_known_ports</dref> 
  2728.    --  <dref name="rtps_reserved_port_mask">WireProtocolQosPolicy_rtps_reserved_port_mask</dref> 
  2729.    --  <dref name="rtps_auto_id_kind">WireProtocolQosPolicy_rtps_auto_id_kind</dref> 
  2730.  
  2731.    --  <dref>WireProtocolQosPolicy_RTPS_AUTO_ID</dref> 
  2732.  
  2733.    WIRE_PROTOCOL_QOS_POLICY_DEFAULT : constant WireProtocolQosPolicy := 
  2734.                                         (Participant_Id          => -1, -- Automatic 
  2735.                                          Rtps_Host_Id            => RTPS_AUTO_ID, 
  2736.                                          Rtps_App_Id             => RTPS_AUTO_ID, 
  2737.                                          Rtps_Instance_Id        => RTPS_AUTO_ID, 
  2738.                                          Rtps_Well_Known_Ports   => RTPS_WELL_KNOWN_PORTS_DEFAULT, 
  2739.                                          Rtps_Reserved_Port_Mask => 2#0000_0000_0000_0000#, 
  2740.                                          Rtps_Auto_Id_Kind       => RTPS_AUTO_ID_FROM_IP, 
  2741.                                          compute_crc             => False, 
  2742.                                          check_crc               => False); 
  2743.    --  <dref internal="true"></dref> 
  2744.  
  2745.    --  ------------------------------------------------------ 
  2746.    --                 Locator_t 
  2747.    --  ------------------------------------------------------ 
  2748.  
  2749.    LOCATOR_ADDRESS_LENGTH_MAX  : constant Unsigned_Long := 16; 
  2750.    --  <dref>Locator_t_ADDRESS_LENGTH_MAX</dref> 
  2751.  
  2752.    type Locator_Address_Array_T is array (0 .. LOCATOR_ADDRESS_LENGTH_MAX - 1) of Octet; 
  2753.  
  2754.    type Locator_T is record 
  2755.       Kind           : aliased Long := 0; 
  2756.       Port           : aliased Unsigned_Long := 0; 
  2757.       Address        : aliased Locator_Address_Array_T := (others => 0); 
  2758.       Encapsulations : aliased EncapsulationId_Seq.Sequence; 
  2759.    end record with 
  2760.      Convention => C; 
  2761.    --  <dref>Locator_t</dref> 
  2762.    --  <dref name="Kind">Locator_t_kind</dref> 
  2763.    --  <dref name="Port">Locator_t_port</dref> 
  2764.    --  <dref name="Address">Locator_t_address</dref> 
  2765.    --  <dref internal="true" name="Encapsulations">Locator_t_encapsulations</dref> 
  2766.  
  2767.    type Locator_T_Access is access all Locator_T; 
  2768.    type Locator_T_Array is array (Natural range <>) of aliased Locator_T; 
  2769.    procedure Initialize (Self  : in out Locator_T); 
  2770.    procedure Finalize (Self  : in out Locator_T); 
  2771.    procedure Copy (Dst : in out Locator_T; Src : in Locator_T); 
  2772.  
  2773.    package Locator_Seq is new DDS_Support.Sequences_Generic 
  2774.      (Locator_T, 
  2775.       Locator_T_Access, 
  2776.       DDS.Natural, 
  2777.       1, 
  2778.       Locator_T_Array); 
  2779.    --  <dref>LocatorSeq</dref> 
  2780.  
  2781.    LOCATOR_INVALID : constant Locator_T := 
  2782.                        (Kind           => -1, 
  2783.                         Port           => 0, 
  2784.                         Address        => (others => 00), 
  2785.                         Encapsulations => EncapsulationId_Seq.DEFAULT_SEQUENCE); 
  2786.    --  <dref>Locator_t_INVALID</dref> 
  2787.  
  2788.    LOCATOR_KIND_INVALID : constant Long := -1; 
  2789.    --  <dref>Locator_t_KIND_INVALID</dref> 
  2790.  
  2791.    LOCATOR_PORT_INVALID : constant Unsigned_Long := 0; 
  2792.    --  <dref>Locator_t_PORT_INVALID</dref> 
  2793.  
  2794.    LOCATOR_ADDRESS_INVALID : constant Locator_Address_Array_T := (others => 0); 
  2795.    --  <dref>Locator_t_ADDRESS_INVALID</dref> 
  2796.  
  2797.    LOCATOR_KIND_ANY : constant Long := 0; 
  2798.    --  <dref internal="true">Locator_t_KIND_ANY</dref> 
  2799.  
  2800.    LOCATOR_KIND_UDPv4 : constant Long := 1; 
  2801.    --  <dref>Locator_t_KIND_UDPv4</dref> 
  2802.  
  2803.  
  2804.    LOCATOR_KIND_SHMEM  : constant Long := 2; 
  2805.    --  <dref>Locator_t_KIND_SHMEM</dref> 
  2806.  
  2807.    LOCATOR_KIND_INTRA  : constant Long := 3; 
  2808.    --  <dref internal="true">Locator_t_KIND_INTRA</dref> 
  2809.  
  2810.    LOCATOR_KIND_UDPv6 : constant Long := 5; 
  2811.    --  <dref>Locator_t_KIND_UDPv6</dref> 
  2812.  
  2813.    LOCATOR_KIND_DTLS : constant Long := 6; 
  2814.    --  <dref internal="true">Locator_t_KIND_DTLS</dref> 
  2815.  
  2816.    LOCATOR_KIND_WAN : constant Long := 7; 
  2817.    --  <dref internal="true">Locator_t_KIND_WAN</dref> 
  2818.  
  2819.    LOCATOR_KIND_TCPV4_LAN : constant Long := 8; 
  2820.    --  <dref internal="true">Locator_t_KIND_TCPV4_LAN</dref> 
  2821.  
  2822.    LOCATOR_KIND_TCPV4_WAN : constant Long := 9; 
  2823.    --  <dref internal="true">Locator_t_KIND_TCPV4_WAN</dref> 
  2824.  
  2825.    LOCATOR_KIND_TLSV4_LAN : constant Long := 10; 
  2826.    --  <dref internal="true">Locator_t_KIND_TLSV4_LAN</dref> 
  2827.  
  2828.    LOCATOR_KIND_TLSV4_WAN : constant Long := 11; 
  2829.    --  <dref internal="true">Locator_t_KIND_TLSV4_WAN</dref> 
  2830.  
  2831.    LOCATOR_KIND_RESERVED : constant Long := 1000; 
  2832.    --  <dref internal>Locator_t_KIND_RESERVED</dref> 
  2833.  
  2834.    --  ------------------------------------------------------ 
  2835.    --                 ProtocolVersion_t 
  2836.    --  ------------------------------------------------------ 
  2837.  
  2838.    type ProtocolVersion_T  is record 
  2839.       Major : aliased Octet := 0; 
  2840.       Minor : aliased Octet := 0; 
  2841.    end record with 
  2842.      Convention => C; 
  2843.    --  <dref>ProtocolVersion_t</dref> 
  2844.    --  <dref name="Major">ProtocolVersion_t_major</dref> 
  2845.    --  <dref name="Minor">ProtocolVersion_t_minor</dref> 
  2846.  
  2847.    PROTOCOL_VERSION_DEFAULT : constant ProtocolVersion_T := 
  2848.                                 (Major => 0, 
  2849.                                  Minor => 0); 
  2850.    --  <dref internal="true"></dref> 
  2851.  
  2852.    PROTOCOLVERSION_1_0      : constant ProtocolVersion_T := 
  2853.                                 (Major => 1, 
  2854.                                  Minor => 0); 
  2855.    --  <dref>ProtocolVersion_t_PROTOCOLVERSION_1_0</dref> 
  2856.  
  2857.    PROTOCOLVERSION_1_1      : constant ProtocolVersion_T := 
  2858.                                 (Major => 1, 
  2859.                                  Minor => 1); 
  2860.    --  <dref>ProtocolVersion_t_PROTOCOLVERSION_1_1</dref> 
  2861.  
  2862.    PROTOCOLVERSION_1_2      : constant ProtocolVersion_T := 
  2863.                                 (Major => 1, 
  2864.                                  Minor => 2); 
  2865.    --  <dref>ProtocolVersion_t_PROTOCOLVERSION_1_2</dref> 
  2866.  
  2867.    PROTOCOLVERSION_2_0      : constant ProtocolVersion_T := 
  2868.                                 (Major => 2, 
  2869.                                  Minor => 0); 
  2870.    --  <dref>ProtocolVersion_t_PROTOCOLVERSION_2_0</dref> 
  2871.  
  2872.    PROTOCOLVERSION_2_1      : constant ProtocolVersion_T := 
  2873.                                 (Major => 2, 
  2874.                                  Minor => 1); 
  2875.    --  <dref>ProtocolVersion_t_PROTOCOLVERSION_2_1</dref> 
  2876.  
  2877.    PROTOCOLVERSION          : constant ProtocolVersion_T := 
  2878.                                 (Major => 2, 
  2879.                                  Minor => 1); 
  2880.    --  <dref>ProtocolVersion_t_PROTOCOLVERSION</dref> 
  2881.  
  2882.    --  ------------------------------------------------------ 
  2883.    --                 Version_t 
  2884.    --  ------------------------------------------------------ 
  2885.  
  2886.    VENDOR_ID_LENGTH_MAX     : constant := 2; 
  2887.    --  <dref>VendorId_t_LENGTH_MAX</dref> 
  2888.  
  2889.    type VendorId_Array_T is array (0 .. VENDOR_ID_LENGTH_MAX - 1) of Octet; 
  2890.  
  2891.    type VendorId_T is record 
  2892.       VendorId : aliased VendorId_Array_T := (others => 0); 
  2893.    end record with 
  2894.      Convention => C; 
  2895.    --  <dref>VendorId_t</dref> 
  2896.    --  <dref name="VendorId">VendorId_t_vendorId</dref> 
  2897.  
  2898.    VENDOR_ID_DEFAULT : constant  VendorId_T := (VendorId => (0, 0)); 
  2899.    --  <dref internal="true"></dref> 
  2900.  
  2901.    VENDORID_UNKNOWN  : constant  VendorId_T := (VendorId => (0, 0)); 
  2902.    --  <dref internal="true"></dref> 
  2903.  
  2904.    --  ------------------------------------------------------ 
  2905.    --                 ProductVersion_t 
  2906.    --  ------------------------------------------------------ 
  2907.  
  2908.    type ProductVersion_T is record 
  2909.       Major    : aliased Char := Char (ASCII.NUL); 
  2910.       Minor    : aliased Char := Char (ASCII.NUL); 
  2911.       Release  : aliased Char := '0'; 
  2912.       Revision : aliased Char := Char (ASCII.NUL); 
  2913.    end record with 
  2914.      Convention => C; 
  2915.    --  <dref>ProductVersion_t</dref> 
  2916.    --  <dref name="Major">ProductVersion_t_major</dref> 
  2917.    --  <dref name="Minor">ProductVersion_t_minor</dref> 
  2918.    --  <dref name="Release">ProductVersion_t_release</dref> 
  2919.    --  <dref name="Revision">ProductVersion_t_revision</dref> 
  2920.  
  2921.    PRODUCTVERSION_UNKNOWN : constant ProductVersion_T := 
  2922.                               (Major    => Char (ASCII.NUL), 
  2923.                                Minor    => Char (ASCII.NUL), 
  2924.                                Release  => '0', 
  2925.                                Revision => Char (ASCII.NUL)); 
  2926.    --  <dref>ProductVersion_t_UNKNOWN</dref> 
  2927.  
  2928.    --  ---------------------------------------------------------- 
  2929.    --                 DATA_READER_RESOURCE_LIMITS (eXtension QoS) 
  2930.    --  ---------------------------------------------------------- 
  2931.  
  2932.    DATAREADERRESOURCELIMITS_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("DataReaderResourceLimits"); 
  2933.    --  <defgroup>DataReaderResourceLimitsQosGroupDocs</defgroup> 
  2934.    --  <dref>DATAREADERRESOURCELIMITS_QOS_POLICY_NAME</dref> 
  2935.  
  2936.    type DataReaderResourceLimitsQosPolicy is record 
  2937.       Max_Remote_Writers                          : aliased Long := -1; 
  2938.       Max_Remote_Writers_Per_Instance             : aliased Long := -1; 
  2939.       Max_Samples_Per_Remote_Writer               : aliased Long := -1; 
  2940.       Max_Infos                                   : aliased Long := -1; 
  2941.       Initial_Remote_Writers                      : aliased Long := 2; 
  2942.       Initial_Remote_Writers_Per_Instance         : aliased Long := 2; 
  2943.       Initial_Infos                               : aliased Long := 32; 
  2944.       Initial_Outstanding_Reads                   : aliased Long := 2; 
  2945.       Max_Outstanding_Reads                       : aliased Long := -1; 
  2946.       Max_Samples_Per_Read                        : aliased Long := 1024; 
  2947.       Disable_Fragmentation_Support               : aliased DDS.Boolean := False; 
  2948.       Max_Fragmented_Samples                      : aliased Long := 1024; 
  2949.       Initial_Fragmented_Samples                  : aliased Long := 4; 
  2950.       Max_Fragmented_Samples_Per_Remote_Writer    : aliased Long := 256; 
  2951.       Max_Fragments_Per_Sample                    : aliased Long := 512; 
  2952.       Dynamically_Allocate_Fragmented_Samples     : aliased DDS.Boolean := False; 
  2953.       Max_Total_Instances                         : aliased Long := 32; 
  2954.       Max_Remote_Virtual_Writers                  : aliased Long := -1; 
  2955.       Initial_Remote_Virtual_Writers              : aliased Long := 2; 
  2956.       Max_Remote_Virtual_Writers_Per_Instance     : aliased Long := -1; 
  2957.       Initial_Remote_Virtual_Writers_Per_Instance : aliased Long := 2; 
  2958.       Max_Remote_Writers_Per_Sample               : aliased Long := 3; 
  2959.       Max_Query_Condition_Filters                 : aliased Long := 4; 
  2960.       Max_App_Ack_Response_Length                 : aliased Long := 0; 
  2961.       Keep_Minimum_State_For_Instances            : aliased DDS.Boolean := True; 
  2962.       Initial_Topic_Queries                       : aliased Long := 1; 
  2963.       Max_Topic_Queries                           : aliased Long := -1; 
  2964.    end record with 
  2965.      Convention => C; 
  2966.    --  <dref>DataReaderResourceLimitsQosPolicy</dref> 
  2967.    --  <dref name="Max_Remote_Writers">DataReaderResourceLimitsQosPolicy_max_remote_writers</dref> 
  2968.    --  <dref name="Max_Remote_Writers_Per_Instance">DataReaderResourceLimitsQosPolicy_max_remote_writers_per_instance</dref> 
  2969.    --  <dref name="Max_Samples_Per_Remote_Writer">DataReaderResourceLimitsQosPolicy_max_samples_per_remote_writer</dref> 
  2970.    --  <dref name="Max_Infos">DataReaderResourceLimitsQosPolicy_max_infos</dref> 
  2971.    --  <dref name="Initial_Remote_Writers">DataReaderResourceLimitsQosPolicy_initial_remote_writers</dref> 
  2972.    --  <dref name="Initial_Remote_Writers_Per_Instance">DataReaderResourceLimitsQosPolicy_initial_remote_writers_per_instance</dref> 
  2973.    --  <dref name="Initial_Infos">DataReaderResourceLimitsQosPolicy_initial_infos</dref> 
  2974.    --  <dref name="Initial_Outstanding_Reads">DataReaderResourceLimitsQosPolicy_initial_outstanding_reads</dref> 
  2975.    --  <dref name="Max_Outstanding_Reads">DataReaderResourceLimitsQosPolicy_max_outstanding_reads</dref> 
  2976.    --  <dref name="Max_Samples_Per_Read">DataReaderResourceLimitsQosPolicy_max_samples_per_read</dref> 
  2977.    --  <dref name="Disable_Fragmentation_Support">DataReaderResourceLimitsQosPolicy_disable_fragmentation_support</dref> 
  2978.    --  <dref name="Max_Fragmented_Samples">DataReaderResourceLimitsQosPolicy_max_fragmented_samples</dref> 
  2979.    --  <dref name="Initial_Fragmented_Samples">DataReaderResourceLimitsQosPolicy_initial_fragmented_samples</dref> 
  2980.    --  <dref name="Max_Fragmented_Samples_Per_Remote_Writer">DataReaderResourceLimitsQosPolicy_max_fragmented_samples_per_remote_writer</dref> 
  2981.    --  <dref name="Max_Fragments_Per_Samples">DataReaderResourceLimitsQosPolicy_max_fragments_per_sample</dref> 
  2982.    --  <dref name="Dynamically_Allocate_Fragmented_Samples">DataReaderResourceLimitsQosPolicy_dynamically_allocate_fragmented_samples</dref> 
  2983.    --  <dref name="Max_Total_Instances">DataReaderResourceLimitsQosPolicy_max_total_instances</dref> 
  2984.    --  <dref name="Max_Remote_Virtual_Writers">DataReaderResourceLimitsQosPolicy_max_remote_virtual_writers</dref> 
  2985.    --  <dref name="Initial_Remote_Virtual_Writers">DataReaderResourceLimitsQosPolicy_initial_remote_virtual_writers</dref> 
  2986.    --  <dref name="Max_Remote_Virtual_Writers_Per_Instance">DataReaderResourceLimitsQosPolicy_max_remote_virtual_writers_per_instance</dref> 
  2987.    --  <dref name="Initial_Remote_Virtual_Writers_Per_Instance">DataReaderResourceLimitsQosPolicy_initial_remote_virtual_writers_per_instance</dref> 
  2988.    --  <dref name="Max_Remote_Writers_Per_Sample">DataReaderResourceLimitsQosPolicy_max_remote_writers_per_sample</dref> 
  2989.    --  <dref name="Max_Query_Condition_Filters">DataReaderResourceLimitsQosPolicy_max_query_condition_filters</dref> 
  2990.    --  <dref name="Max_App_Ack_Response_Length">DataReaderResourceLimitsQosPolicy_max_app_ack_response_length</dref> 
  2991.    --  <dref name="Keep_Minimum_State_For_Instances">DataReaderResourceLimitsQosPolicy_keep_minimum_state_for_instances</dref> 
  2992.    --  <dref internal="true" name="Initial_Topic_Queries">DataReaderResourceLimitsQosPolicy_initial_topic_queries</dref> 
  2993.    --  <dref internal="true" name="Max_Topic_Queries">DataReaderResourceLimitsQosPolicy_max_topic_queries</dref> 
  2994.  
  2995.    AUTO_MAX_TOTAL_INSTANCES : constant Long := 0; 
  2996.    --  <dref>AUTO_MAX_TOTAL_INSTANCES</dref> 
  2997.  
  2998.    DATA_READER_RESOURCE_LIMITS_QOS_POLICY_DEFAULT :   constant DataReaderResourceLimitsQosPolicy := 
  2999.                                                       (Max_Remote_Writers                          => -1, 
  3000.                                                        Max_Remote_Writers_Per_Instance             => -1, 
  3001.                                                        Max_Samples_Per_Remote_Writer               => -1, 
  3002.                                                        Max_Infos                                   => -1, 
  3003.                                                        Initial_Remote_Writers                      =>  2, 
  3004.                                                        Initial_Remote_Writers_Per_Instance         => 2, 
  3005.                                                        Initial_Infos                               => 32, 
  3006.                                                        Initial_Outstanding_Reads                   => 2, 
  3007.                                                        Max_Outstanding_Reads                       =>  -1, 
  3008.                                                        Max_Samples_Per_Read                        =>  1024, 
  3009.                                                        Disable_Fragmentation_Support               =>  False, 
  3010.                                                        Max_Fragmented_Samples                      =>  1024, 
  3011.                                                        Initial_Fragmented_Samples                  =>  4, 
  3012.                                                        Max_Fragmented_Samples_Per_Remote_Writer    =>  256, 
  3013.                                                        Max_Fragments_Per_Sample                    =>  512, 
  3014.                                                        Dynamically_Allocate_Fragmented_Samples     => False, 
  3015.                                                        Max_Total_Instances                         => 32, 
  3016.                                                        Max_Remote_Virtual_Writers                  => -1, 
  3017.                                                        Initial_Remote_Virtual_Writers              => 2, 
  3018.                                                        Max_Remote_Virtual_Writers_Per_Instance     => -1, 
  3019.                                                        Initial_Remote_Virtual_Writers_Per_Instance => 2, 
  3020.                                                        Max_Remote_Writers_Per_Sample               => 3, 
  3021.                                                        Max_Query_Condition_Filters                 => 4, 
  3022.                                                        Max_App_Ack_Response_Length                 => 0, 
  3023.                                                        Keep_Minimum_State_For_Instances            => True, 
  3024.                                                        Initial_Topic_Queries                       => 1, 
  3025.                                                        Max_Topic_Queries                           => -1); 
  3026.    --  <dref internal="true"></dref> 
  3027.  
  3028.    --  ---------------------------------------------------------- 
  3029.    --                 DATA_WRITER_RESOURCE_LIMITS (eXtension QoS) 
  3030.    --  ---------------------------------------------------------- 
  3031.  
  3032.    DATAWRITERRESOURCELIMITS_QOS_POLICY_NAME       : constant DDS.String := To_DDS_String ("DataWriterResourceLimits"); 
  3033.    --  <defgroup>DataWriterResourceLimitsQosGroupDocs</defgroup> 
  3034.    --  <dref>DATAWRITERRESOURCELIMITS_QOS_POLICY_NAME</dref> 
  3035.  
  3036.    type DataWriterResourceLimitsInstanceReplacementKind is new Unsigned_Long; 
  3037.    --  <dref>DataWriterResourceLimitsInstanceReplacementKind</dref> 
  3038.  
  3039.    UNREGISTERED_INSTANCE_REPLACEMENT : constant DataWriterResourceLimitsInstanceReplacementKind := 0; 
  3040.    --  <dref>DataWriterResourceLimitsInstanceReplacementKind_UNREGISTERED_INSTANCE_REPLACEMENT</dref> 
  3041.  
  3042.    ALIVE_INSTANCE_REPLACEMENT : constant DataWriterResourceLimitsInstanceReplacementKind := 1; 
  3043.    --  <dref>DataWriterResourceLimitsInstanceReplacementKind_ALIVE_INSTANCE_REPLACEMENT</dref> 
  3044.  
  3045.    DISPOSED_INSTANCE_REPLACEMENT : constant DataWriterResourceLimitsInstanceReplacementKind := 2; 
  3046.    --  <dref>DataWriterResourceLimitsInstanceReplacementKind_DISPOSED_INSTANCE_REPLACEMENT</dref> 
  3047.  
  3048.    ALIVE_THEN_DISPOSED_INSTANCE_REPLACEMENT : constant DataWriterResourceLimitsInstanceReplacementKind := 3; 
  3049.    --  <dref>DataWriterResourceLimitsInstanceReplacementKind_ALIVE_THEN_DISPOSED_INSTANCE_REPLACEMENT</dref> 
  3050.  
  3051.    DISPOSED_THEN_ALIVE_INSTANCE_REPLACEMENT : constant DataWriterResourceLimitsInstanceReplacementKind := 4; 
  3052.    --  <dref>DataWriterResourceLimitsInstanceReplacementKind_DISPOSED_THEN_ALIVE_INSTANCE_REPLACEMENT</dref> 
  3053.  
  3054.    ALIVE_OR_DISPOSED_INSTANCE_REPLACEMENT : constant DataWriterResourceLimitsInstanceReplacementKind := 5; 
  3055.    --  <dref>DataWriterResourceLimitsInstanceReplacementKind_ALIVE_OR_DISPOSED_INSTANCE_REPLACEMENT</dref> 
  3056.  
  3057.    type DataWriterResourceLimitsQosPolicy is record 
  3058.       Initial_Concurrent_Blocking_Threads : aliased DDS.Long := 1; 
  3059.       Max_Concurrent_Blocking_Threads     : aliased DDS.Long := -1; 
  3060.       Max_Remote_Reader_Filters           : aliased DDS.Long := 32; 
  3061.       Initial_Batches                     : aliased DDS.Long := 8; 
  3062.       Max_Batches                         : aliased DDS.Long := -1; 
  3063.       Cookie_Max_Length                   : aliased DDS.Long := -1; 
  3064.       Instance_Replacement                : aliased DataWriterResourceLimitsInstanceReplacementKind := UNREGISTERED_INSTANCE_REPLACEMENT; 
  3065.       Replace_Empty_Instances             : aliased DDS.Boolean := False; 
  3066.       Autoregister_Instances              : aliased DDS.Boolean := False; 
  3067.       Initial_Virtual_Writers             : aliased DDS.Long :=  1; 
  3068.       Max_Virtual_Writers                 : aliased DDS.Long := -1; 
  3069.       Max_Remote_Readers                  : aliased DDS.Long := -1; 
  3070.       Max_App_Ack_Remote_Readers          : aliased DDS.Long := -1; 
  3071.       Initial_Active_Topic_Queries        : aliased DDS.Long :=  1; 
  3072.       Max_Topic_Queries                   : aliased DDS.Long := -1; 
  3073.    end record with Convention => C; 
  3074.    --  <dref>DataWriterResourceLimitsQosPolicy</dref> 
  3075.    --  <dref name="Initial_Concurrent_Blocking_Threads">DataWriterResourceLimitsQosPolicy_initial_concurrent_blocking_threads</dref> 
  3076.    --  <dref name="Max_Concurrent_Blocking_Threads">DataWriterResourceLimitsQosPolicy_max_concurrent_blocking_threads</dref> 
  3077.    --  <dref name="Max_Remote_Reader_Filters">DataWriterResourceLimitsQosPolicy_max_remote_reader_filters</dref> 
  3078.    --  <dref name="Initial_Batches">DataWriterResourceLimitsQosPolicy_initial_batches</dref> 
  3079.    --  <dref name="Max_Batches">DataWriterResourceLimitsQosPolicy_max_batches</dref> 
  3080.    --  <dref name="Cookie_Max_Length">DataWriterResourceLimitsQosPolicy_cookie_max_length</dref> 
  3081.    --  <dref name="Instance_Replacement">DataWriterResourceLimitsQosPolicy_instance_replacement</dref> 
  3082.    --  <dref name="Replace_Empty_Instances">DataWriterResourceLimitsQosPolicy_replace_empty_instances</dref> 
  3083.    --  <dref name="Autoregister_Instances">DataWriterResourceLimitsQosPolicy_autoregister_instances</dref> 
  3084.    --  <dref name="Initial_Virtual_Writers">DataWriterResourceLimitsQosPolicy_initial_virtual_writers</dref> 
  3085.    --  <dref name="Max_Virtual_Writers">DataWriterResourceLimitsQosPolicy_max_virtual_writers</dref> 
  3086.    --  <dref name="Max_Remote_Readers">DataWriterResourceLimitsQosPolicy_max_remote_readers</dref> 
  3087.    --  <dref name="Max_App_Ack_Remote_Readers">DataWriterResourceLimitsQosPolicy_max_app_ack_remote_readers</dref> 
  3088.    --  <dref internal="true" name="Initial_Active_Topic_Queries">DataWriterResourceLimitsQosPolicy_initial_active_topic_queries</dref> 
  3089.    --  <dref internal="true" name="Max_Topic_Queries">DataWriterResourceLimitsQosPolicy_max_topic_queries</dref> 
  3090.  
  3091.    DATA_WRITER_RESOURCE_LIMITS_QOS_POLICY_DEFAULT : constant DataWriterResourceLimitsQosPolicy := 
  3092.                                                       (Initial_Concurrent_Blocking_Threads => 1, 
  3093.                                                        Max_Concurrent_Blocking_Threads     => -1, 
  3094.                                                        Max_Remote_Reader_Filters           => 32, 
  3095.                                                        Initial_Batches                     => 8, 
  3096.                                                        Max_Batches                         => -1, 
  3097.                                                        Cookie_Max_Length                   => -1, 
  3098.                                                        Instance_Replacement                => UNREGISTERED_INSTANCE_REPLACEMENT, 
  3099.                                                        Replace_Empty_Instances             => False, 
  3100.                                                        Autoregister_Instances              => False, 
  3101.                                                        Initial_Virtual_Writers             =>  1, 
  3102.                                                        Max_Virtual_Writers                 => -1, 
  3103.                                                        Max_Remote_Readers                  => -1, 
  3104.                                                        Max_App_Ack_Remote_Readers          => -1, 
  3105.                                                        Initial_Active_Topic_Queries        =>  1, 
  3106.                                                        Max_Topic_Queries                   => -1); 
  3107.    --  <dref internal="true"></dref> 
  3108.  
  3109.    --  ---------------------------------------------------------- 
  3110.    --                 SERVICE (eXtension QoS) 
  3111.    --  ---------------------------------------------------------- 
  3112.  
  3113.    SERVICE_QOS_POLICY_NAME                        : constant DDS.String := To_DDS_String ("Service"); 
  3114.    --  <defgroup>ServiceQosGroupDocs</defgroup> 
  3115.    --  <dref internal="true">SERVICE_QOS_POLICY_NAME</dref> 
  3116.  
  3117.    type ServiceQosPolicyKind is new Unsigned_Long; 
  3118.    --  <dref>ServiceQosPolicyKind</dref> 
  3119.  
  3120.    NO_SERVICE_QOS : constant ServiceQosPolicyKind := 0; 
  3121.    --  <dref>ServiceQosPolicyKind_NO_SERVICE_QOS</dref> 
  3122.  
  3123.    PERSISTENCE_SERVICE_QOS : constant ServiceQosPolicyKind := 1; 
  3124.    --  <dref>ServiceQosPolicyKind_PERSISTENCE_SERVICE_QOS</dref> 
  3125.  
  3126.    QUEUING_SERVICE_QOS : constant ServiceQosPolicyKind := 2; 
  3127.    --  <dref>ServiceQosPolicyKind_QUEUING_SERVICE_QOS</dref> 
  3128.  
  3129.    ROUTING_SERVICE_QOS : constant ServiceQosPolicyKind := 3; 
  3130.    --  <dref>ServiceQosPolicyKind_ROUTING_SERVICE_QOS</dref> 
  3131.  
  3132.    RECORDING_SERVICE_QOS : constant ServiceQosPolicyKind := 4; 
  3133.    --  <dref>ServiceQosPolicyKind_RECORDING_SERVICE_QOS</dref> 
  3134.  
  3135.    REPLAY_SERVICE_QOS : constant ServiceQosPolicyKind := 5; 
  3136.    --  <dref>ServiceQosPolicyKind_REPLAY_SERVICE_QOS</dref> 
  3137.  
  3138.    DATABASE_INTEGRATION_SERVICE_QOS : constant ServiceQosPolicyKind := 6; 
  3139.    --  <dref>ServiceQosPolicyKind_DATABASE_INTEGRATION_SERVICE_QOS</dref> 
  3140.  
  3141.    DDS_WEB_INTEGRATION_SERVICE_QOS : constant ServiceQosPolicyKind := 7; 
  3142.    --  TODO: Add Docs 
  3143.  
  3144.    type ServiceQosPolicy is record 
  3145.       Kind : ServiceQosPolicyKind; 
  3146.    end record  with Convention => C; 
  3147.    --  <dref>ServiceQosPolicy</dref> 
  3148.    --  <dref name="Kind">ServiceQosPolicy_kind</dref> 
  3149.  
  3150.    SERVICE_QOS_POLICY_DEFAULT : constant ServiceQosPolicy := 
  3151.                                   (Kind => NO_SERVICE_QOS); 
  3152.    --  <dref internal="true"></dref> 
  3153.  
  3154.    --  ---------------------------------------------------------- 
  3155.    --                 PUBLISHER_PROTOCOL (eXtension QoS) 
  3156.    --  ---------------------------------------------------------- 
  3157.  
  3158.    PUBLISHERPROTOCOL_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("PublisherProtocol"); 
  3159.    --  <defgroup internal="true">PublisherProtocolQosGroupDocs</defgroup> 
  3160.    --  <dref internal="true">PUBLISHERPROTOCOL_QOS_POLICY_NAME</dref> 
  3161.  
  3162.    type PublisherProtocolQosPolicy is record 
  3163.       Vendor_Specific_Entity : DDS.Boolean := False; 
  3164.    end record with Convention => C; 
  3165.    --  <dref internal="true">PublisherProtocolQosPolicy</dref> 
  3166.    --  <dref internal="true" name="vendor_specific_entity"a>PublisherProtocolQosPolicy_vendor_specific_entity</dref> 
  3167.  
  3168.    PUBLISHER_PROTOCOL_QOS_POLICY_DEFAULT : constant PublisherProtocolQosPolicy := 
  3169.                                              (Vendor_Specific_Entity => False); 
  3170.    --  <dref internal="true"></dref> 
  3171.  
  3172.    --  ---------------------------------------------------------- 
  3173.    --                 SUBSCRIBER_PROTOCOL (eXtension QoS) 
  3174.    --  ---------------------------------------------------------- 
  3175.  
  3176.    SUBSCRIBERPROTOCOL_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("SubscriberProtocol"); 
  3177.    --  <defgroup internal="true">SubscriberProtocolQosGroupDocs</defgroup> 
  3178.    --  <dref internal="true">SUBSCRIBERPROTOCOL_QOS_POLICY_NAME</dref> 
  3179.  
  3180.    type SubscriberProtocolQosPolicy is record 
  3181.       Vendor_Specific_Entity : DDS.Boolean := False; 
  3182.    end record with Convention => C; 
  3183.    --  <dref internal="true">SubscriberProtocolQosPolicy</dref> 
  3184.    --  <dref internal="true" name="vendor_specific_entity"a>SubscriberProtocolQosPolicy_vendor_specific_entity</dref> 
  3185.  
  3186.  
  3187.    SUBSCRIBER_PROTOCOL_QOS_POLICY_DEFAULT : constant SubscriberProtocolQosPolicy := 
  3188.                                               (Vendor_Specific_Entity => False); 
  3189.    --  <dref internal="true"></dref> 
  3190.  
  3191.    --  ---------------------------------------------------------- 
  3192.    --                 DATAREADER_PROTOCOL (eXtension QoS) 
  3193.    --  ---------------------------------------------------------- 
  3194.  
  3195.    DATAREADERPROTOCOL_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("DataReaderProtocol"); 
  3196.    --  <defgroup>DataReaderProtocolQosGroupDocs</defgroup> 
  3197.    --  <dref>DATAREADERPROTOCOL_QOS_POLICY_NAME</dref> 
  3198.  
  3199.    type DataReaderProtocolQosPolicy is record 
  3200.       Virtual_Guid                                : aliased Guid_T; 
  3201.       Rtps_Object_Id                              : aliased Unsigned_Long := RTPS_AUTO_ID; 
  3202.       Expects_Inline_Qos                          : aliased DDS.Boolean := False; 
  3203.       Disable_Positive_Acks                       : aliased DDS.Boolean := False; 
  3204.       Propagate_Dispose_Of_Unregistered_Instances : aliased DDS.Boolean := False; 
  3205.       Propagate_Unregister_Of_Disposed_Instances  : aliased DDS.Boolean := False; 
  3206.       Rtps_Reliable_Reader                        : aliased RtpsReliableReaderProtocol_T := RTPS_RELIABLE_READER_PROTOCOL_DEFAULT; 
  3207.       Vendor_Specific_Entity                      : aliased DDS.Boolean := False; 
  3208.       Meta_Entity                                 : aliased DDS.Boolean := False; 
  3209.    end record with Convention => C; 
  3210.    --  <dref>DataReaderProtocolQosPolicy</dref> 
  3211.    --  <dref name="Virtual_Guid">DataReaderProtocolQosPolicy_virtual_guid</dref> 
  3212.    --  <dref name="Rtps_Object_Id">DataReaderProtocolQosPolicy_rtps_object_id</dref> 
  3213.    --  <dref name="Expects_Inline_Qos">DataReaderProtocolQosPolicy_expects_inline_qos</dref> 
  3214.    --  <dref name="disable_positive_acks">DataReaderProtocolQosPolicy_disable_positive_acks</dref> 
  3215.    --  <dref name="propagate_dispose_of_unregistered_instances">DataReaderProtocolQosPolicy_propagate_dispose_of_unregistered_instances</dref> 
  3216.    --  <dref name="propagate_unregister_of_disposed_instances">DataReaderProtocolQosPolicy_propagate_unregister_of_disposed_instances</dref> 
  3217.    --  <dref name="Rtps_Reliable_Reader">DataReaderProtocolQosPolicy_rtps_reliable_reader</dref> 
  3218.    --  <dref internal="true" name="vendor_specific_entity">DataReaderProtocolQosPolicy_vendor_specific_entity</dref> 
  3219.    --  <dref internal="true" name="Meta_Entity">DataReaderProtocolQosPolicy_Meta_Entity</dref> 
  3220.  
  3221.    DATA_READER_PROTOCOL_QOS_POLICY_DEFAULT : constant DataReaderProtocolQosPolicy := 
  3222.                                                (Virtual_Guid                                => (Value => (others => 0)), 
  3223.                                                 Rtps_Object_Id                              => RTPS_AUTO_ID, 
  3224.                                                 Expects_Inline_Qos                          => False, 
  3225.                                                 Disable_Positive_Acks                       => False, 
  3226.                                                 Propagate_Dispose_Of_Unregistered_Instances => False, 
  3227.                                                 Propagate_Unregister_Of_Disposed_Instances  => False, 
  3228.                                                 Rtps_Reliable_Reader                        => RTPS_RELIABLE_READER_PROTOCOL_DEFAULT, 
  3229.                                                 Vendor_Specific_Entity                      => False, 
  3230.                                                 Meta_Entity                                 => False); 
  3231.    --  <dref internal="true"></dref> 
  3232.  
  3233.    --  ---------------------------------------------------------- 
  3234.    --                 DATAWRITER_PROTOCOL (eXtension QoS) 
  3235.    --  ---------------------------------------------------------- 
  3236.  
  3237.    DATAWRITERPROTOCOL_QOS_POLICY_NAME      : constant DDS.String := To_DDS_String ("DataWriterProtocol"); 
  3238.    --  <defgroup>DataWriterProtocolQosGroupDocs</defgroup> 
  3239.    --  <dref>DATAWRITERPROTOCOL_QOS_POLICY_NAME</dref> 
  3240.  
  3241.    type DataWriterProtocolQosPolicy is record 
  3242.       Virtual_Guid                       : aliased Guid_T; 
  3243.       Rtps_Object_Id                     : aliased Unsigned_Long := RTPS_AUTO_ID; 
  3244.       Push_On_Write                      : aliased DDS.Boolean := False; 
  3245.       Disable_Positive_Acks              : aliased DDS.Boolean := False; 
  3246.       Disable_Inline_Keyhash             : aliased DDS.Boolean := False; 
  3247.       Serialize_Key_With_Dispose         : aliased DDS.Boolean := False; 
  3248.       Propagate_App_Ack_With_No_Response : aliased DDS.Boolean := True; 
  3249.       Rtps_Reliable_Writer               : aliased RtpsReliableWriterProtocol_T := RTPS_RELIABLE_WRITER_PROTOCOL_DEFAULT; 
  3250.       Initial_Virtual_Sequence_Number    : aliased DDS.SequenceNumber_T := (-2147483648, 16#FFFF_FFFF#); 
  3251.       Vendor_Specific_Entity             : aliased DDS.Boolean := False; 
  3252.    end record with Convention => C; 
  3253.    --  <dref>DataWriterProtocolQosPolicy</dref> 
  3254.    --  <dref name="Virtual_Guid">DataWriterProtocolQosPolicy_virtual_guid</dref> 
  3255.    --  <dref name="Rtps_Object_Id">DataWriterProtocolQosPolicy_rtps_object_id</dref> 
  3256.    --  <dref name="Push_On_Write">DataWriterProtocolQosPolicy_push_on_write</dref> 
  3257.    --  <dref name="Disable_Positive_Acks">DataWriterProtocolQosPolicy_disable_positive_acks</dref> 
  3258.    --  <dref name="Disable_Inline_Keyhash">DataWriterProtocolQosPolicy_disable_inline_keyhash</dref> 
  3259.    --  <dref name="Serialize_Key_With_Dispose">DataWriterProtocolQosPolicy_serialize_key_with_dispose</dref> 
  3260.    --  <dref name="Propagate_App_Ack_With_No_Response">DataWriterProtocolQosPolicy_propagate_app_ack_with_no_response</dref> 
  3261.    --  <dref name="Rtps_Reliable_Writer">DataWriterProtocolQosPolicy_rtps_reliable_writer</dref> 
  3262.    --  <dref name="Initial_Virtual_Sequence_Number">DataWriterProtocolQosPolicy_initial_virtual_sequence_number</dref> 
  3263.    --  <dref internal="true" name="Vendor_Specific_Entity">DataWriterProtocolQosPolicy_vendor_specific_entity</dref> 
  3264.  
  3265.    DATA_WRITER_PROTOCOL_QOS_POLICY_DEFAULT : constant DataWriterProtocolQosPolicy := 
  3266.                                                (Virtual_Guid                       => (Value => (others => 0)), 
  3267.                                                 Rtps_Object_Id                     => RTPS_AUTO_ID, 
  3268.                                                 Push_On_Write                      => True, 
  3269.                                                 Disable_Positive_Acks              => False, 
  3270.                                                 Disable_Inline_Keyhash             => False, 
  3271.                                                 Serialize_Key_With_Dispose         => False, 
  3272.                                                 Propagate_App_Ack_With_No_Response => True, 
  3273.                                                 Rtps_Reliable_Writer               => RTPS_RELIABLE_WRITER_PROTOCOL_DEFAULT, 
  3274.                                                 Initial_Virtual_Sequence_Number    => (-2147483648, 16#FFFF_FFFF#), 
  3275.                                                 Vendor_Specific_Entity             => False); 
  3276.    --  <dref internal="true"></dref> 
  3277.  
  3278.    --  ---------------------------------------------------------- 
  3279.    --                 SYSTEM_RESOURCE_LIMITS (eXtension QoS) 
  3280.    --  ---------------------------------------------------------- 
  3281.  
  3282.    SYSTEMRESOURCELIMITS_QOS_POLICY_NAME    : constant DDS.String := To_DDS_String ("SystemResourceLimits"); 
  3283.    --  <defgroup>SystemResourceLimitsQosGroupDocs</defgroup> 
  3284.    --  <dref>SYSTEMRESOURCELIMITS_QOS_POLICY_NAME</dref> 
  3285.  
  3286.    type SystemResourceLimitsQosPolicy is record 
  3287.       Max_Objects_Per_Thread : Long := 1024; 
  3288.    end record with Convention => C; 
  3289.    --  <dref>SystemResourceLimitsQosPolicy</dref> 
  3290.    --  <dref name="Max_Objects_Per_Thread">SystemResourceLimitsQosPolicy_max_objects_per_thread</dref> 
  3291.  
  3292.    SYSTEM_RESOURCE_LIMITS_QOS_POLICY_DEFAULT : constant SystemResourceLimitsQosPolicy := 
  3293.                                                  (Max_Objects_Per_Thread => 1024); 
  3294.    --  <dref internal="true"></dref> 
  3295.  
  3296.    --  ---------------------------------------------------------- 
  3297.    --                 DOMAIN_PARTICIPANT_RESOURCE_LIMITS (eXtension QoS) 
  3298.    --  ---------------------------------------------------------- 
  3299.  
  3300.    DOMAINPARTICIPANTRESOURCELIMITS_QOS_POLICY_NAME :  constant DDS.String := To_DDS_String ("DomainParticipantResourceLimits"); 
  3301.    --  <defgroup>DomainParticipantResourceLimitsQosGroupDocs</defgroup> 
  3302.    --  <dref>DOMAINPARTICIPANTRESOURCELIMITS_QOS_POLICY_NAME</dref> 
  3303.  
  3304.    DomainParticipantResourceLimitsQosPolicy_MATCH_INIT : constant DDS.Long := 32; 
  3305.  
  3306.    type DomainParticipantResourceLimitsIgnoredEntityReplacementKind is new Unsigned_Long; 
  3307.    --  <dref>DomainParticipantResourceLimitsIgnoredEntityReplacementKind</dref> 
  3308.  
  3309.    NO_REPLACEMENT_IGNORED_ENTITY_REPLACEMENT : 
  3310.    constant DomainParticipantResourceLimitsIgnoredEntityReplacementKind := 0; 
  3311.    --  <dref>DomainParticipantResourceLimitsIgnoredEntityReplacementKind_NO_REPLACEMENT_IGNORED_ENTITY_REPLACEMENT</dref> 
  3312.  
  3313.    DDS_NOT_ALIVE_FIRST_IGNORED_ENTITY_REPLACEMENT : 
  3314.    constant DomainParticipantResourceLimitsIgnoredEntityReplacementKind := 1; 
  3315.    --  <dref>DomainParticipantResourceLimitsIgnoredEntityReplacementKind_NOT_ALIVE_FIRST_IGNORED_ENTITY_REPLACEMENT</dref> 
  3316.  
  3317.    type DomainParticipantResourceLimitsQosPolicy is record 
  3318.       Local_Writer_Allocation                               : aliased AllocationSettings_T := (16, -1, -1); 
  3319.       Local_Reader_Allocation                               : aliased AllocationSettings_T := (16, -1, -1); 
  3320.       Local_Publisher_Allocation                            : aliased AllocationSettings_T := (4, -1, -1); 
  3321.       Local_Subscriber_Allocation                           : aliased AllocationSettings_T := (4, -1, -1); 
  3322.       Local_Topic_Allocation                                : aliased AllocationSettings_T := (16, -1, -1); 
  3323.       Remote_Writer_Allocation                              : aliased AllocationSettings_T := (64, -1, -1); 
  3324.       Remote_Reader_Allocation                              : aliased AllocationSettings_T := (64, -1, -1); 
  3325.       Remote_Participant_Allocation                         : aliased AllocationSettings_T := (16, -1, -1); 
  3326.       Matching_Writer_Reader_Pair_Allocation                : aliased AllocationSettings_T := (DomainParticipantResourceLimitsQosPolicy_MATCH_INIT, -1, -1); 
  3327.       Matching_Reader_Writer_Pair_Allocation                : aliased AllocationSettings_T := (DomainParticipantResourceLimitsQosPolicy_MATCH_INIT, -1, -1); 
  3328.       Ignored_Entity_Allocation                             : aliased AllocationSettings_T := (8, -1, -1); 
  3329.       Content_Filtered_Topic_Allocation                     : aliased AllocationSettings_T := (4, -1, -1); 
  3330.       Content_Filter_Allocation                             : aliased AllocationSettings_T := (4, -1, -1); 
  3331.       Read_Condition_Allocation                             : aliased AllocationSettings_T := (4, -1, -1); 
  3332.       Query_Condition_Allocation                            : aliased AllocationSettings_T := (4, -1, -1); 
  3333.       Outstanding_Asynchronous_Sample_Allocation            : aliased AllocationSettings_T := (64, -1, -1); 
  3334.       Flow_Controller_Allocation                            : aliased AllocationSettings_T := (4, -1, -1); 
  3335.       Local_Writer_Hash_Buckets                             : aliased Long := 4; 
  3336.       Local_Reader_Hash_Buckets                             : aliased Long := 4; 
  3337.       Local_Publisher_Hash_Buckets                          : aliased Long := 1; 
  3338.       Local_Subscriber_Hash_Buckets                         : aliased Long := 1; 
  3339.       Local_Topic_Hash_Buckets                              : aliased Long := 4; 
  3340.       Remote_Writer_Hash_Buckets                            : aliased Long := 16; 
  3341.       Remote_Reader_Hash_Buckets                            : aliased Long := 16; 
  3342.       Remote_Participant_Hash_Buckets                       : aliased Long := 4; 
  3343.       Matching_Writer_Reader_Pair_Hash_Buckets              : aliased Long := 32; 
  3344.       Matching_Reader_Writer_Pair_Hash_Buckets              : aliased Long := 32; 
  3345.       Ignored_Entity_Hash_Buckets                           : aliased Long := 1; 
  3346.       Content_Filtered_Topic_Hash_Buckets                   : aliased Long := 1; 
  3347.       Content_Filter_Hash_Buckets                           : aliased Long := 1; 
  3348.       Flow_Controller_Hash_Buckets                          : aliased Long := 1; 
  3349.       Max_Gather_Destinations                               : aliased Long := 8; 
  3350.       Participant_User_Data_Max_Length                      : aliased Long := 256; 
  3351.       Inter_Participant_Data_Max_Length                     : aliased Long := 256; 
  3352.       Topic_Data_Max_Length                                 : aliased Long := 256; 
  3353.       Publisher_Group_Data_Max_Length                       : aliased Long := 256; 
  3354.       Subscriber_Group_Data_Max_Length                      : aliased Long := 256; 
  3355.       Writer_User_Data_Max_Length                           : aliased Long := 256; 
  3356.       Reader_User_Data_Max_Length                           : aliased Long := 256; 
  3357.       Max_Partitions                                        : aliased Long := 64; 
  3358.       Max_Partition_Cumulative_Characters                   : aliased Long := 256; 
  3359.       Default_Partition_Matches_All                         : aliased Boolean := False; 
  3360.       Allow_No_Partitions                                   : aliased Boolean := False; 
  3361.       Type_Code_Max_Serialized_Length                       : aliased Long := 2048; 
  3362.       Type_Object_Max_Serialized_Length                     : aliased Long := 2048; 
  3363.       Serialized_Type_Object_Dynamic_Allocation_Threshold   : aliased Long := 2048; 
  3364.       Type_Object_Max_Deserialized_Length                   : aliased Long := -1; 
  3365.       Deserialized_Type_Object_Dynamic_Allocation_Threshold : aliased Long := 4096; 
  3366.       Contentfilter_Property_Max_Length                     : aliased Long := 256; 
  3367.       Channel_Seq_Max_Length                                : aliased Long := 32; 
  3368.       Channel_Filter_Expression_Max_Length                  : aliased Long := 256; 
  3369.       Participant_Property_List_Max_Length                  : aliased Long := 32; 
  3370.       Participant_Property_String_Max_Length                : aliased Long := 4096; 
  3371.       Writer_Property_List_Max_Length                       : aliased Long := 32; 
  3372.       Writer_Property_String_Max_Length                     : aliased Long := 1024; 
  3373.       Reader_Property_List_Max_Length                       : aliased Long := 32; 
  3374.       Reader_Property_String_Max_Length                     : aliased Long := 1024; 
  3375.       Plugin_Info_Parameter_Max_Length                      : aliased Long := 265; 
  3376.       Max_Endpoint_Groups                                   : aliased Long := 32; 
  3377.       Max_Endpoint_Group_Cumulative_Characters              : aliased Long := 1024; 
  3378.       Transport_Info_List_Max_Length                        : aliased Long := 12; 
  3379.       Ignored_Entity_Replacement_Kind                       : aliased DomainParticipantResourceLimitsIgnoredEntityReplacementKind 
  3380.         := NO_REPLACEMENT_IGNORED_ENTITY_REPLACEMENT; 
  3381.       Remote_Topic_Query_Allocation                         : aliased AllocationSettings_T := (1, -1, -1); 
  3382.       Remote_Topic_Query_Hash_Buckets                       : aliased Long := 1; 
  3383.    end record with Convention => C; 
  3384.    --  <dref>DomainParticipantResourceLimitsQosPolicy</dref> 
  3385.    --  <dref name="local_writer_allocation">DomainParticipantResourceLimitsQosPolicy_local_writer_allocation</dref> 
  3386.    --  <dref name="local_reader_allocation">DomainParticipantResourceLimitsQosPolicy_local_reader_allocation</dref> 
  3387.    --  <dref name="local_publisher_allocation">DomainParticipantResourceLimitsQosPolicy_local_publisher_allocation</dref> 
  3388.    --  <dref name="local_subscriber_allocation">DomainParticipantResourceLimitsQosPolicy_local_subscriber_allocation</dref> 
  3389.    --  <dref name="local_topic_allocation">DomainParticipantResourceLimitsQosPolicy_local_topic_allocation</dref> 
  3390.    --  <dref name="remote_writer_allocation">DomainParticipantResourceLimitsQosPolicy_remote_writer_allocation</dref> 
  3391.    --  <dref name="remote_reader_allocation">DomainParticipantResourceLimitsQosPolicy_remote_reader_allocation</dref> 
  3392.    --  <dref name="remote_partiicpant_allocation">DomainParticipantResourceLimitsQosPolicy_remote_participant_allocation</dref> 
  3393.    --  <dref name="matching_writer_reader_pair_allocation">DomainParticipantResourceLimitsQosPolicy_matching_writer_reader_pair_allocation</dref> 
  3394.    --  <dref name="matching_reader_writer_pair_allocation">DomainParticipantResourceLimitsQosPolicy_matching_reader_writer_pair_allocation</dref> 
  3395.    --  <dref name="ignored_entity_allocation">DomainParticipantResourceLimitsQosPolicy_ignored_entity_allocation</dref> 
  3396.    --  <dref name="content_filtered_topic_allocation">DomainParticipantResourceLimitsQosPolicy_content_filtered_topic_allocation</dref> 
  3397.    --  <dref name="content_filter_allocation">DomainParticipantResourceLimitsQosPolicy_content_filter_allocation</dref> 
  3398.    --  <dref name="read_condition_allocation">DomainParticipantResourceLimitsQosPolicy_read_condition_allocation</dref> 
  3399.    --  <dref name="query_condition_allocation">DomainParticipantResourceLimitsQosPolicy_query_condition_allocation</dref> 
  3400.    --  <dref name="outstanding_asynchronous_sample_allocation">DomainParticipantResourceLimitsQosPolicy_outstanding_asynchronous_sample_allocation</dref> 
  3401.    --  <dref name="flow_controller_allocation">DomainParticipantResourceLimitsQosPolicy_flow_controller_allocation</dref> 
  3402.    --  <dref name="local_writer_hash_buckets">DomainParticipantResourceLimitsQosPolicy_local_writer_hash_buckets</dref> 
  3403.    --  <dref name="local_reader_hash_buckets">DomainParticipantResourceLimitsQosPolicy_local_reader_hash_buckets</dref> 
  3404.    --  <dref name="local_publisher_hash_buckets">DomainParticipantResourceLimitsQosPolicy_local_publisher_hash_buckets</dref> 
  3405.    --  <dref name="local_subscriber_hash_buckets">DomainParticipantResourceLimitsQosPolicy_local_subscriber_hash_buckets</dref> 
  3406.    --  <dref name="local_topic_hash_buckets">DomainParticipantResourceLimitsQosPolicy_local_topic_hash_buckets</dref> 
  3407.    --  <dref name="remote_writer_hash_buckets">DomainParticipantResourceLimitsQosPolicy_remote_writer_hash_buckets</dref> 
  3408.    --  <dref name="remote_reader_hash_buckets">DomainParticipantResourceLimitsQosPolicy_remote_reader_hash_buckets</dref> 
  3409.    --  <dref name="remote_participant_hash_buckets">DomainParticipantResourceLimitsQosPolicy_remote_participant_hash_buckets</dref> 
  3410.    --  <dref name="matching_writer_reader_pair_hash_buckets">DomainParticipantResourceLimitsQosPolicy_matching_writer_reader_pair_hash_buckets</dref> 
  3411.    --  <dref name="matching_reader_writer_pair_hash_buckets">DomainParticipantResourceLimitsQosPolicy_matching_reader_writer_pair_hash_buckets</dref> 
  3412.    --  <dref name="ignored_entity_hash_buckets">DomainParticipantResourceLimitsQosPolicy_ignored_entity_hash_buckets</dref> 
  3413.    --  <dref name="content_filtered_topic_hash_buckets">DomainParticipantResourceLimitsQosPolicy_content_filtered_topic_hash_buckets</dref> 
  3414.    --  <dref name="content_filter_hash_buckets">DomainParticipantResourceLimitsQosPolicy_content_filter_hash_buckets</dref> 
  3415.    --  <dref name="flow_controller_hash_buckets">DomainParticipantResourceLimitsQosPolicy_flow_controller_hash_buckets</dref> 
  3416.    --  <dref name="max_gather_destinations">DomainParticipantResourceLimitsQosPolicy_max_gather_destinations</dref> 
  3417.    --  <dref name="participant_user_data_max_length">DomainParticipantResourceLimitsQosPolicy_participant_user_data_max_length</dref> 
  3418.    --  <dref internal="true" name="inter_participant_data_max_length">DomainParticipantResourceLimitsQosPolicy_inter_participant_data_max_length</dref> 
  3419.    --  <dref name="topic_data_max_length">DomainParticipantResourceLimitsQosPolicy_topic_data_max_length</dref> 
  3420.    --  <dref name="publisher_group_data_max_length">DomainParticipantResourceLimitsQosPolicy_publisher_group_data_max_length</dref> 
  3421.    --  <dref name="subscriber_group_data_max_length">DomainParticipantResourceLimitsQosPolicy_subscriber_group_data_max_length</dref> 
  3422.    --  <dref name="writer_user_data_max_length">DomainParticipantResourceLimitsQosPolicy_writer_user_data_max_length</dref> 
  3423.    --  <dref name="reader_user_data_max_length">DomainParticipantResourceLimitsQosPolicy_reader_user_data_max_length</dref> 
  3424.    --  <dref name="max_partitions">DomainParticipantResourceLimitsQosPolicy_max_partitions</dref> 
  3425.    --  <dref name="max_partition_cumulative_characters">DomainParticipantResourceLimitsQosPolicy_max_partition_cumulative_characters</dref> 
  3426.    --  <dref internal="true" name="default_partition_matches_all">DomainParticipantResourceLimitsQosPolicy_default_partition_matches_all</dref> 
  3427.    --  <dref internal="true" name="allow_no_partitions">DomainParticipantResourceLimitsQosPolicy_allow_no_partitions</dref> 
  3428.    --  <dref name="type_code_max_serialized_length">DomainParticipantResourceLimitsQosPolicy_type_code_max_serialized_length</dref> 
  3429.    --  <dref name="Type_Object_Max_Serialized_Length">DomainParticipantResourceLimitsQosPolicy_type_object_max_serialized_length</dref> 
  3430.    --  <dref internal="true" name="Serialized_Type_Object_Dynamic_Allocation_Threshold">DomainParticipantResourceLimitsQosPolicy_serialized_type_object_dynamic_allocation_threshold</dref> 
  3431.    --  <dref name="Type_Object_Max_Deserialized_Length">DomainParticipantResourceLimitsQosPolicy_type_object_max_deserialized_length</dref> 
  3432.    --  <dref name="Deserialized_Type_Object_Dynamic_Allocation_Threshold">DomainParticipantResourceLimitsQosPolicy_deserialized_type_object_dynamic_allocation_threshold</dref> 
  3433.    --  <dref name="contentfilter_property_max_length">DomainParticipantResourceLimitsQosPolicy_contentfilter_property_max_length</dref> 
  3434.    --  <dref name="channel_seq_max_length">DomainParticipantResourceLimitsQosPolicy_channel_seq_max_length</dref> 
  3435.    --  <dref name="channel_filter_expression_max_length">DomainParticipantResourceLimitsQosPolicy_channel_filter_expression_max_length</dref> 
  3436.    --  <dref name="participant_property_list_max_length">DomainParticipantResourceLimitsQosPolicy_participant_property_list_max_length</dref> 
  3437.    --  <dref name="participant_property_string_max_length">DomainParticipantResourceLimitsQosPolicy_participant_property_string_max_length</dref> 
  3438.    --  <dref name="writer_property_list_max_length">DomainParticipantResourceLimitsQosPolicy_writer_property_list_max_length</dref> 
  3439.    --  <dref name="writer_property_string_max_length">DomainParticipantResourceLimitsQosPolicy_writer_property_string_max_length</dref> 
  3440.    --  <dref name="reader_property_list_max_length">DomainParticipantResourceLimitsQosPolicy_reader_property_list_max_length</dref> 
  3441.    --  <dref name="reader_property_string_max_length">DomainParticipantResourceLimitsQosPolicy_reader_property_string_max_length</dref> 
  3442.    --  <dref internal="true" name="plugin_info_parameter_max_length">DomainParticipantResourceLimitsQosPolicy_plugin_info_parameter_max_length</dref> 
  3443.    --  <dref name="max_endpoint_groups">DomainParticipantResourceLimitsQosPolicy_max_endpoint_groups</dref> 
  3444.    --  <dref name="max_endpoint_group_cumulative_characters">DomainParticipantResourceLimitsQosPolicy_max_endpoint_group_cumulative_characters</dref> 
  3445.    --  <dref name="transport_info_list_max_length">DomainParticipantResourceLimitsQosPolicy_transport_info_list_max_length</dref> 
  3446.    --  <dref name="ignored_entity_replacement_kind">DomainParticipantResourceLimitsQosPolicy_ignored_entity_replacement_kind</dref> 
  3447.    --  <dref internal="true" name="Remote_Topic_Query_Allocation">DomainParticipantResourceLimitsQosPolicy_remote_topic_query_allocation</dref> 
  3448.    --  <dref internal="true" name="Remote_Topic_Query_Hash_Buckets">DomainParticipantResourceLimitsQosPolicy_remote_topic_query_hash_buckets</dref> 
  3449.  
  3450.  
  3451.    DOMAIN_PARTICIPANT_RESOURCE_LIMITS_QOS_POLICY_DEFAULT : 
  3452.    constant DomainParticipantResourceLimitsQosPolicy := 
  3453.                                                              (Local_Writer_Allocation                               => (16, -1, -1), 
  3454.                                                               Local_Reader_Allocation                               => (16, -1, -1), 
  3455.                                                               Local_Publisher_Allocation                            => (4, -1, -1), 
  3456.                                                               Local_Subscriber_Allocation                           => (4, -1, -1), 
  3457.                                                               Local_Topic_Allocation                                => (16, -1, -1), 
  3458.                                                               Remote_Writer_Allocation                              => (64, -1, -1), 
  3459.                                                               Remote_Reader_Allocation                              => (64, -1, -1), 
  3460.                                                               Remote_Participant_Allocation                         => (16, -1, -1), 
  3461.                                                               Matching_Writer_Reader_Pair_Allocation                => 
  3462.                                                                 (DomainParticipantResourceLimitsQosPolicy_MATCH_INIT, -1, -1), 
  3463.                                                               Matching_Reader_Writer_Pair_Allocation                => 
  3464.                                                                 (DomainParticipantResourceLimitsQosPolicy_MATCH_INIT, -1, -1), 
  3465.                                                               Ignored_Entity_Allocation                             => (8, -1, -1), 
  3466.                                                               Content_Filtered_Topic_Allocation                     => (4, -1, -1), 
  3467.                                                               Content_Filter_Allocation                             => (4, -1, -1), 
  3468.                                                               Read_Condition_Allocation                             => (4, -1, -1), 
  3469.                                                               Query_Condition_Allocation                            => (4, -1, -1), 
  3470.                                                               Outstanding_Asynchronous_Sample_Allocation            => (64, -1, -1), 
  3471.                                                               Flow_Controller_Allocation                            => (4, -1, -1), 
  3472.                                                               Local_Writer_Hash_Buckets                             => 4, 
  3473.                                                               Local_Reader_Hash_Buckets                             => 4, 
  3474.                                                               Local_Publisher_Hash_Buckets                          => 1, 
  3475.                                                               Local_Subscriber_Hash_Buckets                         => 1, 
  3476.                                                               Local_Topic_Hash_Buckets                              => 4, 
  3477.                                                               Remote_Writer_Hash_Buckets                            => 16, 
  3478.                                                               Remote_Reader_Hash_Buckets                            => 16, 
  3479.                                                               Remote_Participant_Hash_Buckets                       => 4, 
  3480.                                                               Matching_Writer_Reader_Pair_Hash_Buckets              => 32, 
  3481.                                                               Matching_Reader_Writer_Pair_Hash_Buckets              => 32, 
  3482.                                                               Ignored_Entity_Hash_Buckets                           => 1, 
  3483.                                                               Content_Filtered_Topic_Hash_Buckets                   => 1, 
  3484.                                                               Content_Filter_Hash_Buckets                           => 1, 
  3485.                                                               Flow_Controller_Hash_Buckets                          => 1, 
  3486.                                                               Max_Gather_Destinations                               => 8, 
  3487.                                                               Participant_User_Data_Max_Length                      => 256, 
  3488.                                                               Inter_Participant_Data_Max_Length                     => 256, 
  3489.                                                               Topic_Data_Max_Length                                 => 256, 
  3490.                                                               Publisher_Group_Data_Max_Length                       => 256, 
  3491.                                                               Subscriber_Group_Data_Max_Length                      => 256, 
  3492.                                                               Writer_User_Data_Max_Length                           => 256, 
  3493.                                                               Reader_User_Data_Max_Length                           => 256, 
  3494.                                                               Max_Partitions                                        => 64, 
  3495.                                                               Max_Partition_Cumulative_Characters                   => 256, 
  3496.                                                               Default_Partition_Matches_All                         => False, 
  3497.                                                               Allow_No_Partitions                                   => False, 
  3498.                                                               Type_Code_Max_Serialized_Length                       => 2048, 
  3499.                                                               Type_Object_Max_Serialized_Length                     => 2048, 
  3500.                                                               Serialized_Type_Object_Dynamic_Allocation_Threshold   => 2048, 
  3501.                                                               Type_Object_Max_Deserialized_Length                   => -1, 
  3502.                                                               Deserialized_Type_Object_Dynamic_Allocation_Threshold => 4096, 
  3503.                                                               Contentfilter_Property_Max_Length                     => 256, 
  3504.                                                               Channel_Seq_Max_Length                                => 32, 
  3505.                                                               Channel_Filter_Expression_Max_Length                  => 256, 
  3506.                                                               Participant_Property_List_Max_Length                  => 32, 
  3507.                                                               Participant_Property_String_Max_Length                => 1024, 
  3508.                                                               Writer_Property_List_Max_Length                       => 32, 
  3509.                                                               Writer_Property_String_Max_Length                     => 1024, 
  3510.                                                               Reader_Property_List_Max_Length                       => 32, 
  3511.                                                               Reader_Property_String_Max_Length                     => 1024, 
  3512.                                                               Plugin_Info_Parameter_Max_Length                      => 256, 
  3513.                                                               Max_Endpoint_Groups                                   => 32, 
  3514.                                                               Max_Endpoint_Group_Cumulative_Characters              => 1024, 
  3515.                                                               Transport_Info_List_Max_Length                        => 12, 
  3516.                                                               Ignored_Entity_Replacement_Kind                       => NO_REPLACEMENT_IGNORED_ENTITY_REPLACEMENT, 
  3517.                                                               Remote_Topic_Query_Allocation                         => (1, -1, -1), 
  3518.                                                               Remote_Topic_Query_Hash_Buckets                       => 1); 
  3519.    --  <dref internal="true"></dref> 
  3520.  
  3521.  
  3522.    --  ---------------------------------------------------------- 
  3523.    --                 EVENT (eXtension QoS) 
  3524.    --  ---------------------------------------------------------- 
  3525.  
  3526.    EVENT_QOS_POLICY_NAME                                 : constant DDS.String := To_DDS_String ("Event"); 
  3527.    --  <defgroup>EventQosGroupDocs</defgroup> 
  3528.    --  <dref>EVENT_QOS_POLICY_NAME</dref> 
  3529.  
  3530.    type EventQosPolicy is record 
  3531.       Thread        : aliased ThreadSettings_T; 
  3532.       Initial_Count : aliased Long := 256; 
  3533.       Max_Count     : aliased Long := -1; 
  3534.    end record with Convention => C; 
  3535.    --  <dref>EventQosPolicy</dref> 
  3536.    --  <dref name="Thread">EventQosPolicy_thread</dref> 
  3537.    --  <dref name="Initial_Count">EventQosPolicy_initial_count</dref> 
  3538.    --  <dref name="Max_Count">EventQosPolicy_max_count</dref> 
  3539.  
  3540.    --        EVENT_QOS_POLICY_DEFAULT : constant EventQosPolicy := 
  3541.    --                                     (Thread        => THREAD_SETTINGS_DEFAULT, 
  3542.    --                                      Initial_Count => 256, 
  3543.    --                                      Max_Count     => -1); 
  3544.  
  3545.    --  ---------------------------------------------------------- 
  3546.    --                 DATABASE (eXtension QoS) 
  3547.    --  ---------------------------------------------------------- 
  3548.  
  3549.    DATABASE_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("Database"); 
  3550.    --  <defgroup>DatabaseQosGroupDocs</defgroup> 
  3551.    --  <dref>DATABASE_QOS_POLICY_NAME</dref> 
  3552.  
  3553.    type DatabaseQosPolicy is record 
  3554.       Thread                      : aliased ThreadSettings_T; 
  3555.       Shutdown_Timeout            : aliased Duration_T := (15, 0); 
  3556.       Cleanup_Period              : aliased Duration_T := (61, 0); 
  3557.       Shutdown_Cleanup_Period     : aliased Duration_T := (1, 0); 
  3558.       Initial_Records             : aliased Long := 1024; 
  3559.       Max_Skiplist_Level          : aliased Long := 7; 
  3560.       Table_Allocation_Block_Size : aliased Long := 48; 
  3561.       Max_Weak_References         : aliased Long := -1; 
  3562.       Initial_Weak_References     : aliased Long := 2049; 
  3563.    end record with Convention => C; 
  3564.    --  <dref>DatabaseQosPolicy</dref> 
  3565.    --  <dref name="Thread">DatabaseQosPolicy_thread</dref> 
  3566.    --  <dref name="Shutdown_Timeout">DatabaseQosPolicy_shutdown_timeout</dref> 
  3567.    --  <dref name="Cleanup_Period">DatabaseQosPolicy_cleanup_period</dref> 
  3568.    --  <dref name="Shutdown_Cleanup_Period">DatabaseQosPolicy_shutdown_cleanup_period</dref> 
  3569.    --  <dref name="Initial_Records">DatabaseQosPolicy_initial_records</dref> 
  3570.    --  <dref name="Max_Skiplist_Level">DatabaseQosPolicy_max_skiplist_level</dref> 
  3571.    --  <dref internal="true" name="Table_Allocation_Block_Sizee">DatabaseQosPolicy_table_allocation_block_size</dref> 
  3572.    --  <dref name="Max_Weak_References">DatabaseQosPolicy_max_weak_references</dref> 
  3573.    --  <dref name="Initial_Weak_References">DatabaseQosPolicy_initial_weak_references</dref> 
  3574.  
  3575.    --     DATABASE_QOS_POLICY_DEFAULT :  constant DatabaseQosPolicy := 
  3576.    --                                     (Thread                      => THREAD_SETTINGS_DEFAULT, 
  3577.    --                                      Shutdown_Timeout            => (15, 0), 
  3578.    --                                      Cleanup_Period              => (61, 0), 
  3579.    --                                      Shutdown_Cleanup_Period     => (1, 0), 
  3580.    --                                      Initial_Records             => 1024, 
  3581.    --                                      Max_Skiplist_Level          => 7, 
  3582.    --                                      Table_Allocation_Block_Size => 48, 
  3583.    --                                      Max_Weak_References         => -1, 
  3584.    --                                      Initial_Weak_References     => 2049); 
  3585.  
  3586.    --  ---------------------------------------------------------- 
  3587.    --                 RECEIVER_POOL (eXtension QoS) 
  3588.    --  ---------------------------------------------------------- 
  3589.  
  3590.    RECEIVERPOOL_QOS_POLICY_NAME : DDS.String := To_DDS_String ("ReceiverPool"); 
  3591.    --  <defgroup>ReceiverPoolQosGroupDocs</defgroup> 
  3592.    --  <dref>RECEIVERPOOL_QOS_POLICY_NAME</dref> 
  3593.  
  3594.    ReceiverPoolQosPolicy_MAX_RECEIVE_THREADS_DEFAULT : constant Long := -1; 
  3595.  
  3596.    type ReceiverPoolQosPolicy is record 
  3597.       Thread                  : aliased ThreadSettings_T; 
  3598.       Initial_Receive_Threads : aliased Long := 4; 
  3599.       Max_Receive_Threads     : aliased Long := ReceiverPoolQosPolicy_MAX_RECEIVE_THREADS_DEFAULT; 
  3600.       Buffer_Size             : aliased Long := 9216; 
  3601.       Buffer_Alignment        : aliased Long := 16; 
  3602.       Is_Timestamp_Enabled    : aliased DDS.Boolean := True; 
  3603.    end record with Convention => C; 
  3604.    --  <dref>ReceiverPoolQosPolicy</dref> 
  3605.    --  <dref name="Thread">ReceiverPoolQosPolicy_thread</dref> 
  3606.    --  <dref internal="true" name="Initial_Receive_Threads">ReceiverPoolQosPolicy_initial_receive_threads</dref> 
  3607.    --  <dref internal="true" name="Max_Receive_Threads">ReceiverPoolQosPolicy_max_receive_threads</dref> 
  3608.    --  <dref name="Buffer_Size">ReceiverPoolQosPolicy_buffer_size</dref> 
  3609.    --  <dref name="Buffer_Alignment">ReceiverPoolQosPolicy_buffer_alignment</dref> 
  3610.    --  <dref internal="true" name="Is_Timestamp_Enabled">ReceiverPoolQosPolicy_is_timestamp_enabled</dref> 
  3611.  
  3612.  
  3613.    --     RECEIVER_POOL_QOS_POLICY_DEFAULT : constant ReceiverPoolQosPolicy := 
  3614.    --                                          (Thread                  => THREAD_SETTINGS_DEFAULT, 
  3615.    --                                           Initial_Receive_Threads => 4, 
  3616.    --                                           Max_Receive_Threads     => ReceiverPoolQosPolicy_MAX_RECEIVE_THREADS_DEFAULT, 
  3617.    --                                           Buffer_Size             => 9216, 
  3618.    --                                           Buffer_Alignment        => 16, 
  3619.    --                                           Is_Timestamp_Enabled    => TRUE); 
  3620.  
  3621.    --  ---------------------------------------------------------- 
  3622.    --                  BuiltinTopicReaderResourceLimits_t 
  3623.    --  ---------------------------------------------------------- 
  3624.  
  3625.    type BuiltinTopicReaderResourceLimits_T is record 
  3626.       Initial_Samples                          : aliased Long := 64; 
  3627.       Max_Samples                              : aliased Long := -1; 
  3628.       Initial_Infos                            : aliased Long := 64; 
  3629.       Max_Infos                                : aliased Long := -1; 
  3630.       Initial_Outstanding_Reads                : aliased Long := 2; 
  3631.       Max_Outstanding_Reads                    : aliased Long := -1; 
  3632.       Max_Samples_Per_Read                     : aliased Long := 1024; 
  3633.       Disable_Fragmentation_Support            : aliased DDS.Boolean := False; 
  3634.       Max_Fragmented_Samples                   : aliased Long := 1024; 
  3635.       Initial_Fragmented_Samples               : aliased Long := 4; 
  3636.       Max_Fragmented_Samples_Per_Remote_Writer : aliased Long := 256; 
  3637.       Max_Fragments_Per_Sample                 : aliased Long := 512; 
  3638.       Dynamically_Allocate_Fragmented_Samples  : aliased DDS.Boolean := False; 
  3639.    end record with Convention => C; 
  3640.    --  <dref>BuiltinTopicReaderResourceLimits_t</dref> 
  3641.    --  <dref name="Initial_Samples">BuiltinTopicReaderResourceLimits_t_initial_samples</dref> 
  3642.    --  <dref name="Max_Samples">BuiltinTopicReaderResourceLimits_t_max_samples</dref> 
  3643.    --  <dref name="Initial_Infos">BuiltinTopicReaderResourceLimits_t_initial_infos</dref> 
  3644.    --  <dref name="Max_Infos">BuiltinTopicReaderResourceLimits_t_max_infos</dref> 
  3645.    --  <dref name="Initial_Outstanding_Reads">BuiltinTopicReaderResourceLimits_t_initial_outstanding_reads</dref> 
  3646.    --  <dref name="Max_Outstanding_Reads">BuiltinTopicReaderResourceLimits_t_max_outstanding_reads</dref> 
  3647.    --  <dref name="Max_Samples_Per_Read">BuiltinTopicReaderResourceLimits_t_max_samples_per_read</dref> 
  3648.    --  <dref name="Disable_Fragmentation_Support">BuiltinTopicReaderResourceLimits_t_disable_fragmentation_support</dref> 
  3649.    --  <dref name="Max_Fragmented_Samples">BuiltinTopicReaderResourceLimits_t_max_fragmented_samples</dref> 
  3650.    --  <dref name="Initial_Fragmented_Samples">BuiltinTopicReaderResourceLimits_t_initial_fragmented_samples</dref> 
  3651.    --  <dref name="Max_Fragmented_Samples_Per_Remote_Writer">BuiltinTopicReaderResourceLimits_t_max_fragmented_samples_per_remote_writer</dref> 
  3652.    --  <dref name="Max_Fragments_Per_Sample">BuiltinTopicReaderResourceLimits_t_max_fragments_per_sample</dref> 
  3653.    --  <dref name="Dynamically_allocate_Fragmented_Samples">BuiltinTopicReaderResourceLimits_t_dynamically_allocate_fragmented_samples</dref> 
  3654.  
  3655.    BUILTIN_TOPIC_READER_RESOURCE_LIMITS_DEFAULT : constant BuiltinTopicReaderResourceLimits_T := 
  3656.                                                     (Initial_Samples                          => 64, 
  3657.                                                      Max_Samples                              => -1, 
  3658.                                                      Initial_Infos                            => 64, 
  3659.                                                      Max_Infos                                => -1, 
  3660.                                                      Initial_Outstanding_Reads                => 2, 
  3661.                                                      Max_Outstanding_Reads                    => -1, 
  3662.                                                      Max_Samples_Per_Read                     => 1024, 
  3663.                                                      Disable_Fragmentation_Support            => False, 
  3664.                                                      Max_Fragmented_Samples                   => 1024, 
  3665.                                                      Initial_Fragmented_Samples               => 4, 
  3666.                                                      Max_Fragmented_Samples_Per_Remote_Writer => 256, 
  3667.                                                      Max_Fragments_Per_Sample                 => 512, 
  3668.                                                      Dynamically_Allocate_Fragmented_Samples  => False); 
  3669.    --  <dref internal="true"></dref> 
  3670.  
  3671.    BUILTIN_TOPIC_KEY_TYPE_NATIVE_LENGTH         : constant := 4; 
  3672.    --  <dref internal="true"></dref> 
  3673.  
  3674.    type  BuiltinTopicKey_Array_T is array 
  3675.      (0 .. BUILTIN_TOPIC_KEY_TYPE_NATIVE_LENGTH - 1) of Builtin_Topic_Key_Type_Native; 
  3676.  
  3677.    type BuiltinTopicKey_T is record 
  3678.       Value : BuiltinTopicKey_Array_T := (others => 0); 
  3679.    end record with Convention => C; 
  3680.    --  <defgroup>BuiltInTopicCommonGroupDocs</defgroup> 
  3681.    --  <dref>BuiltinTopicKey_t</dref> 
  3682.    --  <dref name="Value">BuiltinTopicKey_t_value</dref> 
  3683.  
  3684.    type BuiltinTopicKey_T_Access is access all BuiltinTopicKey_T; 
  3685.  
  3686.    BuiltinTopicKey_T_INITIALIZER : constant BuiltinTopicKey_T := 
  3687.                                      (Value => (0, 0, 0, 0)); 
  3688.    --  <dref internal="true"></dref> 
  3689.  
  3690.    function BuiltinTopicKey_Equals (A : in BuiltinTopicKey_T_Access; 
  3691.                                     B : in BuiltinTopicKey_T_Access) 
  3692.                                     return DDS.Boolean; 
  3693.    --  <dref internal="true"></dref> 
  3694.  
  3695.    --  ---------------------------------------------------------- 
  3696.    --                  PUBLISHMODE (eXtension QoS) 
  3697.    --  ---------------------------------------------------------- 
  3698.  
  3699.    PUBLISHMODE_QOS_POLICY_NAME   : constant DDS.String := To_DDS_String ("PublishMode"); 
  3700.    --  <defgroup>PublishModeQosGroupDocs</defgroup> 
  3701.    --  <dref>PUBLISHMODE_QOS_POLICY_NAME</dref> 
  3702.  
  3703.    type PublishModeQosPolicyKind is new Unsigned_Long; 
  3704.    --  <dref>PublishModeQosPolicyKind</dref> 
  3705.  
  3706.    SYNCHRONOUS_PUBLISH_MODE_QOS  : constant PublishModeQosPolicyKind := 0; 
  3707.    --  <dref>PublishModeQosPolicyKind_SYNCHRONOUS_PUBLISH_MODE_QOS</dref> 
  3708.  
  3709.    ASYNCHRONOUS_PUBLISH_MODE_QOS : constant PublishModeQosPolicyKind := 1; 
  3710.    --  <dref>PublishModeQosPolicyKind_ASYNCHRONOUS_PUBLISH_MODE_QOS</dref> 
  3711.  
  3712.    PUBLICATION_PRIORITY_UNDEFINED : constant Long := 0; 
  3713.    --  <dref>PUBLICATION_PRIORITY_UNDEFINED</dref> 
  3714.  
  3715.    PUBLICATION_PRIORITY_AUTOMATIC : constant Long := -1; 
  3716.    --  <dref>PUBLICATION_PRIORITY_AUTOMATIC</dref> 
  3717.  
  3718.    type PublishModeQosPolicy is record 
  3719.       Kind                 : aliased PublishModeQosPolicyKind := SYNCHRONOUS_PUBLISH_MODE_QOS; 
  3720.       Flow_Controller_Name : aliased DDS.String; 
  3721.       Priority             : aliased Long := PUBLICATION_PRIORITY_UNDEFINED; 
  3722.    end record with Convention => C; 
  3723.    --  <dref>PublishModeQosPolicy</dref> 
  3724.    --  <dref name="Kind">PublishModeQosPolicy_kind</dref> 
  3725.    --  <dref name="Flow_Controller_Name">PublishModeQosPolicy_flow_controller_name</dref> 
  3726.    --  <dref name="Priority">PublishModeQosPolicy_priority</dref> 
  3727.  
  3728.    PUBLISH_MODE_QOS_POLICY_DEFAULT : constant PublishModeQosPolicy := 
  3729.                                        (Kind                      => SYNCHRONOUS_PUBLISH_MODE_QOS, 
  3730.                                         Flow_Controller_Name      => (Data => DDS.NULL_STRING.Data), 
  3731.                                         Priority                  => PUBLICATION_PRIORITY_UNDEFINED 
  3732.                                        ); 
  3733.    --  <dref internal="true"></dref> 
  3734.  
  3735.    --  ---------------------------------------------------------- 
  3736.    --                  DISCOVERY_CONFIG (eXtension QoS) 
  3737.    --  ---------------------------------------------------------- 
  3738.  
  3739.    DISCOVERYCONFIG_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("DiscoveryConfig"); 
  3740.    --  <defgroup>DiscoveryConfigQosGroupDocs</defgroup> 
  3741.    --  <dref>DISCOVERYCONFIG_QOS_POLICY_NAME</dref> 
  3742.  
  3743.    type DiscoveryConfigBuiltinPluginKind is new DDS.Unsigned_Long; 
  3744.    --  <dref>DiscoveryConfigBuiltinPluginKind</dref> 
  3745.  
  3746.    subtype DiscoveryConfigBuiltinPluginKindMask is  DiscoveryConfigBuiltinPluginKind; 
  3747.    --  <dref>DiscoveryConfigBuiltinPluginKindMask</dref> 
  3748.  
  3749.    DISCOVERYCONFIG_BUILTIN_SPDP  : constant  DiscoveryConfigBuiltinPluginKindMask := 2#0001#; 
  3750.    --  <dref internal="true">DiscoveryConfigBuiltinPluginKind_DISCOVERYCONFIG_BUILTIN_SPDP</dref> 
  3751.  
  3752.    DISCOVERYCONFIG_BUILTIN_SEDP  : constant  DiscoveryConfigBuiltinPluginKindMask := 2#0010#; 
  3753.    --  <dref internal="true">DiscoveryConfigBuiltinPluginKind_DISCOVERYCONFIG_BUILTIN_SEDP</dref> 
  3754.  
  3755.    DISCOVERYCONFIG_BUILTIN_SDP   : constant  DiscoveryConfigBuiltinPluginKindMask := 
  3756.                                      (DISCOVERYCONFIG_BUILTIN_SPDP or DISCOVERYCONFIG_BUILTIN_SEDP); 
  3757.    --  <dref>DiscoveryConfigBuiltinPluginKind_DISCOVERYCONFIG_BUILTIN_SDP</dref> 
  3758.  
  3759.    DISCOVERYCONFIG_BUILTIN_EDS   : constant  DiscoveryConfigBuiltinPluginKindMask := 2#0100#; 
  3760.    --  <dref internal="true">DiscoveryConfigBuiltinPluginKind_DISCOVERYCONFIG_BUILTIN_EDS</dref> 
  3761.  
  3762.    DISCOVERYCONFIG_BUILTIN_PLUGIN_MASK_ALL     : 
  3763.    constant  DiscoveryConfigBuiltinPluginKindMask := 16#EFFF#; 
  3764.    --  <dref>DISCOVERYCONFIG_BUILTIN_PLUGIN_MASK_ALL</dref> 
  3765.  
  3766.    DISCOVERYCONFIG_BUILTIN_PLUGIN_MASK_NONE    : 
  3767.    constant  DiscoveryConfigBuiltinPluginKindMask := 0; 
  3768.    --  <dref>DISCOVERYCONFIG_BUILTIN_PLUGIN_MASK_NONE</dref> 
  3769.  
  3770.    DISCOVERYCONFIG_BUILTIN_PLUGIN_MASK_DEFAULT : 
  3771.    constant  DiscoveryConfigBuiltinPluginKindMask := DISCOVERYCONFIG_BUILTIN_SDP; 
  3772.    --  <dref>DISCOVERYCONFIG_BUILTIN_PLUGIN_MASK_DEFAULT</dref> 
  3773.  
  3774.    type DiscoveryPluginPromiscuityKind is new Unsigned_Long; 
  3775.    --  <dref internal="true">DiscoveryPluginPromiscouityKind</dref> 
  3776.  
  3777.    DISCOVERYPLUGIN_DISCOVER_MATCHING_REMOTE_ENTITIES_PROMISCUITY : constant DiscoveryPluginPromiscuityKind := 1; 
  3778.    --  <dref internal="true">DiscoveryPluginPromiscouityKind_DISCOVERYPLUGIN_DISCOVER_MATCHING_REMOTE_ENTITIES_PROMISCUITY</dref> 
  3779.  
  3780.    DISCOVERYPLUGIN_DISCOVER_ALL_REMOTE_ENTITIES_PROMISCUITY : constant DiscoveryPluginPromiscuityKind := 16#FFFF#; 
  3781.    --  <dref internal="true">DiscoveryPluginPromiscouityKind_DISCOVERYPLUGIN_DISCOVER_ALL_REMOTE_ENTITIES_PROMISCUITY</dref> 
  3782.  
  3783.    type RemoteParticipantPurgeKind is new Unsigned_Long; 
  3784.    --  <dref>RemoteParticipantPurgeKind</dref> 
  3785.  
  3786.    LIVELINESS_BASED_REMOTE_PARTICIPANT_PURGE : constant RemoteParticipantPurgeKind := 0; 
  3787.    --  <dref>RemoteParticipantPurgeKind_LIVELINESS_BASED_REMOTE_PARTICIPANT_PURGE</dref> 
  3788.  
  3789.    NO_REMOTE_PARTICIPANT_PURGE   : constant RemoteParticipantPurgeKind := 1; 
  3790.    --  <dref>RemoteParticipantPurgeKind_NO_REMOTE_PARTICIPANT_PURGE</dref> 
  3791.  
  3792.    type DiscoveryBuiltinReaderFragmentationResourceLimits_T is record 
  3793.       Disable_Fragmentation_Support            : aliased DDS.Boolean := False; 
  3794.       Max_Fragmented_Samples                   : aliased Long := 1024; 
  3795.       Initial_Fragmented_Samples               : aliased Long := 4; 
  3796.       Max_Fragmented_Samples_Per_Remote_Writer : aliased Long := 256; 
  3797.       Max_Fragments_Per_Sample                 : aliased Long := 512; 
  3798.       Dynamically_Allocate_Fragmented_Samples  : aliased DDS.Boolean := False; 
  3799.    end record with Convention => C; 
  3800.    --  <dref internal="true">DiscoveryBuiltinReaderFragmentationResourceLimits_t</dref> 
  3801.    --  <dref internal="true" name="Disable_Fragmentation_Support">DiscoveryBuiltinReaderFragmentationResourceLimits_t_disable_fragmentation_support</dref> 
  3802.    --  <dref internal="true" name="Max_Fragmented_Samples">DiscoveryBuiltinReaderFragmentationResourceLimits_t_max_fragmented_samples</dref> 
  3803.    --  <dref internal="true" name="Initial_Fragmented_Samples">DiscoveryBuiltinReaderFragmentationResourceLimits_t_initial_fragmented_samples</dref> 
  3804.    --  <dref internal="true" name="Max_Fragmented_Per_Samples_Per_Remote_Writer">DiscoveryBuiltinReaderFragmentationResourceLimits_t_max_fragmented_per_samples_per_remote_writer</dref> 
  3805.    --  <dref internal="true" name="Max_Fragments_Per_Sample">DiscoveryBuiltinReaderFragmentationResourceLimits_t_max_fragments_per_sample</dref> 
  3806.    --  <dref internal="true" name="Dynamically_Allocate_Fragmented_Samples">DiscoveryBuiltinReaderFragmentationResourceLimits_t_dynamically_allocate_fragmented_samples</dref> 
  3807.  
  3808.  
  3809.    DISCOVERY_BUILTIN_READER_FRAGMENTATION_RESOURCE_LIMITS_DEFAULT : constant DiscoveryBuiltinReaderFragmentationResourceLimits_T := 
  3810.                                                                       (Disable_Fragmentation_Support            => False, 
  3811.                                                                        Max_Fragmented_Samples                   => 1024, 
  3812.                                                                        Initial_Fragmented_Samples               => 4, 
  3813.                                                                        Max_Fragmented_Samples_Per_Remote_Writer => 256, 
  3814.                                                                        Max_Fragments_Per_Sample                 => 512, 
  3815.                                                                        Dynamically_Allocate_Fragmented_Samples  => False); 
  3816.    --  <dref internal="true"></dref> 
  3817.  
  3818.    --  ---------------------------------------------------------- 
  3819.    --                  TYPESUPPORT (eXtension QoS) 
  3820.    --  ---------------------------------------------------------- 
  3821.  
  3822.    TYPESUPPORT_QOS_POLICY_NAME                                    : constant DDS.String := To_DDS_String ("TypeSupport"); 
  3823.    --  <defgroup>TypeSupportQosGroupDocs</defgroup> 
  3824.    --  <dref>TYPESUPPORT_QOS_POLICY_NAME</dref> 
  3825.  
  3826.    type CdrPaddingKind is 
  3827.      (ZERO_CDR_PADDING, 
  3828.       NOT_SET_CDR_PADDING, 
  3829.       AUTO_CDR_PADDING); 
  3830.    pragma Convention (C, CdrPaddingKind); 
  3831.    --  <dref>CdrPaddingKind</dref> 
  3832.    --  <dref name="ZERO_CDR_PADDING">CdrPaddingKind_ZERO_CDR_PADDING</dref> 
  3833.    --  <dref name="NOT_SET_CDR_PADDING">CdrPaddingKind_NOT_SET_CDR_PADDING</dref> 
  3834.    --  <dref name="AUTO_CDR_PADDING">CdrPaddingKind_AUTO_CDR_PADDING</dref> 
  3835.  
  3836.  
  3837.    type TypeSupportQosPolicy is record 
  3838.       Plugin_Data      : aliased DDS_Support.Void_Ptr; 
  3839.       Cdr_Padding_Kind : aliased CdrPaddingKind; 
  3840.    end record with Convention => C; 
  3841.    --  <dref>TypeSupportQosPolicy</dref> 
  3842.    --  <dref name="Plugin_Data">TypeSupportQosPolicy_plugin_data</dref> 
  3843.    --  <dref name="cdr_padding_kind">TypeSupportQosPolicy_cdr_padding_kind</dref> 
  3844.  
  3845.    TYPESUPPORT_QOS_POLICY_DEFAULT : constant TypeSupportQosPolicy := 
  3846.                                       (Plugin_Data      => System.Null_Address, 
  3847.                                        Cdr_Padding_Kind => AUTO_CDR_PADDING); 
  3848.    --  <dref internal="true"></dref> 
  3849.  
  3850.    --  ---------------------------------------------------------- 
  3851.    --                  ASYNCHRONOUS_PUBLISHER (eXtension QoS) 
  3852.    --  ---------------------------------------------------------- 
  3853.  
  3854.    type ThreadBlockingKind is new Unsigned_Long; 
  3855.    --  <defgroup>AsynchronousPublisherQosGroupDocs</defgroup> 
  3856.    --  <dref internal="true">ThreadBlockingKind</dref> 
  3857.  
  3858.    SEMAPHORE_BLOCKING_KIND       : constant ThreadBlockingKind := 0; 
  3859.    --  <dref internal="true">ThreadBlockingKind_SEMAPHORE_BLOCKING_KIND</dref> 
  3860.  
  3861.    SPIN_BLOCKING_KIND            : constant ThreadBlockingKind := 1; 
  3862.    --  <dref internal="true">ThreadBlockingKind_SPIN_BLOCKING_KIND</dref> 
  3863.  
  3864.    ASYNCHRONOUSPUBLISHER_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("AsynchronousPublisher"); 
  3865.    --  <dref>ASYNCHRONOUSPUBLISHER_QOS_POLICY_NAME</dref> 
  3866.  
  3867.    type AsynchronousPublisherQosPolicy is record 
  3868.       Disable_Asynchronous_Write       : aliased DDS.Boolean := False; 
  3869.       Thread                           : aliased ThreadSettings_T; 
  3870.       Disable_Asynchronous_Batch       : aliased Boolean  := False; 
  3871.       Asynchronous_Batch_Thread        : aliased ThreadSettings_T; 
  3872.       Asynchronous_Batch_Blocking_Kind : aliased ThreadBlockingKind := 0; 
  3873.       Disable_Topic_Query_Publication  : aliased DDS.Boolean := False; 
  3874.       Topic_Query_Publication_Thread   : aliased ThreadSettings_T; 
  3875.    end record with Convention => C; 
  3876.    --  <dref>AsynchronousPublisherQosPolicy</dref> 
  3877.    --  <dref name="Disable_Asynchronous_Write">AsynchronousPublisherQosPolicy_disable_asynchronous_write</dref> 
  3878.    --  <dref name="Thread">AsynchronousPublisherQosPolicy_thread</dref> 
  3879.    --  <dref name="disable_asynchronous_batch">AsynchronousPublisherQosPolicy_disable_asynchronous_batch</dref> 
  3880.    --  <dref internal="true" name="asynchronous_batch_blocking_kind">AsynchronousPublisherQosPolicy_asynchronous_batch_blocking_kind</dref> 
  3881.    --  <dref internal="true" name="Disable_Topic_Query_Publication">AsynchronousPublisherQosPolicy_disable_topic_query_publication</dref> 
  3882.    --  <dref internal="true" name="Topic_Query_Publication_Thread">AsynchronousPublisherQosPolicy_topic_query_publication_thread</dref> 
  3883.  
  3884.  
  3885.    --     ASYNCHRONOUS_PUBLISHER_QOS_POLICY_DEFAULT : constant AsynchronousPublisherQosPolicy := 
  3886.    --                                                   (Disable_Asynchronous_Write       => FALSE, 
  3887.    --                                                    Thread                           => THREAD_SETTINGS_DEFAULT, 
  3888.    --                                                    disable_asynchronous_batch       => False, 
  3889.    --                                                    asynchronous_batch_thread        => THREAD_SETTINGS_DEFAULT, 
  3890.    --                                                    asynchronous_batch_blocking_kind => 0); 
  3891.  
  3892.  
  3893.    type DiscoveryConfigQosPolicy is record 
  3894.       Participant_Liveliness_Lease_Duration                  : aliased Duration_T := (100, 0); 
  3895.       Participant_Liveliness_Assert_Period                   : aliased Duration_T := (30, 0); 
  3896.       Remote_Participant_Purge_Kind                          : aliased RemoteParticipantPurgeKind := LIVELINESS_BASED_REMOTE_PARTICIPANT_PURGE; 
  3897.       Max_Liveliness_Loss_Detection_Period                   : aliased Duration_T := (60, 0); 
  3898.       Initial_Participant_Announcements                      : aliased Long := 5; 
  3899.       Min_Initial_Participant_Announcement_Period            : aliased Duration_T := (1, 0); 
  3900.       Max_Initial_Participant_Announcement_Period            : aliased Duration_T := (1, 0); 
  3901.       Participant_Reader_Resource_Limits                     : aliased BuiltinTopicReaderResourceLimits_T := BUILTIN_TOPIC_READER_RESOURCE_LIMITS_DEFAULT; 
  3902.       Publication_Reader                                     : aliased RtpsReliableReaderProtocol_T := RTPS_RELIABLE_READER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT; 
  3903.       Publication_Reader_Resource_Limits                     : aliased BuiltinTopicReaderResourceLimits_T; 
  3904.       Subscription_Reader                                    : aliased RtpsReliableReaderProtocol_T; 
  3905.       Subscription_Reader_Resource_Limits                    : aliased BuiltinTopicReaderResourceLimits_T; 
  3906.       Publication_Writer                                     : aliased RtpsReliableWriterProtocol_T; 
  3907.       Publication_Writer_Data_Lifecycle                      : aliased WriterDataLifecycleQosPolicy; 
  3908.       Subscription_Writer                                    : aliased RtpsReliableWriterProtocol_T; 
  3909.       Subscription_Writer_Data_Lifecycle                     : aliased WriterDataLifecycleQosPolicy; 
  3910.       Endpoint_Plugin_Redundancy_Level                       : aliased Long; 
  3911.       Builtin_Discovery_Plugins                              : aliased DiscoveryConfigBuiltinPluginKindMask; 
  3912.       Participant_Message_Reader_Reliability_Kind            : aliased ReliabilityQosPolicyKind; 
  3913.       Participant_Message_Reader                             : aliased RtpsReliableReaderProtocol_T; 
  3914.       Participant_Message_Writer                             : aliased RtpsReliableWriterProtocol_T; 
  3915.       Publication_Writer_Publish_Mode                        : aliased PublishModeQosPolicy; 
  3916.       Subscription_Writer_Publish_Mode                       : aliased PublishModeQosPolicy; 
  3917.       Asynchronous_Publisher                                 : aliased AsynchronousPublisherQosPolicy; 
  3918.       Default_Domain_Announcement_Period                     : aliased Duration_T; 
  3919.       Ignore_Default_Domain_Announcements                    : aliased Boolean; 
  3920.       Service_Request_Writer                                 : aliased RtpsReliableWriterProtocol_T; 
  3921.       Service_Request_Writer_Data_Lifecycle                  : aliased WriterDataLifecycleQosPolicy; 
  3922.       Service_Request_Writer_Publish_Mode                    : aliased PublishModeQosPolicy; 
  3923.       Service_Request_Reader                                 : aliased RtpsReliableReaderProtocol_T; 
  3924.       Locator_Reachability_Assert_Period                     : aliased Duration_T; 
  3925.       Locator_Reachability_Lease_Duration                    : aliased Duration_T; 
  3926.       Locator_Reachability_Change_Detection_Period           : aliased Duration_T; 
  3927.       --- <<Private data>> 
  3928.       Sedp_Rely_On_Spdp_Only                                 : aliased Boolean; 
  3929.       Publication_Writer_Latency_Budget                      : aliased LatencyBudgetQosPolicy; 
  3930.       Publication_Writer_Push_On_Write                       : aliased Boolean; 
  3931.       Subscription_Writer_Latency_Budget                     : aliased LatencyBudgetQosPolicy; 
  3932.       Subscription_Writer_Push_On_Write                      : aliased Boolean; 
  3933.       Participant_State_Writer                               : aliased RtpsReliableWriterProtocol_T; 
  3934.       Participant_State_Writer_Latency_Budget                : aliased LatencyBudgetQosPolicy; 
  3935.       Participant_State_Writer_Push_On_Write                 : aliased Boolean; 
  3936.       Participant_State_Writer_Publish_Mode                  : aliased PublishModeQosPolicy; 
  3937.       Participant_Proxy_Reader                               : aliased RtpsReliableReaderProtocol_T; 
  3938.       Participant_Proxy_Reader_Fragmentation_Resource_Limits : aliased DiscoveryBuiltinReaderFragmentationResourceLimits_T; 
  3939.       Plugin_Promiscuity_Kind                                : aliased DiscoveryPluginPromiscuityKind; 
  3940.    end record with Convention => C; 
  3941.    --  <dref>DiscoveryConfigQosPolicy</dref> 
  3942.    --  <dref name="participant_liveliness_lease_duration">DiscoveryConfigQosPolicy_participant_liveliness_lease_duration</dref> 
  3943.    --  <dref name="participant_liveliness_assert_period">DiscoveryConfigQosPolicy_participant_liveliness_assert_period</dref> 
  3944.    --  <dref name="remote_participant_purge_kind">DiscoveryConfigQosPolicy_remote_participant_purge_kind</dref> 
  3945.    --  <dref name="max_liveliness_loss_detection_period">DiscoveryConfigQosPolicy_max_liveliness_loss_detection_period</dref> 
  3946.    --  <dref name="initial_participant_announcements">DiscoveryConfigQosPolicy_initial_participant_announcements</dref> 
  3947.    --  <dref name="min_initial_participant_announcement_period">DiscoveryConfigQosPolicy_min_initial_participant_announcement_period</dref> 
  3948.    --  <dref name="max_initial_participant_announcement_period">DiscoveryConfigQosPolicy_max_initial_participant_announcement_period</dref> 
  3949.    --  <dref name="participant_reader_resource_limits">DiscoveryConfigQosPolicy_participant_reader_resource_limits</dref> 
  3950.    --  <dref name="publication_reader">DiscoveryConfigQosPolicy_publication_reader</dref> 
  3951.    --  <dref name="publication_reader_resource_limits">DiscoveryConfigQosPolicy_publication_reader_resource_limits</dref> 
  3952.    --  <dref name="subscription_reader">DiscoveryConfigQosPolicy_subscription_reader</dref> 
  3953.    --  <dref name="subscription_reader_resource_limits">DiscoveryConfigQosPolicy_subscription_reader_resource_limits</dref> 
  3954.    --  <dref name="publication_writer">DiscoveryConfigQosPolicy_publication_writer</dref> 
  3955.    --  <dref name="publication_writer_data_lifecycle">DiscoveryConfigQosPolicy_publication_writer_data_lifecycle</dref> 
  3956.    --  <dref name="subscription_writer">DiscoveryConfigQosPolicy_subscription_writer</dref> 
  3957.    --  <dref name="subscription_writer_data_lifecycle">DiscoveryConfigQosPolicy_subscription_writer_data_lifecycle</dref> 
  3958.    --  <dref internal="true" name="endpoint_plugin_redundancy_level">DiscoveryConfigQosPolicy_endpoint_plugin_redundancy_level</dref> 
  3959.    --  <dref name="Builtin_Discovery_Plugins">DiscoveryConfigQosPolicy_builtin_discovery_plugins</dref> 
  3960.    --  <dref name="Participant_Message_Reader_Reliability_Kind">DiscoveryConfigQosPolicy_participant_message_reader_reliability_kind</dref> 
  3961.    --  <dref name="participant_message_reader">DiscoveryConfigQosPolicy_participant_message_reader</dref> 
  3962.    --  <dref name="participant_message_writer">DiscoveryConfigQosPolicy_participant_message_writer</dref> 
  3963.    --  <dref name="Publication_Writer_Publish_Mode">DiscoveryConfigQosPolicy_publication_writer_publish_mode</dref> 
  3964.    --  <dref name="Subscription_Writer_Publish_Mode">DiscoveryConfigQosPolicy_subscription_writer_publish_mode</dref> 
  3965.    --  <dref name="Asynchronous_Publisher">DiscoveryConfigQosPolicy_asynchronous_publisher</dref> 
  3966.    --  <dref name="default_domain_announcement_period">DiscoveryConfigQosPolicy_default_domain_announcement_period</dref> 
  3967.    --  <dref name="ignore_default_domain_announcements">DiscoveryConfigQosPolicy_ignore_default_domain_announcements</dref> 
  3968.    --  <dref internal="true" name="Service_Request_Writer_Data_Lifecycle">DiscoveryConfigQosPolicy_Service_Request_Writer_Data_Lifecycle</dref> 
  3969.    --  <dref internal="true" name="Service_Request_Writer_Publish_Mode">DiscoveryConfigQosPolicy_Service_Request_Writer_Publish_Mode</dref> 
  3970.    --  <dref internal="true" name="Service_Request_Reader">DiscoveryConfigQosPolicy_Service_Request_Reader</dref> 
  3971.    --  <dref internal="true" name="Locator_Reachability_Assert_Period">DiscoveryConfigQosPolicy_Locator_Reachability_Assert_Period </dref> 
  3972.    --  <dref internal="true" name="Locator_Reachability_Lease_Duration">DiscoveryConfigQosPolicy_Locator_Reachability_Lease_Duration</dref> 
  3973.    --  <dref internal="true" name="Locator_Reachability_Change_Detection_Period">DiscoveryConfigQosPolicy_Locator_Reachability_Change_Detection_Period</dref> 
  3974.    --  <dref internal="true" name="sedp_rely_on_spdp_only">DiscoveryConfigQosPolicy_publication_sedp_rely_on_spdp_only</dref> 
  3975.    --  <dref internal="true" name="publication_writer_latency_budget">DiscoveryConfigQosPolicy_publication_writer_latency_budget</dref> 
  3976.    --  <dref internal="true" name="publication_writer_push_on_write">DiscoveryConfigQosPolicy_publication_writer_push_on_write</dref> 
  3977.    --  <dref internal="true" name="subscription_writer_latency_budget">DiscoveryConfigQosPolicy_subscription_writer_latency_budget</dref> 
  3978.    --  <dref internal="true" name="subscription_writer_push_on_write">DiscoveryConfigQosPolicy_subscription_writer_push_on_write</dref> 
  3979.    --  <dref internal="true" name="participant_state_writer">DiscoveryConfigQosPolicy_participant_state_writer</dref> 
  3980.    --  <dref internal="true" name="participant_state_writer_latency_budget">DiscoveryConfigQosPolicy_participant_state_writer_latency_budget</dref> 
  3981.    --  <dref internal="true" name="participant_state_writer_push_on_write">DiscoveryConfigQosPolicy_participant_state_writer_push_on_write</dref> 
  3982.    --  <dref internal="true" name="participant_state_writer_publish_mode">DiscoveryConfigQosPolicy_participant_state_writer_publish_mode</dref> 
  3983.    --  <dref internal="true" name="participant_proxy_reader">DiscoveryConfigQosPolicy_participant_proxy_reader</dref> 
  3984.    --  <dref internal="true" name="participant_proxy_reader_fragmentation_resource_limits">DiscoveryConfigQosPolicy_participant_proxy_reader_fragmentation_resource_limits</dref> 
  3985.    --  <dref internal="true" name="plugin_promiscuity_kind">DiscoveryConfigQosPolicy_plugin_promiscuity_kind</dref> 
  3986.  
  3987.  
  3988.    --   DISCOVERY_CONFIG_QOS_POLICY_DEFAULT : constant DiscoveryConfigQosPolicy := 
  3989.    --                                           (participant_liveliness_lease_duration                  => (100, 0), 
  3990.    --                                            participant_liveliness_assert_period                   => (30, 0), 
  3991.    --                                            remote_participant_purge_kind                          => LIVELINESS_BASED_REMOTE_PARTICIPANT_PURGE, 
  3992.    --                                            max_liveliness_loss_detection_period                   => (60, 0), 
  3993.    --                                            initial_participant_announcements                      => 5, 
  3994.    --                                            min_initial_participant_announcement_period            => (1, 0), 
  3995.    --                                            max_initial_participant_announcement_period            => (1, 0), 
  3996.    --                                            participant_reader_resource_limits                     => 
  3997.    --                                              BUILTIN_TOPIC_READER_RESOURCE_LIMITS_DEFAULT, 
  3998.    --                                            publication_reader                                     => 
  3999.    --                                              RTPS_RELIABLE_READER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT, 
  4000.    --                                            publication_reader_resource_limits                     => 
  4001.    --                                              BUILTIN_TOPIC_READER_RESOURCE_LIMITS_DEFAULT, 
  4002.    --                                            subscription_reader                                    => 
  4003.    --                                              RTPS_RELIABLE_READER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT, 
  4004.    --                                            subscription_reader_resource_limits                    => 
  4005.    --                                              BUILTIN_TOPIC_READER_RESOURCE_LIMITS_DEFAULT, 
  4006.    --                                            publication_writer                                     => 
  4007.    --                                              RTPS_RELIABLE_WRITER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT, 
  4008.    --                                            publication_writer_data_lifecycle                      => 
  4009.    --                                              WRITER_DATA_LIFECYCLE_QOS_POLICY_DEFAULT, 
  4010.    --                                            subscription_writer                                    => 
  4011.    --                                              RTPS_RELIABLE_WRITER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT, 
  4012.    --                                            subscription_writer_data_lifecycle                     => 
  4013.    --                                              WRITER_DATA_LIFECYCLE_QOS_POLICY_DEFAULT, 
  4014.    --                                            endpoint_plugin_redundancy_level                       => -1, 
  4015.    --                                            Builtin_Discovery_Plugins                              => 
  4016.    --                                              DISCOVERYCONFIG_BUILTIN_PLUGIN_MASK_DEFAULT, 
  4017.    --                                            participant_message_reader                             => 
  4018.    --                                              RTPS_PARTICIPANT_MESSAGE_READER_DISCOVERY_CONFIG_DEFAULT, 
  4019.    --                                            participant_message_writer                             => 
  4020.    --                                              RTPS_PARTICIPANT_MESSAGE_WRITER_DISCOVERY_CONFIG_DEFAULT, 
  4021.    --                                            Publication_Writer_Publish_mode                        => 
  4022.    --                                               (Kind                      => PUBLISH_MODE_QOS_POLICY_DEFAULT.Kind, 
  4023.    --                                                Flow_Controller_Name      => (data => PUBLISH_MODE_QOS_POLICY_DEFAULT.Flow_Controller_Name.data), 
  4024.    --                                                Priority                  => PUBLISH_MODE_QOS_POLICY_DEFAULT.Priority), 
  4025.    --                                            Subscription_Writer_Publish_mode                       => 
  4026.    --                                               (Kind                      => PUBLISH_MODE_QOS_POLICY_DEFAULT.Kind, 
  4027.    --                                                Flow_Controller_Name      => (data => PUBLISH_MODE_QOS_POLICY_DEFAULT.Flow_Controller_Name.data), 
  4028.    --                                                Priority                  => PUBLISH_MODE_QOS_POLICY_DEFAULT.Priority), 
  4029.    --                                            Asynchronous_Publisher                                 => 
  4030.    --                                                (Disable_Asynchronous_Write => FALSE, 
  4031.    --                                                 Thread                     => ( 
  4032.    --                                 (Mask         => THREAD_SETTINGS_OPTION_DEFAULT, 
  4033.    --                                  Priority     => Long (RTIDDS.Osapi_Thread.PRIORITY_DEFAULT), 
  4034.    --                                  Stack_Size   => Long (RTIDDS.Osapi_Thread.STACK_SIZE_DEFAULT), 
  4035.    --                                  Cpu_List     => DDS.Long_Seq.DEFAULT_SEQUENCE, 
  4036.    --                                  Cpu_Rotation => THREAD_SETTINGS_CPU_ROTATION_DEFAULT)), 
  4037.    --                                                 disable_asynchronous_batch => False, 
  4038.    --                                                 asynchronous_batch_thread  => ( 
  4039.    --                                 (Mask         => THREAD_SETTINGS_OPTION_DEFAULT, 
  4040.    --                                  Priority     => Long (RTIDDS.Osapi_Thread.PRIORITY_DEFAULT), 
  4041.    --                                  Stack_Size   => Long (RTIDDS.Osapi_Thread.STACK_SIZE_DEFAULT), 
  4042.    --                                  Cpu_List     => DDS.Long_Seq.DEFAULT_SEQUENCE, 
  4043.    --                                  Cpu_Rotation => THREAD_SETTINGS_CPU_ROTATION_DEFAULT)), 
  4044.    --                                                 asynchronous_batch_blocking_kind => 0), 
  4045.    --                                            --   /***************** HIDDEN FROM USER ********************************/ 
  4046.    --                                            sedp_rely_on_spdp_only                                 => False, 
  4047.    --                                            publication_writer_latency_budget                      => 
  4048.    --                                              LATENCY_BUDGET_QOS_POLICY_DEFAULT, 
  4049.    --                                            publication_writer_push_on_write                       => True, 
  4050.    --                                            subscription_writer_latency_budget                     => 
  4051.    --                                              LATENCY_BUDGET_QOS_POLICY_DEFAULT, 
  4052.    --                                            subscription_writer_push_on_write                      => True, 
  4053.    --                                            participant_state_writer 
  4054.    --                                                                                                   => RTPS_RELIABLE_WRITER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT, 
  4055.    --                                            participant_state_writer_latency_budget                => 
  4056.    --                                              LATENCY_BUDGET_QOS_POLICY_DEFAULT, 
  4057.    --                                            participant_state_writer_push_on_write                 => True, 
  4058.    --                                            participant_state_writer_publish_mode                  => 
  4059.    --                                               (Kind                      => PUBLISH_MODE_QOS_POLICY_DEFAULT.Kind, 
  4060.    --                                                Flow_Controller_Name      => (data => PUBLISH_MODE_QOS_POLICY_DEFAULT.Flow_Controller_Name.data), 
  4061.    --                                                Priority                  => PUBLISH_MODE_QOS_POLICY_DEFAULT.Priority), 
  4062.    --                                            participant_proxy_reader                               => 
  4063.    --                                              RTPS_RELIABLE_READER_PROTOCOL_DISCOVERY_CONFIG_DEFAULT, 
  4064.    --                                            participant_proxy_reader_fragmentation_resource_limits => 
  4065.    --                                              DISCOVERY_BUILTIN_READER_FRAGMENTATION_RESOURCE_LIMITS_DEFAULT, 
  4066.    --                                            plugin_promiscuity_kind                                => 
  4067.    --                                              DISCOVERYPLUGIN_DISCOVER_MATCHING_REMOTE_ENTITIES_PROMISCUITY); 
  4068.    --  <dref internal="true"></dref> 
  4069.  
  4070.    --  ---------------------------------------------------------- 
  4071.    --                  USEROBJECT (eXtension QoS) 
  4072.    --  ---------------------------------------------------------- 
  4073.  
  4074.    USEROBJECT_QOS_POLICY_NAME    : constant DDS.String := To_DDS_String ("UserObject"); 
  4075.    --  <defgroup internal="true">UserObjectQosGroupDocs</defgroup> 
  4076.    --  <dref internal="true">USEROBJECT_QOS_POLICY_NAME</dref> 
  4077.  
  4078.    type UserObjectQosPolicy is record 
  4079.       Participant_User_Object            : aliased UserObjectSettings_T; 
  4080.       Topic_User_Object                  : aliased UserObjectSettings_T; 
  4081.       Content_Filtered_Topic_User_Object : aliased UserObjectSettings_T; 
  4082.       Publisher_User_Object              : aliased UserObjectSettings_T; 
  4083.       Data_Writer_User_Object            : aliased UserObjectSettings_T; 
  4084.       Subscriber_User_Object             : aliased UserObjectSettings_T; 
  4085.       Data_Reader_User_Object            : aliased UserObjectSettings_T; 
  4086.       Read_Condition_User_Object         : aliased UserObjectSettings_T; 
  4087.       Query_Condition_User_Object        : aliased UserObjectSettings_T; 
  4088.       Index_Condition_User_Object        : aliased UserObjectSettings_T; 
  4089.       Flow_Controller_User_Object        : aliased UserObjectSettings_T; 
  4090.    end record with Convention => C; 
  4091.    --  <dref internal="true">UserObjectQosPolicy</dref> 
  4092.    --  <dref internal="true" name="Participant_User_Object">UserObjectQosPolicy_participant_user_object</dref> 
  4093.    --  <dref internal="true" name="Topic_User_Object">UserObjectQosPolicy_topic_user_object</dref> 
  4094.    --  <dref internal="true" name="Content_Filtered_Topic_User_Object">UserObjectQosPolic_content_filtered_topic_user_object</dref> 
  4095.    --  <dref internal="true" name="Publisher_User_Object">UserObjectQosPolicy_publisher_user_object</dref> 
  4096.    --  <dref internal="true" name="Data_Writer_User_Object">UserObjectQosPolicy_data_writer_user_object</dref> 
  4097.    --  <dref internal="true" name="Subscriber_User_Object">UserObjectQosPolicy_subscriber_user_object</dref> 
  4098.    --  <dref internal="true" name="Data_Reader_User_Object">UserObjectQosPolicy_data_reader_user_object</dref> 
  4099.    --  <dref internal="true" name="Read_Condition_User_Object">UserObjectQosPolicy_read_condition_user_object</dref> 
  4100.    --  <dref internal="true" name="Query_Condition_User_Object">UserObjectQosPolicy_query_condition_user_object</dref> 
  4101.    --  <dref internal="true" name="Index_Condition_User_Object">UserObjectQosPolicy_index_condition_user_object</dref> 
  4102.    --  <dref internal="true" name="Flow_Controller_User_Object">UserObjectQosPolicy_flow_controller_user_object</dref> 
  4103.  
  4104.    USER_OBJECT_QOS_POLICY_DEFAULT : constant UserObjectQosPolicy := 
  4105.                                       (others => (0, 0)); 
  4106.    --  <dref internal="true"></dref> 
  4107.  
  4108.    --  ---------------------------------------------------------- 
  4109.    --                  EXCLUSIVEAREA (eXtension QoS) 
  4110.    --  ---------------------------------------------------------- 
  4111.  
  4112.    EXCLUSIVEAREA_QOS_POLICY_NAME  : constant DDS.String := To_DDS_String ("ExclusiveArea"); 
  4113.    --  <defgroup>ExclusiveAreaQosGroupDocs</defgroup> 
  4114.    --  <dref>EXCLUSIVEAREA_QOS_POLICY_NAME</dref> 
  4115.  
  4116.    type ExclusiveAreaQosPolicy is record 
  4117.       Use_Shared_Exclusive_Area : aliased DDS.Boolean; 
  4118.       Level                     : aliased DDS.Long; 
  4119.    end record with Convention => C; 
  4120.    --  <dref>ExclusiveAreaQosPolicy</dref> 
  4121.    --  <dref name="User_Shared_Exclusive_Area">ExclusiveAreaQosPolicy_use_shared_exclusive_area</dref> 
  4122.    --  <dref internal="true" name="Level">ExclusiveAreaQosPolicy_level</dref> 
  4123.  
  4124.    EXCLUSIVE_AREA_AUTO_LEVEL     : constant DDS.Long := -1; 
  4125.    --  <dref internal="true">ExclusiveAreaQosPolicy_AUTO_LEVEL</dref> 
  4126.  
  4127.    EXCLUSIVE_AREA_QOS_POLICY_DEFAULT : constant ExclusiveAreaQosPolicy := 
  4128.                                          (Use_Shared_Exclusive_Area => False, 
  4129.                                           Level                     => EXCLUSIVE_AREA_AUTO_LEVEL); 
  4130.    --  <dref internal="true"></dref> 
  4131.  
  4132.    --  ---------------------------------------------------------- 
  4133.    --                  TOPICQUERYDISPATCH (eXtension QoS) 
  4134.    --  ---------------------------------------------------------- 
  4135.  
  4136.    TOPIC_QUERY_DISPATCH_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TopicQueryDispatch"); 
  4137.    --  TODO: Add Docs 
  4138.  
  4139.    type TopicQueryDispatchQosPolicy is record 
  4140.       Enable                      : aliased DDS.Boolean; 
  4141.       Publication_period          : aliased Duration_T; 
  4142.       Samples_Per_Period          : aliased DDS.Long; 
  4143.    end record with Convention => C; 
  4144.    --  TODO: Add Docs 
  4145.  
  4146.    TOPIC_QUERY_DISPATCH_QOS_POLICY_DEFAULT : constant TopicQueryDispatchQosPolicy := 
  4147.                                      ( 
  4148.                                       Enable                      => False, 
  4149.                                       Publication_period          => (16#0000_0001#, 16#0000_0000#), 
  4150.                                       Samples_Per_Period          => -1 
  4151.                                      ); 
  4152.    --  TODO: Add Docs 
  4153.  
  4154.    --  ---------------------------------------------------------- 
  4155.    --                  BATCH (eXtension QoS) 
  4156.    --  ---------------------------------------------------------- 
  4157.  
  4158.    BATCH_QOS_POLICY_NAME         : constant DDS.String := To_DDS_String ("Batch"); 
  4159.    --  <defgroup>BatchQosGroupDocs</defgroup> 
  4160.    --  <dref>BATCH_QOS_POLICY_NAME</dref> 
  4161.  
  4162.    type BatchQosPolicy is record 
  4163.       Enable                      : aliased DDS.Boolean; 
  4164.       Max_Data_Bytes              : aliased DDS.Long; 
  4165.       Max_Meta_Data_Bytes         : aliased DDS.Long; 
  4166.       Max_Samples                 : aliased DDS.Long; 
  4167.       Max_Flush_Delay             : aliased Duration_T; 
  4168.       Source_Timestamp_Resolution : aliased Duration_T; 
  4169.       Thread_Safe_Write           : aliased DDS.Boolean; 
  4170.    end record with Convention => C; 
  4171.    --  <dref>BatchQosPolicy</dref> 
  4172.    --  <dref name="enable">BatchQosPolicy_enable</dref> 
  4173.    --  <dref name="max_data_bytes">BatchQosPolicy_max_data_bytes</dref> 
  4174.    --  <dref internal="true" name="max_meta_data_bytes">BatchQosPolicy_max_meta_data_bytes</dref> 
  4175.    --  <dref name="max_samples">BatchQosPolicy_max_samples</dref> 
  4176.    --  <dref name="max_flush_delay">BatchQosPolicy_max_flush_delay</dref> 
  4177.    --  <dref name="source_timestamp_resolution">BatchQosPolicy_source_timestamp_resolution</dref> 
  4178.    --  <dref name="thread_safe_write">BatchQosPolicy_thread_safe_write</dref> 
  4179.  
  4180.    BATCH_QOS_POLICY_DEFAULT      : constant BatchQosPolicy := 
  4181.                                      ( 
  4182.                                       Enable                      => False, 
  4183.                                       Max_Data_Bytes              => 1024, 
  4184.                                       Max_Meta_Data_Bytes         => LENGTH_UNLIMITED, 
  4185.                                       Max_Samples                 => LENGTH_UNLIMITED, 
  4186.                                       Max_Flush_Delay             => (16#7FFF_FFFF#, 16#7FFF_FFFF#), 
  4187.                                       Source_Timestamp_Resolution => (16#7FFF_FFFF#, 16#7FFF_FFFF#), 
  4188.                                       Thread_Safe_Write           => True 
  4189.                                      ); 
  4190.    --  <dref internal="true"></dref> 
  4191.  
  4192.    --  ---------------------------------------------------------- 
  4193.    --       TYPE_CONSISTENCY_ENFORCEMENT (XTYPES) 
  4194.    --  ---------------------------------------------------------- 
  4195.  
  4196.    TYPE_CONSISTENCY_ENFORCEMENT_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("TypeConsistencyEnforcement"); 
  4197.    --  <defgroup>TypeConsistencyEnforcementQosGroupDocs</defgroup> 
  4198.    --  <dref>TYPE_CONSISTENCY_ENFORCEMENT_QOS_POLICY_NAME</dref> 
  4199.  
  4200.    type TypeConsistencyKind is new Unsigned_Long; 
  4201.    --  <dref>TypeConsistencyKind</dref> 
  4202.  
  4203.    DISALLOW_TYPE_COERCION        : constant TypeConsistencyKind := 0; 
  4204.    --  <dref>TypeConsistencyKind_DISALLOW_TYPE_COERCION</dref> 
  4205.  
  4206.    ALLOW_TYPE_COERCION           : constant TypeConsistencyKind := 1; 
  4207.    --  <dref>TypeConsistencyKind_ALLOW_TYPE_COERCION</dref> 
  4208.  
  4209.    type TypeConsistencyEnforcementQosPolicy is record 
  4210.       Kind                      : aliased TypeConsistencyKind; 
  4211.    end record with Convention => C; 
  4212.    --  <dref>TypeConsistencyEnforcementQosPolicy</dref> 
  4213.    --  <dref name="kind">TypeConsistencyEnforcementQosPolicy_kind</dref> 
  4214.  
  4215.    TYPE_CONSISTENCY_ENFORCEMENT_QOS_POLICY_DEFAULT : constant TypeConsistencyEnforcementQosPolicy := 
  4216.                                                        ( 
  4217.                                                         Kind => ALLOW_TYPE_COERCION 
  4218.                                                        ); 
  4219.    --  <dref internal="true"></dref> 
  4220.  
  4221.    --  ---------------------------------------------------------- 
  4222.    --                  LOCATORFILTER (eXtension QoS) 
  4223.    --  ---------------------------------------------------------- 
  4224.  
  4225.    type LocatorFilter_T is record 
  4226.       Locators          : aliased Locator_Seq.Sequence; 
  4227.       Filter_Expression : DDS.String; 
  4228.    end record with Convention => C; 
  4229.    --  <defgroup>LocatorFilterQosGroupDocs</defgroup> 
  4230.    --  <dref>LocatorFilter_t</dref> 
  4231.    --  <dref name="locators">LocatorFilter_t_locators</dref> 
  4232.    --  <dref name="filter_expression">LocatorFilter_t_filter_expression</dref> 
  4233.  
  4234.  
  4235.    type LocatorFilter_T_Access is access all LocatorFilter_T; 
  4236.    type LocatorFilter_T_Array is array 
  4237.      (Natural range <>) of aliased LocatorFilter_T; 
  4238.    procedure Initialize (Self : in out LocatorFilter_T); 
  4239.    procedure Finalize (Self : in out LocatorFilter_T); 
  4240.    procedure Copy (Dst : in out LocatorFilter_T; 
  4241.                    Src : in LocatorFilter_T); 
  4242.    package LocatorFilter_Seq is new DDS_Support.Sequences_Generic 
  4243.      (LocatorFilter_T, 
  4244.       LocatorFilter_T_Access, 
  4245.       DDS.Natural, 
  4246.       1, 
  4247.       LocatorFilter_T_Array); 
  4248.    --  <dref>LocatorFilterSeq</dref> 
  4249.  
  4250.    LOCATORFILTER_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("LocatorFilter"); 
  4251.    --  <dref>LOCATORFILTER_QOS_POLICY_NAME</dref> 
  4252.  
  4253.    type LocatorFilterQosPolicy is record 
  4254.       Locator_Filters : aliased DDS.LocatorFilter_Seq.Sequence; 
  4255.       Filter_Name     : aliased DDS.String; 
  4256.    end record with Convention => C; 
  4257.    --  <dref>LocatorFilterQosPolicy</dref> 
  4258.    --  <dref name="locator_filters">LocatorFilterQosPolicy_locator_filters</dref> 
  4259.    --  <dref name="filer_name">LocatorFilterQosPolicy_filter_name</dref> 
  4260.  
  4261.    --     LOCATOR_FILTER_QOS_POLICY_DEFAULT : constant LocatorFilterQosPolicy := 
  4262.    --       ( 
  4263.    --        locator_filters => DDS.LocatorFilter_Seq.DEFAULT_SEQUENCE, 
  4264.    --        filter_name => DDS.NULL_STRING 
  4265.    --       ); 
  4266.  
  4267.    --  ---------------------------------------------------------- 
  4268.    --                  MULTICHANNEL (eXtension QoS) 
  4269.    --  ---------------------------------------------------------- 
  4270.  
  4271.    type ChannelSettings_T is record 
  4272.       Multicast_Settings : aliased TransportMulticastSettings_Seq.Sequence; 
  4273.       Filter_Expression  : DDS.String; 
  4274.       Priority           : DDS.Long; 
  4275.    end record with Convention => C; 
  4276.    --  <defgroup>MultiChannelQosGroupDocs</defgroup> 
  4277.    --  <dref>ChannelSettings_t</dref> 
  4278.    --  <dref name="multicast_settings">ChannelSettings_t_multicast_settings</dref> 
  4279.    --  <dref name="filter_expression">ChannelSettings_t_filter_expression</dref> 
  4280.    --  <dref name="priority">ChannelSettings_t_priority</dref> 
  4281.  
  4282.    type ChannelSettings_T_Access is access all ChannelSettings_T; 
  4283.    type ChannelSettings_T_Array is array 
  4284.      (Natural range <>) of aliased ChannelSettings_T; 
  4285.    procedure Initialize (Self : in out ChannelSettings_T); 
  4286.    procedure Finalize (Self : in out ChannelSettings_T); 
  4287.    procedure Copy (Dst : in out ChannelSettings_T; 
  4288.                    Src : in ChannelSettings_T); 
  4289.  
  4290.    package ChannelSettings_Seq is new DDS_Support.Sequences_Generic 
  4291.      (ChannelSettings_T, 
  4292.       ChannelSettings_T_Access, 
  4293.       DDS.Natural, 
  4294.       1, 
  4295.       ChannelSettings_T_Array); 
  4296.    --  <dref>ChannelSettingsSeq</dref> 
  4297.  
  4298.    MULTICHANNEL_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("MultiChannel"); 
  4299.    --  <dref>MULTICHANNEL_QOS_POLICY_NAME</dref> 
  4300.  
  4301.    type MultiChannelQosPolicy is record 
  4302.       Channels    : aliased DDS.ChannelSettings_Seq.Sequence; 
  4303.       Filter_Name : aliased DDS.String; 
  4304.    end record with Convention => C; 
  4305.    --  <dref>MultiChannelQosPolicy</dref> 
  4306.    --  <dref name="channels">MultiChannelQosPolicy_channels</dref> 
  4307.    --  <dref name="filter_name">MultiChannelQosPolicy_filter_name</dref> 
  4308.  
  4309.  
  4310.    --     MULTICHANNEL_QOS_POLICY_DEFAULT : constant MultiChannelQosPolicy := 
  4311.    --       ( 
  4312.    --        channels    => DDS.ChannelSettings_Seq.DEFAULT_SEQUENCE, 
  4313.    --        filter_name => DDS.NULL_STRING 
  4314.    --       ); 
  4315.  
  4316.    --  ---------------------------------------------------------- 
  4317.    --                  PROPERTY (eXtension QoS) 
  4318.    --  ---------------------------------------------------------- 
  4319.  
  4320.    type Property_T is record 
  4321.       Name      : aliased DDS.String; 
  4322.       Value     : aliased DDS.String; 
  4323.       Propagate : aliased DDS.Boolean; 
  4324.    end record with Convention => C; 
  4325.    --  <defgroup>PropertyQosGroupDocs</defgroup> 
  4326.    --  <dref>Property_t</dref> 
  4327.    --  <dref name="Name">Property_t_name</dref> 
  4328.    --  <dref name="Value">Property_t_value</dref> 
  4329.    --  <dref name="Propagate">Property_t_propagate</dref> 
  4330.  
  4331.    type Property_T_Access is access all Property_T; 
  4332.  
  4333.    type Property_T_Array is array (Natural range <>) of aliased Property_T; 
  4334.    procedure Initialize (Self  : in out Property_T); 
  4335.    procedure Finalize (Self  : in out Property_T); 
  4336.    procedure Copy (Dst : in out Property_T; Src : in Property_T); 
  4337.  
  4338.    package Property_T_Seq is new DDS_Support.Sequences_Generic 
  4339.      (Property_T, 
  4340.       Property_T_Access, 
  4341.       DDS.Natural, 
  4342.       1, 
  4343.       Property_T_Array); 
  4344.    --  <dref>PropertySeq</dref> 
  4345.  
  4346.    type Property_T_Seq_Access is access all Property_T_Seq.Sequence; 
  4347.  
  4348.    PROPERTY_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("Property"); 
  4349.    --  <dref>PROPERTY_QOS_POLICY_NAME</dref> 
  4350.  
  4351.    type PropertyQosPolicy is record 
  4352.       Value :  aliased Property_T_Seq.Sequence; 
  4353.    end record with Convention => C; 
  4354.    --  <dref>PropertyQosPolicy</dref> 
  4355.    --  <dref name="Value">PropertyQosPolicy_value</dref> 
  4356.  
  4357.    type PropertyQosPolicy_Access is access all PropertyQosPolicy; 
  4358.  
  4359.    --     PROPERTY_QOS_POLICY_DEFAULT : constant PropertyQosPolicy := 
  4360.    --                                     (Value => Property_T_Seq.DEFAULT_SEQUENCE); 
  4361.  
  4362.  
  4363.  
  4364.    function Contains (P    : PropertyQosPolicy; 
  4365.                       Name : Standard.String) return Boolean; 
  4366.    function Contains (P    : PropertyQosPolicy; 
  4367.                       Name : DDS.String) return Boolean; 
  4368.  
  4369.    function Length (P : PropertyQosPolicy) return Natural; 
  4370.  
  4371.    procedure Append (P     : in out PropertyQosPolicy; 
  4372.                      Name  : Standard.String; 
  4373.                      Value     : Standard.String; 
  4374.                      Propagate : Boolean := False); 
  4375.    procedure Append (P    : in out PropertyQosPolicy; 
  4376.                      Name  : DDS.String; 
  4377.                      Value     : DDS.String; 
  4378.                      Propagate : Boolean := False); 
  4379.  
  4380.    procedure Delete (P : in out PropertyQosPolicy; Name : Standard.String); 
  4381.    procedure Delete (P : in out PropertyQosPolicy; Name : DDS.String); 
  4382.  
  4383.    function Get (P    : PropertyQosPolicy; 
  4384.                  Name : Standard.String) return Standard.String; 
  4385.    function Get (P    : PropertyQosPolicy; 
  4386.                  Name : DDS.String) return DDS.String; 
  4387.  
  4388.  
  4389.    --  ---------------------------------------------------------- 
  4390.    --                  WaitSetProperty_t 
  4391.    --  ---------------------------------------------------------- 
  4392.  
  4393.    type WaitSetProperty_T is record 
  4394.       Max_Event_Count : aliased Interfaces.C.long; -- Use the same definition of long as in C 
  4395.       Max_Event_Delay : aliased Duration_T; 
  4396.    end record with Convention => C; 
  4397.    --  <dref>WaitSetProperty_t</dref> 
  4398.    --  <dref name="max_event_count">WaitSetProperty_t_max_event_count</dref> 
  4399.    --  <dref name="max_event_delay">WaitSetProperty_t_max_event_delay</dref> 
  4400.  
  4401.  
  4402.    --  ---------------------------------------------------------- 
  4403.    --                  EndpointGroup_t 
  4404.    --  ---------------------------------------------------------- 
  4405.  
  4406.    type EndpointGroup_T is record 
  4407.       Role_Name    : aliased DDS.String; 
  4408.       Quorum_Count : aliased Integer := 0; 
  4409.    end record with Convention => C; 
  4410.    --  <dref>EndpointGroup_t</dref> 
  4411.    --  <dref name="role_name">EndpointGroup_t_role_name</dref> 
  4412.    --  <dref name="quorum_count">EndpointGroup_t_quorum_count</dref> 
  4413.  
  4414.    type EndpointGroup_T_Access is access all EndpointGroup_T; 
  4415.  
  4416.    type EndpointGroup_T_Array is array (Natural range <>) of aliased EndpointGroup_T; 
  4417.  
  4418.    pragma Convention (C, EndpointGroup_T_Array); 
  4419.  
  4420.    procedure Initialize (Self  : in out EndpointGroup_T); 
  4421.    procedure Finalize (Self  : in out EndpointGroup_T); 
  4422.    procedure Copy (Dst : in out EndpointGroup_T; Src : in EndpointGroup_T); 
  4423.  
  4424.    package EndpointGroup_T_Seq is new DDS_Support.Sequences_Generic 
  4425.      (Element        => EndpointGroup_T, 
  4426.       Element_Access => EndpointGroup_T_Access, 
  4427.       Index_Type     => Natural, 
  4428.       First_Element  => 1, 
  4429.       Element_Array  => EndpointGroup_T_Array); 
  4430.    --  <dref>EndpointGroupSeq</dref> 
  4431.  
  4432.    type EndpointGroup_T_Seq_Access is access all EndpointGroup_T_Seq.Sequence; 
  4433.  
  4434.    --  ---------------------------------------------------------- 
  4435.    --                  AvailabilityQosPolicy 
  4436.    --  ---------------------------------------------------------- 
  4437.  
  4438.    type AvailabilityQosPolicy is record 
  4439.       Enable_Required_Subscriptions          : aliased Boolean := False; 
  4440.       Max_Data_Availability_Waiting_Time     : aliased Duration_T := (1, 0); 
  4441.       Max_Endpoint_Availability_Waiting_Time : aliased Duration_T := (1, 0); 
  4442.       Required_Matched_Endpoint_Groups       : aliased EndpointGroup_T_Seq.Sequence; 
  4443.    end record with Convention => C; 
  4444.    --  <defgroup>AvailabilityQosGroupDocs</defgroup> 
  4445.    --  <dref >AvailabilityQosPolicy</dref> 
  4446.    --  <dref name="enable_required_subscriptions">AvailabilityQosPolicy_enable_required_subscriptions</dref> 
  4447.    --  <dref name="max_data_availability_waiting_time">AvailabilityQosPolicy_max_data_availability_waiting_time</dref> 
  4448.    --  <dref name="max_endpoint_availability_waiting_time">AvailabilityQosPolicy_max_endpoint_availability_waiting_time</dref> 
  4449.    --  <dref name="required_matched_endpoint_groups">AvailabilityQosPolicy_required_matched_endpoint_groups</dref> 
  4450.  
  4451.    AVAILABILITY_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("Availability"); 
  4452.    --  <dref>AVAILABILITY_QOS_POLICY_NAME</dref> 
  4453.  
  4454.    --  #define DDS_AVAILABILITY_QOS_POLICY_DEFAULT { 
  4455.    --  { 0xffffffffL, 0UL }, /* max_data_availability_waiting_time */\ 
  4456.    --  { 0xffffffffL, 0UL }, /* max_endpoint_availability_waiting_time */ \ 
  4457.    --  EndpointGroup_T_Seq.Sequence.DEFAULT_SEQUENCE /* required_matched_endpoint_groups */ \ 
  4458.  
  4459.    --  package QosPolicyCount_Seq is new DDS_Support.Sequences_Generic 
  4460.    --  (QosPolicyCount, 
  4461.    --   QosPolicyCount_Access, 
  4462.    --   DDS.Natural, 
  4463.    --   1, 
  4464.    --   QosPolicyCount_Array); 
  4465.    --  <dref>QosPolicyCountSeq</dref> 
  4466.  
  4467.    --  ---------------------------------------------------------- 
  4468.    --                  ContentFilterProperty_t 
  4469.    --  ---------------------------------------------------------- 
  4470.  
  4471.    type ContentFilterProperty_T is record 
  4472.       Content_Filter_Topic_Name : aliased DDS.String; 
  4473.       Related_Topic_Name        : aliased DDS.String; 
  4474.       Filter_Class_Name         : aliased DDS.String; 
  4475.       Filter_Expression         : aliased DDS.String; 
  4476.       Expression_Parameters     : aliased DDS.String_Seq.Sequence; 
  4477.    end record with Convention => C; 
  4478.    --  <dref>ContentFilterProperty_t</dref> 
  4479.    --  <dref name="Content_Filter_Topic_Name">ContentFilterProperty_t_content_filter_topic_name</dref> 
  4480.    --  <dref name="Related_Topic_Name">ContentFilterProperty_t_related_topic_name</dref> 
  4481.    --  <dref name="Filter_Class_Name">ContentFilterProperty_t_filter_class_name</dref> 
  4482.    --  <dref name="Filter_Expression">ContentFilterProperty_t_filter_expression</dref> 
  4483.    --  <dref name="Expression_Parameters">ContentFilterProperty_t_expression_parameters</dref> 
  4484.  
  4485.    --     CONTENT_FILTER_PROPERTY_DEFAULT : constant ContentFilterProperty_T := 
  4486.    --                                         (Content_Filter_Topic_Name => NULL_STRING, 
  4487.    --                                          Related_Topic_Name        => NULL_STRING, 
  4488.    --                                          Filter_Class_Name         => NULL_STRING, 
  4489.    --                                          Filter_Expression         => NULL_STRING, 
  4490.    --                                          Expression_Parameters     => String_Seq.DEFAULT_SEQUENCE); 
  4491.  
  4492.    --  ---------------------------------------------------------- 
  4493.    --                  ENTITY_NAME (eXtension QoS) 
  4494.    --  ---------------------------------------------------------- 
  4495.  
  4496.    ENTITYNAME_QOS_POLICY_NAME : constant DDS.String := To_DDS_String ("EntityName"); 
  4497.    --  <defgroup>EntityNameQosGroupDocs</defgroup> 
  4498.    --  <dref>ENTITYNAME_QOS_POLICY_NAME</dref> 
  4499.  
  4500.    type EntityNameQosPolicy is record 
  4501.       Name      : aliased DDS.String; 
  4502.       Role_Name : aliased DDS.String; 
  4503.    end record with Convention => C; 
  4504.    --  <dref>EntityNameQosPolicy</dref> 
  4505.    --  <dref name="Name">EntityNameQosPolicy_name</dref> 
  4506.    --  <dref name="Role_Name">EntityNameQosPolicy_role_name</dref> 
  4507.  
  4508.    ENTITY_NAME_QOS_POLICY_DEFAULT : constant EntityNameQosPolicy := 
  4509.                                       (Name      => (Data => DDS.NULL_STRING.Data), 
  4510.                                        Role_Name => (Data => DDS.NULL_STRING.Data)); 
  4511.    --  <dref internal="true"></dref> 
  4512.  
  4513.    --  ---------------------------------------------------------- 
  4514.    --                  LoggingQosPolicy 
  4515.    --  ---------------------------------------------------------- 
  4516.  
  4517.    LOGGING_QOS_POLICY_NAME        : constant DDS.String := To_DDS_String ("Logging"); 
  4518.    --  <defgroup>LoggingQosGroupDocs</defgroup> 
  4519.    --  <dref>LOGGING_QOS_POLICY_NAME</dref> 
  4520.  
  4521.    --  ---------------------------------------------------------- 
  4522.    --                  PROFILE (eXtension QoS) 
  4523.    --  ---------------------------------------------------------- 
  4524.  
  4525.    PROFILE_QOS_POLICY_NAME  : constant DDS.String := To_DDS_String ("Profile"); 
  4526.    --  <defgroup>ProfileQosGroupDocs</defgroup> 
  4527.    --  <dref>PROFILE_QOS_POLICY_NAME</dref> 
  4528.  
  4529.    type ProfileQosPolicy is record 
  4530.       String_Profile                  : aliased String_Seq.Sequence; 
  4531.       Url_Profile                     : aliased String_Seq.Sequence; 
  4532.       Ignore_User_Profile             : aliased Boolean := False; 
  4533.       Ignore_Environment_Profile      : aliased Boolean := False; 
  4534.       Ignore_Resource_Profile         : aliased Boolean := False; 
  4535.       String_Profile_Dtd              : aliased String_Seq.Sequence; 
  4536.       Ignore_Is_Default_Qos_Attribute :  aliased Boolean := False; 
  4537.    end record with Convention => C; 
  4538.    --  <dref>ProfileQosPolicy</dref> 
  4539.    --  <dref name="String_Profile">ProfileQosPolicy_string_profile</dref> 
  4540.    --  <dref name="Url_Profile">ProfileQosPolicy_url_profile</dref> 
  4541.    --  <dref name="Ignore_User_Profile">ProfileQosPolicy_ignore_user_profile</dref> 
  4542.    --  <dref name="Ignore_Envionrment_Profile">ProfileQosPolicy_ignore_environment_profile</dref> 
  4543.    --  <dref name="Ignore_Resource_Profile">ProfileQosPolicy_ignore_resource_profile</dref> 
  4544.    --  <dref internal="true" name="String_Profile_Dtd">ProfileQosPolicy_string_profile_dtd</dref> 
  4545.  
  4546.  
  4547.    --  ---------------------------------------------------------- 
  4548.    --                  SAMPLEIDENTITY 
  4549.    --  ---------------------------------------------------------- 
  4550.  
  4551.    type SampleIdentity_T is record 
  4552.       Writer_Guid     : aliased Guid_T; 
  4553.       Sequence_Number : aliased DDS.SequenceNumber_T; 
  4554.    end record with 
  4555.      Convention => C; 
  4556.    --  <defgroup>WriteParamsGroupDocs</defgroup> 
  4557.    --  <dref>SampleIdentity_t</dref> 
  4558.    --  <dref name="Writer_Guid">SampleIdentity_t_writer_guid</dref> 
  4559.    --  <dref name="Sequence_Number">SampleIdentity_t_sequence_number</dref> 
  4560.  
  4561.    AUTO_SAMPLE_IDENTITY           : constant SampleIdentity_T := 
  4562.                                       (Writer_Guid     => GUID_AUTO, 
  4563.                                        Sequence_Number => SEQUENCE_NUMBER_UNKNOWN); 
  4564.    --  <dref>SampleIdentity_t_AUTO_SAMPLE_IDENTITY</dref> 
  4565.  
  4566.  
  4567.    UNKNOWN_SAMPLE_IDENTITY        : constant SampleIdentity_T := 
  4568.                                       (Writer_Guid     => GUID_AUTO, 
  4569.                                        Sequence_Number => SEQUENCE_NUMBER_UNKNOWN); 
  4570.    --  <dref>SampleIdentity_t_UNKNOWN_SAMPLE_IDENTITY</dref> 
  4571.  
  4572.    --  ---------------------------------------------------------- 
  4573.    --                  Cookie_t 
  4574.    --  ---------------------------------------------------------- 
  4575.  
  4576.    type Cookie_T is record 
  4577.       Value : aliased Octet_Seq.Sequence; 
  4578.    end record with Convention => C; 
  4579.  
  4580.    --  <defgroup>CookieGroupDocs</defgroup> 
  4581.    --  <dref>Cookie_t</dref> 
  4582.    --  <dref name="Value">Cookie_t_value</dref> 
  4583.  
  4584.    --     COOKIE_DEFAULT : constant Cookie_T := 
  4585.    --       ( 
  4586.    --        Value => Octet_Seq.DEFAULT_SEQUENCE; 
  4587.    --       ); 
  4588.    function "=" (Left, Right : Cookie_T) return Standard.Boolean; 
  4589.  
  4590.    COOKIE_DEFAULT : constant Cookie_T := (Value => Octet_Seq.DEFAULT_SEQUENCE); 
  4591.  
  4592.    type Cookie_T_Access is access all Cookie_T; 
  4593.    type Cookie_T_Array is array (Natural range <>) of aliased Cookie_T; 
  4594.  
  4595.    procedure Initialize (Self  : in out Cookie_T); 
  4596.    procedure Finalize (Self  : in out Cookie_T); 
  4597.    procedure Copy (Dst : in out Cookie_T; Src : in Cookie_T); 
  4598.  
  4599.  
  4600.    package Cookie_T_Seq is new DDS_Support.Sequences_Generic 
  4601.      (Cookie_T, 
  4602.       Cookie_T_Access, 
  4603.       DDS.Natural, 
  4604.       1, 
  4605.       Cookie_T_Array); 
  4606.  
  4607.  
  4608.    --  ---------------------------------------------------------- 
  4609.    --                  AckResponseData 
  4610.    --  ---------------------------------------------------------- 
  4611.  
  4612.    type AckResponseData_T is record 
  4613.       Value     : aliased Octet_Seq.Sequence; 
  4614.    end record with 
  4615.      Convention => C; 
  4616.    --  <dref>AckResponseData_t</dref> 
  4617.    --  <dref name="Value">AckResponseData_t_value</dref> 
  4618.  
  4619.    --  ---------------------------------------------------------- 
  4620.    --                  SampleFlag 
  4621.    --  ---------------------------------------------------------- 
  4622.    type SampleFlagBits is new Unsigned_Long; 
  4623.    --  <dref>SampleFlagBits</dref> 
  4624.  
  4625.    REDELIVERED_SAMPLE : constant SampleFlagBits := 0; 
  4626.    --  <dref>SampleFlagBits_REDELIVERED_SAMPLE</dref> 
  4627.  
  4628.    INTERMEDIATE_REPLY_SEQUENCE_SAMPLE : constant SampleFlagBits := 1; 
  4629.    --  <dref>SampleFlagBits_INTERMEDIATE_REPLY_SEQUENCE_SAMPLE</dref> 
  4630.  
  4631.    REPLICATE_SAMPLE : constant SampleFlagBits := 2; 
  4632.    --  <dref>SampleFlagBits_REPLICATE_SAMPLE</dref> 
  4633.  
  4634.    LAST_SHARED_READER_QUEUE_SAMPLE : constant SampleFlagBits := 3; 
  4635.    --  <dref>SampleFlagBits_LAST_SHARED_READER_QUEUE_SAMPLE</dref> 
  4636.  
  4637.    type SampleFlag is new DDS.Long; 
  4638.  
  4639.  
  4640.    --  ---------------------------------------------------------- 
  4641.    --                  WriteParams_t 
  4642.    --  ---------------------------------------------------------- 
  4643.  
  4644.    type WriteParams_T is record 
  4645.       Replace_Auto            : aliased DDS.Boolean  := False; 
  4646.       Identity                : aliased SampleIdentity_T := AUTO_SAMPLE_IDENTITY; 
  4647.       Related_Sample_Identity : aliased SampleIdentity_T := UNKNOWN_SAMPLE_IDENTITY; 
  4648.       Source_Timestamp        : aliased DDS.Time_T := (-1, 0); 
  4649.       Cookie                  : aliased DDS.Cookie_T := COOKIE_DEFAULT; 
  4650.       Handle                  : aliased DDS.InstanceHandle_T := Null_InstanceHandle_T; 
  4651.       Priority                : aliased Long := 0; 
  4652.       Flush_On_Write          : aliased DDS.Boolean := False; 
  4653.       Flag                    : aliased SampleFlag := 0; 
  4654.       Source_Guid             : aliased Guid_T := GUID_AUTO; 
  4655.       Related_Source_Guid     : aliased Guid_T := GUID_UNKNOWN; 
  4656.       Related_Reader_Guid     : aliased Guid_T := GUID_UNKNOWN; 
  4657.       Topic_Query_Guid        : aliased Guid_T := GUID_UNKNOWN; 
  4658.    end record with 
  4659.      Convention => C; 
  4660.    --  <dref>WriteParams</dref> 
  4661.    --  <dref>Shared_replace_auto</dref> 
  4662.    --  <dref name="Replace_Auto">WriteParams_replace_auto</dref> 
  4663.    --  <dref name="Identity">WriteParams_identity</dref> 
  4664.    --  <dref name="Related_Sample_Identity">WriteParams_related_sample_identity</dref> 
  4665.    --  <dref name="Source_Timestamp">WriteParams_source_timestamp</dref> 
  4666.    --  <dref name="Cookie">WriteParams_cookie</dref> 
  4667.    --  <dref name="Handle">WriteParams_handle</dref> 
  4668.    --  <dref name="Priority">WriteParams_priority</dref> 
  4669.    --  <dref internal="true" name="Flush_On_Write">WriteParams_flush_on_write</dref> 
  4670.    --  <dref name="Source_Guid">WriteParams_source_guid</dref> 
  4671.    --  <dref name="Related_Source_Guid">WriteParams_related_source_guid</dref> 
  4672.    --  <dref name="Related_Reader_Guid">WriteParams_related_reader_guid</dref> 
  4673.    --  <dref internal="true" name="Topic_Query_Guid">WriteParams_topic_query_guid</dref> 
  4674.  
  4675.    --     WRITEPARAMS_DEFAULT : constant WriteParams_T := 
  4676.    --       ( 
  4677.    --        replace_auto     => False, 
  4678.    --        identity         => AUTO_SAMPLE_IDENTITY_VALUE, 
  4679.    --        related_sample_identity => UNKNOWN_SAMPLE_IDENTITY_VALUE, 
  4680.    --        source_timestamp => (-1, 0), 
  4681.    --        cookie           => COOKIE_DEFAULT, 
  4682.    --        handle           => DDS.Null_InstanceHandle_T, 
  4683.    --        Priority          => 0, 
  4684.    --        flush_on_write => False, 
  4685.    --        Flag => 0; 
  4686.    --        Source_Guid => GUID_AUTO, 
  4687.    --        Related_Source_Guid => GUID_UNKNOWN, 
  4688.    --        Related_Reader_Guid => GUID_UNKNOWN 
  4689.    --       ); 
  4690.  
  4691.    WRITEPARAMS_DEFAULT : constant WriteParams_T 
  4692.      := (Replace_Auto            => False, 
  4693.          Identity                => AUTO_SAMPLE_IDENTITY, 
  4694.          Related_Sample_Identity => UNKNOWN_SAMPLE_IDENTITY, 
  4695.          Source_Timestamp        => (Sec => -1, Nanosec =>  0), 
  4696.          Cookie                  => COOKIE_DEFAULT, 
  4697.          Handle                  => Null_InstanceHandle_T, 
  4698.          Priority                => 0, 
  4699.          Flush_On_Write          => False, 
  4700.          Flag                    => 0, 
  4701.          Source_Guid             => GUID_AUTO, 
  4702.          Related_Source_Guid     => GUID_UNKNOWN, 
  4703.          Related_Reader_Guid     => GUID_UNKNOWN, 
  4704.          Topic_Query_Guid        => GUID_UNKNOWN 
  4705.         ); 
  4706.    --  <dref>WRITEPARAMS_DEFAULT</dref> 
  4707.  
  4708.  
  4709.    type WriteParams_T_Access is access all WriteParams_T; 
  4710.  
  4711.  
  4712.    function WriteParams_Equals (Self : in WriteParams_T_Access; Other : in WriteParams_T_Access) 
  4713.                                 return DDS.Boolean; 
  4714.    --  <dref internal="true">WriteParams_equals</dref> 
  4715.  
  4716.    pragma Warnings (Off, WriteParams_Equals); 
  4717.    pragma Import (C, WriteParams_Equals, "DDS_WriteParams_equals"); 
  4718.  
  4719.    -- 
  4720.    --  From dds_c_typecode.h 
  4721.    -- 
  4722.  
  4723.    --  !!! Change name back to TypeCode when typecode object removed 
  4724.  
  4725.    type TypeCode is new RTIDDS.Low_Level.dds_c.typecode_h.DDS_TypeCode; 
  4726.  
  4727.    type TypeCode_Access is access all TypeCode; 
  4728.  
  4729.    --  From dds_c_typeobject.h 
  4730.    -- 
  4731.  
  4732.    subtype TypeObject is RTIDDS.Low_Level.dds_c.typeobject_h.DDS_Type; 
  4733.  
  4734.    type TypeObject_Access is access all TypeObject; 
  4735.  
  4736.    -- 
  4737.    --  From dds_c_builtin.h 
  4738.    -- 
  4739.  
  4740.    BUILTIN_TOPIC_MAX_STRING_LENGTH : constant := 256; 
  4741.    --  <dref internal="true"></dref> 
  4742.  
  4743.    type Transport_ClassId_T is new Long; 
  4744.    type TransportInfo_T is record 
  4745.       Class_Id         : aliased Transport_ClassId_T := 0;  -- ndds/dds_c/dds_c_infrastructure.h:3672 
  4746.       Message_Size_Max : aliased Long := 1024;  -- ndds/dds_c/dds_c_infrastructure.h:3676 
  4747.    end record with Convention => C; 
  4748.    --  <dref>TransportInfo_t</dref> 
  4749.    --  <dref name="class_id">TransportInfo_t_class_id</dref> 
  4750.    --  <dref name="message_size_max">TransportInfo_t_message_size_max</dref> 
  4751.  
  4752.    type TransportInfo_Access is access all TransportInfo_T; 
  4753.    type TransportInfo_Array is array (Natural range <>) of aliased TransportInfo_T with Convention => C; 
  4754.  
  4755.  
  4756.    procedure Initialize (This : in out TransportInfo_T); 
  4757.    procedure Finalize (This : in out TransportInfo_T); 
  4758.    procedure Copy (Dst : in out TransportInfo_T; 
  4759.                    Src : in TransportInfo_T); 
  4760.  
  4761.    package TransportInfo_Seq is new DDS_Support.Sequences_Generic 
  4762.      (Element        => DDS.TransportInfo_T, 
  4763.       Element_Access => DDS.TransportInfo_Access, 
  4764.       Index_Type     => Natural, 
  4765.       First_Element  => 1, 
  4766.       Element_Array  => DDS.TransportInfo_Array); 
  4767.    --  <dref>TransportInfoSeq</dref> 
  4768.  
  4769.  
  4770.    --  ---------------------------------------------------------- 
  4771.    --                  ParticipantBuiltinTopicData 
  4772.    --  ---------------------------------------------------------- 
  4773.  
  4774.    PARTICIPANT_TOPIC_NAME : constant DDS.String := To_DDS_String ("DCPSParticipant"); 
  4775.    --  <dref>PARTICIPANT_TOPIC_NAME</dref> 
  4776.  
  4777.    ParticipantBuiltinTopicData_TypeName : DDS.String := (Data => RTIDDS.Low_Level.dds_c.builtin_impl_h.DDS_PARTICIPANT_TYPE_NAME); 
  4778.  
  4779.    type ParticipantBuiltinTopicData is record 
  4780.       Key                            : aliased BuiltinTopicKey_T; 
  4781.       User_Data                      : aliased UserDataQosPolicy; 
  4782.       --  --- Extensions: ---------------------------------------------------- 
  4783.       Property                       : aliased PropertyQosPolicy; 
  4784.       Rtps_Protocol_Version          : aliased ProtocolVersion_T; 
  4785.       Rtps_Vendor_Id                 : aliased VendorId_T; 
  4786.       Dds_Builtin_Endpoints          : aliased Unsigned_Long := 0; 
  4787.       Metatraffic_Unicast_Locators   : aliased Locator_Seq.Sequence; 
  4788.       Metatraffic_Multicast_Locators : aliased Locator_Seq.Sequence; 
  4789.       Default_Unicast_Locators       : aliased Locator_Seq.Sequence; 
  4790.       Lease_Duration                 : aliased Duration_T; 
  4791.       Product_Version                : aliased ProductVersion_T; 
  4792.       Plugin_Promiscuity_Kind        : aliased DiscoveryPluginPromiscuityKind := DISCOVERYPLUGIN_DISCOVER_MATCHING_REMOTE_ENTITIES_PROMISCUITY; 
  4793.       Participant_Name               : aliased EntityNameQosPolicy; 
  4794.       Domain_Id                      : aliased DomainId_T := 0;  -- ndds/dds_c/dds_c_builtin.h:105 
  4795.       Transport_Info                 : aliased RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_TransportInfoSeq;  -- ndds/dds_c/dds_c_builtin.h:109 
  4796.       Reachability_Lease_Duration    : aliased Duration_T; 
  4797.       Vendor_Builtin_Endpoints       : aliased Unsigned_Long := 0; 
  4798.       Service                        : aliased ServiceQosPolicy; 
  4799.  
  4800.    end record with 
  4801.      Convention => C; 
  4802.    --  <module name="DDSBuiltInTopicModule" actualName="Built-in Topics">builtin</module> 
  4803.    --  <defgroup>ParticipantBuiltInTopicGroupDocs</defgroup> 
  4804.    --  <dref>ParticipantBuiltinTopicData</dref> 
  4805.    --  <dref name="Key">ParticipantBuiltinTopicData_key</dref> 
  4806.    --  <dref name="User_Data">ParticipantBuiltinTopicData_user_data</dref> 
  4807.    --  <dref name="Property">ParticipantBuiltinTopicData_property</dref> 
  4808.    --  <dref name="Rtps_Protocol_Version">ParticipantBuiltinTopicData_rtps_protocol_version</dref> 
  4809.    --  <dref name="Rtps_Vendor_Id">ParticipantBuiltinTopicData_rtps_vendor_id</dref> 
  4810.    --  <dref name="Dds_Builtin_Endpoints">ParticipantBuiltinTopicData_dds_builtin_endpoints</dref> 
  4811.    --  <dref internal="true" name="metatraffic_unicast_locators">ParticipantBuiltinTopicData_metatrafic_unicast_locators</dref> 
  4812.    --  <dref internal="true" name="metatraffic_multicast_locators">ParticipantBuiltinTopicData_metatrafic_multicast_locators</dref> 
  4813.    --  <dref name="Default_Unicast_Locators">ParticipantBuiltinTopicData_default_unicast_locators</dref> 
  4814.    --  <dref internal="true" name="lease_duration">ParticipantBuiltinTopicData_lease_duration</dref> 
  4815.    --  <dref name="Product_Version">ParticipantBuiltinTopicData_product_version</dref> 
  4816.    --  <dref internal="true" name="Plugin_Promiscuity_Kind">ParticipantBuiltinTopicData_plugin_promiscuity_kind</dref> 
  4817.    --  <dref name="Participant_Name">ParticipantBuiltinTopicData_participant_name</dref> 
  4818.    --  <dref name="domain_id">ParticipantBuiltinTopicData_domain_id</dref> 
  4819.    --  <dref name="transport_info">ParticipantBuiltinTopicData_transport_info</dref> 
  4820.    --  <dref internal="true" name="Reachability_Lease_Duration">ParticipantBuiltinTopicData_reachability_lease_duration</dref> 
  4821.    --  <dref internal="true" name="Vendor_Builtin_Endpoints">ParticipantBuiltinTopicData_vendor_builtin_endpoints</dref> 
  4822.    --  TODO: add correct ref tags 
  4823.  
  4824.  
  4825.    type ParticipantBuiltinTopicData_Access is access all ParticipantBuiltinTopicData; 
  4826.  
  4827.    --     ParticipantBuiltinTopicData_INITIALIZER : constant ParticipantBuiltinTopicData := 
  4828.    --                                                 (Key                      => BuiltinTopicKey_T_INITIALIZER, 
  4829.    --                                                  User_Data                => USER_DATA_QOS_POLICY_DEFAULT, 
  4830.    --                                                  --  --- Extensions: ---------------------------------------------------- 
  4831.    --                                                  Property                 => PROPERTY_QOS_POLICY_DEFAULT, 
  4832.    --                                                  Rtps_Protocol_Version    => PROTOCOL_VERSION_DEFAULT, 
  4833.    --                                                  Rtps_Vendor_Id           => VENDOR_ID_DEFAULT, 
  4834.    --                                                  Dds_Builtin_Endpoints    => 0, 
  4835.    --                                                  metatraffic_unicast_locators => LocatorSeq.DEFAULT_SEQUENCE, 
  4836.    --                                                  metatraffic_multicast_locators => LocatorSeq.DEFAULT_SEQUENCE, 
  4837.    --                                                  Default_Unicast_Locators => LocatorSeq.DEFAULT_SEQUENCE, 
  4838.    --                                                  lease_duration           => (16#7FFFFFFF#, 16#7FFFFFFF#), 
  4839.    --                                                  Product_Version          => PRODUCTVERSION_UNKNOWN, 
  4840.    --                                                  Plugin_Promiscuity_Kind  => DISCOVERYPLUGIN_DISCOVER_MATCHING_REMOTE_ENTITIES_PROMISCUITY, 
  4841.    --                                                  Participant_Name         => ENTITY_NAME_QOS_POLICY_DEFAULT, 
  4842.    --                                                  Multicast_Mapping        => TRANSPORT_MULTICAST_MAPPING_QOS_POLICY_DEFAULT, 
  4843.    --                                                  User_Object              => , 
  4844.    --                                                  Protocol                 => , 
  4845.    --                                                  Type_Support             => ); 
  4846.  
  4847.    procedure Print (UserData : ParticipantBuiltinTopicData_Access; 
  4848.                     Desc     : DDS.String; 
  4849.                     Indent   : Long) with 
  4850.      Convention => C, 
  4851.      Import => True, 
  4852.      Link_Name => "DDS_ParticipantBuiltinTopicDataPlugin_print"; 
  4853.  
  4854.    type ParticipantBuiltinTopicData_Array is array (Natural range <>) of aliased ParticipantBuiltinTopicData; 
  4855.    pragma Convention (C, ParticipantBuiltinTopicData_Array); 
  4856.  
  4857.    function ParticipantBuiltinTopicData_Get_TypeCode return Standard.DDS.TypeCode_Access; 
  4858.    pragma Import (C, ParticipantBuiltinTopicData_Get_TypeCode, "DDS_ParticipantBuiltinTopicData_get_typecode"); 
  4859.  
  4860.    procedure Initialize (This : in out ParticipantBuiltinTopicData); 
  4861.    procedure Finalize (This : in out ParticipantBuiltinTopicData); 
  4862.    procedure Copy (Dst : in out ParticipantBuiltinTopicData; 
  4863.                    Src : in ParticipantBuiltinTopicData); 
  4864.  
  4865.    package ParticipantBuiltinTopicData_Seq is new DDS_Support.Sequences_Generic 
  4866.      (Element        => DDS.ParticipantBuiltinTopicData, 
  4867.       Element_Access => DDS.ParticipantBuiltinTopicData_Access, 
  4868.       Index_Type     => Natural, 
  4869.       First_Element  => 1, 
  4870.       Element_Array  => DDS.ParticipantBuiltinTopicData_Array); 
  4871.    --  <dref>ParticipantBuiltinTopicDataSeq</dref> 
  4872.  
  4873.    --  ---------------------------------------------------------- 
  4874.    --                  TopicBuiltinTopicData 
  4875.    --  ---------------------------------------------------------- 
  4876.  
  4877.    TOPIC_TOPIC_NAME : constant DDS.String := To_DDS_String ("DCPSTopic"); 
  4878.    --  <dref>TOPIC_TOPIC_NAME</dref> 
  4879.  
  4880.    TopicBuiltinTopicData_TypeName : DDS.String := (Data => RTIDDS.Low_Level.dds_c.builtin_impl_h.DDS_TOPIC_TYPE_NAME); 
  4881.  
  4882.    type TopicBuiltinTopicData is record 
  4883.       Key                       : aliased BuiltinTopicKey_T; 
  4884.       Name                      : aliased DDS.String; 
  4885.       Type_Name                 : aliased DDS.String; 
  4886.       Durability                : aliased DurabilityQosPolicy; 
  4887.       Durability_Service        : aliased DurabilityServiceQosPolicy; 
  4888.       Deadline                  : aliased DeadlineQosPolicy; 
  4889.       Latency_Budget            : aliased LatencyBudgetQosPolicy; 
  4890.       Liveliness                : aliased LivelinessQosPolicy; 
  4891.       Reliability               : aliased ReliabilityQosPolicy; 
  4892.       Transport_Priority        : aliased TransportPriorityQosPolicy; 
  4893.       Lifespan                  : aliased LifespanQosPolicy; 
  4894.       Destination_Order         : aliased DestinationOrderQosPolicy; 
  4895.       History                   : aliased HistoryQosPolicy; 
  4896.       Resource_Limits           : aliased ResourceLimitsQosPolicy; 
  4897.       Ownership                 : aliased OwnershipQosPolicy; 
  4898.       Topic_Data                : aliased TopicDataQosPolicy; 
  4899.    end record with 
  4900.      Convention => C; 
  4901.    --  <defgroup>TopicBuiltInTopicGroupDocs</defgroup> 
  4902.    --  <dref>TopicBuiltinTopicData</dref> 
  4903.    --  <dref>Shared_topic_builtin_topic_data_description</dref> 
  4904.    --  <dref name="Key">TopicBuiltinTopicData_key</dref> 
  4905.    --  <dref name="Name">TopicBuiltinTopicData_name</dref> 
  4906.    --  <dref name="Type_Name">TopicBuiltinTopicData_type_name</dref> 
  4907.    --  <dref name="Durability">TopicBuiltinTopicData_durability</dref> 
  4908.    --  <dref name="Durability_Service">TopicBuiltinTopicData_durability_service</dref> 
  4909.    --  <dref name="Deadline">TopicBuiltinTopicData_deadline</dref> 
  4910.    --  <dref name="Latency_Budget">TopicBuiltinTopicData_latency_budget</dref> 
  4911.    --  <dref name="Liveliness">TopicBuiltinTopicData_liveliness</dref> 
  4912.    --  <dref name="Reliability">TopicBuiltinTopicData_reliability</dref> 
  4913.    --  <dref name="Transport_Priority">TopicBuiltinTopicData_transport_priority</dref> 
  4914.    --  <dref name="Lifespan">TopicBuiltinTopicData_lifespan</dref> 
  4915.    --  <dref name="Destination_Order">TopicBuiltinTopicData_destination_order</dref> 
  4916.    --  <dref name="History">TopicBuiltinTopicData_history</dref> 
  4917.    --  <dref name="Resource_Limits">TopicBuiltinTopicData_resource_limits</dref> 
  4918.    --  <dref name="Ownership">TopicBuiltinTopicData_ownership</dref> 
  4919.    --  <dref name="Topic_Data">TopicBuiltinTopicData_topic_data</dref> 
  4920.  
  4921.  
  4922.    type TopicBuiltinTopicData_Access is access all TopicBuiltinTopicData; 
  4923.  
  4924.    --     TopicBuiltinTopicData_INITIALIZER : constant TopicBuiltinTopicData := 
  4925.    --                                           (Key                        => BuiltinTopicKey_T_INITIALIZER, 
  4926.    --                                            Name                       => NULL_STRING, 
  4927.    --                                            Type_Name                  => NULL_STRING, 
  4928.    --                                            Durability                 => DURABILITY_QOS_POLICY_DEFAULT, 
  4929.    --                                            Durability_Service         => DURABILITY_SERVICE_QOS_POLICY_DEFAULT, 
  4930.    --                                            Deadline                   => DEADLINE_QOS_POLICY_DEFAULT, 
  4931.    --                                            Latency_Budget             => LATENCY_BUDGET_QOS_POLICY_DEFAULT, 
  4932.    --                                            Liveliness                 => LIVELINESS_QOS_POLICY_DEFAULT, 
  4933.    --                                            Reliability                => RELIABILITY_QOS_POLICY_DEFAULT, 
  4934.    --                                            Transport_Priority         => TRANSPORT_PRIORITY_QOS_POLICY_DEFAULT, 
  4935.    --                                            Lifespan                   => LIFESPAN_QOS_POLICY_DEFAULT, 
  4936.    --                                            Destination_Order          => DESTINATION_ORDER_QOS_POLICY_DEFAULT, 
  4937.    --                                            History                    => HISTORY_QOS_POLICY_DEFAULT, 
  4938.    --                                            Resource_Limits            => RESOURCE_LIMITS_QOS_POLICY_DEFAULT, 
  4939.    --                                            Ownership                  => OWNERSHIP_QOS_POLICY_DEFAULT, 
  4940.    --                                            Topic_Data                 => TOPIC_DATA_QOS_POLICY_DEFAULT); 
  4941.  
  4942.    type TopicBuiltinTopicData_Array is array (Natural range <>) of aliased TopicBuiltinTopicData; 
  4943.    pragma Convention (C, TopicBuiltinTopicData_Array); 
  4944.  
  4945.    function TopicBuiltinTopicData_Get_TypeCode return Standard.DDS.TypeCode_Access; 
  4946.    pragma Import (C, TopicBuiltinTopicData_Get_TypeCode, "DDS_TopicBuiltinTopicData_get_typecode"); 
  4947.  
  4948.    procedure Initialize (This : in out TopicBuiltinTopicData); 
  4949.    procedure Finalize (This : in out TopicBuiltinTopicData); 
  4950.    procedure Copy (Dst : in out TopicBuiltinTopicData; 
  4951.                    Src : in TopicBuiltinTopicData); 
  4952.  
  4953.    package TopicBuiltinTopicData_Seq is new DDS_Support.Sequences_Generic 
  4954.      (Element        => DDS.TopicBuiltinTopicData, 
  4955.       Element_Access => DDS.TopicBuiltinTopicData_Access, 
  4956.       Index_Type     => Natural, 
  4957.       First_Element  => 1, 
  4958.       Element_Array  => DDS.TopicBuiltinTopicData_Array); 
  4959.    --  <dref>TopicBuiltinTopicDataSeq</dref> 
  4960.  
  4961.    --  ---------------------------------------------------------- 
  4962.    --                  Service Request Topic Data 
  4963.    --  ---------------------------------------------------------- 
  4964.  
  4965.    type ServiceRequestInternalTopicData is record 
  4966.        Service_Id                : aliased Long := 0; 
  4967.        Instance_Id               : aliased Guid_T; 
  4968.        Request_Body              : aliased RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_OctetSeq; 
  4969.    end record with Convention => C; 
  4970.    type ServiceRequestInternalTopicData_Access is access all ServiceRequestInternalTopicData; 
  4971.    --  TODO: Add ref tags 
  4972.  
  4973.    --  ---------------------------------------------------------- 
  4974.    --                  PublicationBuiltinTopicData 
  4975.    --  ---------------------------------------------------------- 
  4976.  
  4977.    PUBLICATION_TOPIC_NAME : constant DDS.String := To_DDS_String ("DCPSPublication"); 
  4978.    --  <dref>PUBLICATION_TOPIC_NAME</dref> 
  4979.  
  4980.    PublicationBuiltinTopicData_TypeName : DDS.String := (Data => RTIDDS.Low_Level.dds_c.builtin_impl_h.DDS_PUBLICATION_TYPE_NAME); 
  4981.  
  4982.    type PublicationBuiltinTopicData is record 
  4983.       Key                       : aliased BuiltinTopicKey_T; 
  4984.       Participant_Key           : aliased BuiltinTopicKey_T; 
  4985.       Topic_Name                : aliased DDS.String; 
  4986.       Type_Name                 : aliased DDS.String; 
  4987.       Max_Sample_Serialize_Size : aliased Long := 0; 
  4988.       Durability                : aliased DurabilityQosPolicy; 
  4989.       Durability_Service        : aliased DurabilityServiceQosPolicy; 
  4990.       Deadline                  : aliased DeadlineQosPolicy; 
  4991.       Latency_Budget            : aliased LatencyBudgetQosPolicy; 
  4992.       Liveliness                : aliased LivelinessQosPolicy; 
  4993.       Reliability               : aliased ReliabilityQosPolicy; 
  4994.       Lifespan                  : aliased LifespanQosPolicy; 
  4995.       User_Data                 : aliased UserDataQosPolicy; 
  4996.       Ownership                 : aliased OwnershipQosPolicy; 
  4997.       Ownership_Strength        : aliased OwnershipStrengthQosPolicy; 
  4998.       Destination_Order         : aliased DestinationOrderQosPolicy; 
  4999.       Presentation              : aliased PresentationQosPolicy; 
  5000.       Partition                 : aliased PartitionQosPolicy; 
  5001.       Topic_Data                : aliased TopicDataQosPolicy; 
  5002.       Group_Data                : aliased GroupDataQosPolicy; 
  5003.       Type_Object               : aliased TypeObject_Access; 
  5004.       --  extensions 
  5005.       Type_Code                 : aliased TypeCode_Access; 
  5006.       Publisher_Key             : aliased BuiltinTopicKey_T; 
  5007.       Property                  : aliased PropertyQosPolicy; 
  5008.       Unicast_Locators          : aliased Locator_Seq.Sequence; 
  5009.       Virtual_Guid              : aliased Guid_T; 
  5010.       Service                   : aliased ServiceQosPolicy; 
  5011.       Rtps_Protocol_Version     : aliased ProtocolVersion_T; 
  5012.       Rtps_Vendor_Id            : aliased VendorId_T; 
  5013.       Product_Version           : aliased ProductVersion_T; 
  5014.       Locator_Filter            : aliased LocatorFilterQosPolicy; 
  5015.       Disable_Positive_Acks     : aliased Boolean := False; 
  5016.       Send_Queue_Size           : aliased Long := 0; 
  5017.       Is_Incompatible           : aliased Boolean := False; 
  5018.       Publication_Name          : aliased EntityNameQosPolicy; 
  5019.    end record with 
  5020.      Convention => C; 
  5021.    --  <defgroup>PublicationBuiltInTopicGroupDocs</defgroup> 
  5022.    --  <dref>PublicationBuiltinTopicData</dref> 
  5023.    --  <dref>Shared_publication_builtin_topic_data_description</dref> 
  5024.    --  <dref name="Key">PublicationBuiltinTopicData_key</dref> 
  5025.    --  <dref name="Participant_Key">PublicationBuiltinTopicData_participant_key</dref> 
  5026.    --  <dref name="Topic_Name">PublicationBuiltinTopicData_topic_name</dref> 
  5027.    --  <dref name="Type_Name">PublicationBuiltinTopicData_type_name</dref> 
  5028.    --  <dref internal="true" name="Max_Sample_Serialize_Size">PublicationBuiltinTopicData_max_sample_serialized_size</dref> 
  5029.    --  <dref name="Durability">PublicationBuiltinTopicData_durability</dref> 
  5030.    --  <dref name="Durability_Service">PublicationBuiltinTopicData_durability_service</dref> 
  5031.    --  <dref name="Deadline">PublicationBuiltinTopicData_deadline</dref> 
  5032.    --  <dref name="Latency_Budget">PublicationBuiltinTopicData_latency_budget</dref> 
  5033.    --  <dref name="Liveliness">PublicationBuiltinTopicData_liveliness</dref> 
  5034.    --  <dref name="Reliability">PublicationBuiltinTopicData_reliability</dref> 
  5035.    --  <dref name="Lifespan">PublicationBuiltinTopicData_lifespan</dref> 
  5036.    --  <dref name="User_Data">PublicationBuiltinTopicData_user_data</dref> 
  5037.    --  <dref name="Ownership">PublicationBuiltinTopicData_ownership</dref> 
  5038.    --  <dref name="Ownership_Strength">PublicationBuiltinTopicData_ownership_strength</dref> 
  5039.    --  <dref name="Destination_Order">PublicationBuiltinTopicData_destination_order</dref> 
  5040.    --  <dref name="Presentation">PublicationBuiltinTopicData_presentation</dref> 
  5041.    --  <dref name="Partition">PublicationBuiltinTopicData_partition</dref> 
  5042.    --  <dref name="Topic_Data">PublicationBuiltinTopicData_topic_data</dref> 
  5043.    --  <dref name="Group_Data">PublicationBuiltinTopicData_group_data</dref> 
  5044.    --  <dref internal="true" name="Type_Object">PublicationBuiltinTopicData_type_object</dref> 
  5045.    --  <dref name="Type_Code">PublicationBuiltinTopicData_type_code</dref> 
  5046.    --  <dref name="Publisher_Key">PublicationBuiltinTopicData_publisher_key</dref> 
  5047.    --  <dref name="Property">PublicationBuiltinTopicData_property</dref> 
  5048.    --  <dref name="Unicast_Locators">PublicationBuiltinTopicData_unicast_locators</dref> 
  5049.    --  <dref name="Virtual_Guid">PublicationBuiltinTopicData_virtual_guid</dref> 
  5050.    --  <dref name="Service">PublicationBuiltinTopicData_service</dref> 
  5051.    --  <dref name="Rtps_Protocol_Version">PublicationBuiltinTopicData_rtps_protocol_version</dref> 
  5052.    --  <dref name="Rtps_Vendor_Id">PublicationBuiltinTopicData_rtps_vendor_id</dref> 
  5053.    --  <dref name="Product_Version">PublicationBuiltinTopicData_product_version</dref> 
  5054.    --  <dref name="locator_filter">PublicationBuiltinTopicData_locator_filter</dref> 
  5055.    --  <dref name="disable_positive_acks">PublicationBuiltinTopicData_disable_positive_acks</dref> 
  5056.    --  <dref internal="true" name="send_queue_zize">PublicationBuiltinTopicData_send_queue_size</dref> 
  5057.    --  <dref internal="true" name="is_compatible">PublicationBuiltinTopicData_is_compatible</dref> 
  5058.    --  <dref name="publication_name">PublicationBuiltinTopicData_publication_name</dref> 
  5059.  
  5060.  
  5061.    type PublicationBuiltinTopicData_Access is access all PublicationBuiltinTopicData; 
  5062.  
  5063.    --     PublicationBuiltinTopicData_INITIALIZER : constant PublicationBuiltinTopicData := 
  5064.    --                                                 (Key                        => BuiltinTopicKey_T_INITIALIZER, 
  5065.    --                                                  Participant_Key            => BuiltinTopicKey_T_INITIALIZER, 
  5066.    --                                                  Topic_Name                 => NULL_STRING, 
  5067.    --                                                  Type_Name                  => NULL_STRING, 
  5068.    --                                                  Max_Sample_Serialize_Size  => 0, 
  5069.    --                                                  Durability                 => DURABILITY_QOS_POLICY_DEFAULT, 
  5070.    --                                                  Durability_Service         => DURABILITY_SERVICE_QOS_POLICY_DEFAULT, 
  5071.    --                                                  Deadline                   => DEADLINE_QOS_POLICY_DEFAULT, 
  5072.    --                                                  Latency_Budget             => LATENCY_BUDGET_QOS_POLICY_DEFAULT, 
  5073.    --                                                  Liveliness                 => LIVELINESS_QOS_POLICY_DEFAULT, 
  5074.    --                                                  Reliability                => RELIABILITY_QOS_POLICY_DEFAULT, 
  5075.    --                                                  Lifespan                   => LIFESPAN_QOS_POLICY_DEFAULT, 
  5076.    --                                                  User_Data                  => USER_DATA_QOS_POLICY_DEFAULT, 
  5077.    --                                                  Ownership                  => OWNERSHIP_QOS_POLICY_DEFAULT, 
  5078.    --                                                  Ownership_Strength         => OWNERSHIP_STRENGTH_QOS_POLICY_DEFAULT, 
  5079.    --                                                  Destination_Order          => DESTINATION_ORDER_QOS_POLICY_DEFAULT, 
  5080.    --                                                  Presentation               => PRESENTATION_QOS_POLICY_DEFAULT, 
  5081.    --                                                  Partition                  => PARTITION_QOS_POLICY_DEFAULT, 
  5082.    --                                                  Topic_Data                 => TOPIC_DATA_QOS_POLICY_DEFAULT, 
  5083.    --                                                  Group_Data                 => GROUP_DATA_QOS_POLICY_DEFAULT, 
  5084.    --                                                  Type_Code                  => null, 
  5085.    --                                                  Publisher_Key              => BuiltinTopicKey_T_INITIALIZER, 
  5086.    --                                                  Property                   => PROPERTY_QOS_POLICY_DEFAULT, 
  5087.    --                                                  Unicast_Locators           => LocatorSeq.DEFAULT_SEQUENCE, 
  5088.    --                                                  Virtual_Guid               => (Value => (others => 0)), 
  5089.    --                                                  Service                    => SERVICE_QOS_POLICY_DEFAULT, 
  5090.    --                                                  Rtps_Protocol_Version      => PROTOCOL_VERSION_DEFAULT, 
  5091.    --                                                  Rtps_Vendor_Id             => VENDOR_ID_DEFAULT, 
  5092.    --                                                  Product_Version            => PRODUCTVERSION_UNKNOWN); 
  5093.  
  5094.    type PublicationBuiltinTopicData_Array is array (Natural range <>) of aliased PublicationBuiltinTopicData; 
  5095.    pragma Convention (C, PublicationBuiltinTopicData_Array); 
  5096.  
  5097.    function PublicationBuiltinTopicData_Get_TypeCode return Standard.DDS.TypeCode_Access; 
  5098.    pragma Import (C, PublicationBuiltinTopicData_Get_TypeCode, "DDS_PublicationBuiltinTopicData_get_typecode"); 
  5099.  
  5100.    procedure Initialize (This : in out PublicationBuiltinTopicData); 
  5101.    procedure Finalize (This : in out PublicationBuiltinTopicData); 
  5102.    procedure Copy (Dst : in out PublicationBuiltinTopicData; 
  5103.                    Src : in PublicationBuiltinTopicData); 
  5104.  
  5105.    package PublicationBuiltinTopicData_Seq is new DDS_Support.Sequences_Generic 
  5106.      (Element        => DDS.PublicationBuiltinTopicData, 
  5107.       Element_Access => DDS.PublicationBuiltinTopicData_Access, 
  5108.       Index_Type     => Natural, 
  5109.       First_Element  => 1, 
  5110.       Element_Array  => DDS.PublicationBuiltinTopicData_Array); 
  5111.    --  <dref>PublicationBuiltinTopicDataSeq</dref> 
  5112.  
  5113.    --  ---------------------------------------------------------- 
  5114.    --                  SubscriptionBuiltinTopicData 
  5115.    --  ---------------------------------------------------------- 
  5116.  
  5117.    SUBSCRIPTION_TOPIC_NAME : constant DDS.String := To_DDS_String ("DCPSSubscription"); 
  5118.    --  <dref>SUBSCRIPTION_TOPIC_NAME</dref> 
  5119.  
  5120.    SubscriptionBuiltinTopicData_TypeName : DDS.String := (Data => RTIDDS.Low_Level.dds_c.builtin_impl_h.DDS_SUBSCRIPTION_TYPE_NAME); 
  5121.  
  5122.    type SubscriptionBuiltinTopicData is record 
  5123.       Key                     : aliased BuiltinTopicKey_T; 
  5124.       Participant_Key         : aliased BuiltinTopicKey_T; 
  5125.       Topic_Name              : aliased DDS.String; 
  5126.       Type_Name               : aliased DDS.String; 
  5127.       Durability              : aliased DurabilityQosPolicy; 
  5128.       Deadline                : aliased DeadlineQosPolicy; 
  5129.       Latency_Budget          : aliased LatencyBudgetQosPolicy; 
  5130.       Liveliness              : aliased LivelinessQosPolicy; 
  5131.       Reliability             : aliased ReliabilityQosPolicy; 
  5132.       Ownership               : aliased OwnershipQosPolicy; 
  5133.       Destination_Order       : aliased DestinationOrderQosPolicy; 
  5134.       User_Data               : aliased UserDataQosPolicy; 
  5135.       Time_Based_Filter       : aliased TimeBasedFilterQosPolicy; 
  5136.       Presentation            : aliased PresentationQosPolicy; 
  5137.       Partition               : aliased PartitionQosPolicy; 
  5138.       Topic_Data              : aliased TopicDataQosPolicy; 
  5139.       Group_Data              : aliased GroupDataQosPolicy; 
  5140.       Type_Consistency        : aliased TypeConsistencyEnforcementQosPolicy; 
  5141.       Type_Object             : aliased TypeObject_Access; 
  5142.       --  extensions 
  5143.       Type_Code               : aliased TypeCode_Access; 
  5144.       Subscriber_Key          : aliased BuiltinTopicKey_T; 
  5145.       Property                : aliased PropertyQosPolicy; 
  5146.       Unicast_Locators        : aliased Locator_Seq.Sequence; 
  5147.       Multicast_Locators      : aliased Locator_Seq.Sequence; 
  5148.       Content_Filter_Property : aliased ContentFilterProperty_T; 
  5149.       Virtual_Guid            : aliased Guid_T; 
  5150.       Service                 : aliased ServiceQosPolicy; 
  5151.       Rtps_Protocol_Version   : aliased ProtocolVersion_T; 
  5152.       Rtps_Vendor_Id          : aliased VendorId_T; 
  5153.       Product_Version         : aliased ProductVersion_T; 
  5154.       Disable_Positive_Acks   : aliased Boolean := False; 
  5155.       Expects_Inline_Qos      : aliased Boolean := False; 
  5156.       Receive_Queue_Size      : aliased Long := 0; 
  5157.       Is_Incompatible         : aliased Boolean := False; 
  5158.       Subscription_Name       : aliased EntityNameQosPolicy; 
  5159.    end record with 
  5160.      Convention => C; 
  5161.    --  <defgroup>SubscriptionBuiltInTopicGroupDocs</defgroup> 
  5162.    --  <dref>SubscriptionBuiltinTopicData</dref> 
  5163.    --  <dref>Shared_subscription_builtin_topic_data_description</dref> 
  5164.    --  <dref name="Key">SubscriptionBuiltinTopicData_key</dref> 
  5165.    --  <dref name="Participant_Key">SubscriptionBuiltinTopicData_participant_key</dref> 
  5166.    --  <dref name="Topic_Name">SubscriptionBuiltinTopicData_topic_name</dref> 
  5167.    --  <dref name="Type_Name">SubscriptionBuiltinTopicData_type_name</dref> 
  5168.    --  <dref name="Durability">SubscriptionBuiltinTopicData_durability</dref> 
  5169.    --  <dref name="Deadline">SubscriptionBuiltinTopicData_deadline</dref> 
  5170.    --  <dref name="Latency_Budget">SubscriptionBuiltinTopicData_latency_budget</dref> 
  5171.    --  <dref name="Liveliness">SubscriptionBuiltinTopicData_liveliness</dref> 
  5172.    --  <dref name="Reliability">SubscriptionBuiltinTopicData_reliability</dref> 
  5173.    --  <dref name="Ownership">SubscriptionBuiltinTopicData_ownership</dref> 
  5174.    --  <dref name="Destination_Order">SubscriptionBuiltinTopicData_destination_order</dref> 
  5175.    --  <dref name="User_Data">SubscriptionBuiltinTopicData_user_data</dref> 
  5176.    --  <dref name="Time_Based_Filter">SubscriptionBuiltinTopicData_time_based_filter</dref> 
  5177.    --  <dref name="Presentation">SubscriptionBuiltinTopicData_presentation</dref> 
  5178.    --  <dref name="Partition">SubscriptionBuiltinTopicData_partition</dref> 
  5179.    --  <dref name="Topic_Data">SubscriptionBuiltinTopicData_topic_data</dref> 
  5180.    --  <dref name="Group_Data">SubscriptionBuiltinTopicData_group_data</dref> 
  5181.    --  <dref name="Type_Consistency">SubscriptionBuiltinTopicData_type_consistency</dref> 
  5182.    --  <dref internal="true" name="Type_Object">SubscriptionBuiltinTopicData_type</dref> 
  5183.    --  <dref name="Type_Code">SubscriptionBuiltinTopicData_type_code</dref> 
  5184.    --  <dref name="Subscriber_Key">SubscriptionBuiltinTopicData_subscriber_key</dref> 
  5185.    --  <dref name="Property">SubscriptionBuiltinTopicData_property</dref> 
  5186.    --  <dref name="Unicast_Locators">SubscriptionBuiltinTopicData_unicast_locators</dref> 
  5187.    --  <dref name="Multicast_Locators">SubscriptionBuiltinTopicData_multicast_locators</dref> 
  5188.    --  <dref name="Content_Filter_Property">SubscriptionBuiltinTopicData_content_filter_property</dref> 
  5189.    --  <dref name="Virtual_Guid">SubscriptionBuiltinTopicData_virtual_guid</dref> 
  5190.    --  <dref name="Service">SubscriptionBuiltinTopicData_service</dref> 
  5191.    --  <dref name="Rtps_Protocol_Version">SubscriptionBuiltinTopicData_rtps_protocol_version</dref> 
  5192.    --  <dref name="Rtps_Vendor_Id">SubscriptionBuiltinTopicData_rtps_vendor_id</dref> 
  5193.    --  <dref name="Product_Version">SubscriptionBuiltinTopicData_product_version</dref> 
  5194.    --  <dref name="disable_positive_acks">SubscriptionBuiltinTopicData_disable_positive_acks</dref> 
  5195.    --  <dref internal="true" name="expects_inline_qos">SubscriptionBuiltinTopicData_expects_inline_qos</dref> 
  5196.    --  <dref internal="true" name="receive_queue_size">SubscriptionBuiltinTopicData_receive_queue_size</dref> 
  5197.    --  <dref internal="true" name="is_compatible">SubscriptionBuiltinTopicData_is_compatible</dref> 
  5198.    --  <dref name="subscription_name">SubscriptionBuiltinTopicData_subscription_name</dref> 
  5199.  
  5200.    type SubscriptionBuiltinTopicData_Access is access all SubscriptionBuiltinTopicData; 
  5201.  
  5202.    --     SubscriptionBuiltinTopicData_INITIALIZER : constant SubscriptionBuiltinTopicData := 
  5203.    --                                                  (Key                     => BuiltinTopicKey_T_INITIALIZER, 
  5204.    --                                                   Participant_Key         => BuiltinTopicKey_T_INITIALIZER, 
  5205.    --                                                   Topic_Name              => NULL_STRING, 
  5206.    --                                                   Type_Name               => NULL_STRING, 
  5207.    --                                                   Durability              => DURABILITY_QOS_POLICY_DEFAULT, 
  5208.    --                                                   Deadline                => DEADLINE_QOS_POLICY_DEFAULT, 
  5209.    --                                                   Latency_Budget          => LATENCY_BUDGET_QOS_POLICY_DEFAULT, 
  5210.    --                                                   Liveliness              => LIVELINESS_QOS_POLICY_DEFAULT, 
  5211.    --                                                   Reliability             => RELIABILITY_QOS_POLICY_DEFAULT, 
  5212.    --                                                   Ownership               => OWNERSHIP_QOS_POLICY_DEFAULT, 
  5213.    --                                                   Destination_Order       => DESTINATION_ORDER_QOS_POLICY_DEFAULT, 
  5214.    --                                                   User_Data               => USER_DATA_QOS_POLICY_DEFAULT, 
  5215.    --                                                   Time_Based_Filter       => TIME_BASED_FILTER_QOS_POLICY_DEFAULT, 
  5216.    --                                                   Presentation            => PRESENTATION_QOS_POLICY_DEFAULT, 
  5217.    --                                                   Partition               => PARTITION_QOS_POLICY_DEFAULT, 
  5218.    --                                                   Topic_Data              => TOPIC_DATA_QOS_POLICY_DEFAULT, 
  5219.    --                                                   Group_Data              => GROUP_DATA_QOS_POLICY_DEFAULT, 
  5220.    --                                                   Type_Consistency        => TYPE_CONSISTENCY_ENFORCEMENT_QOS_POLICY_DEFAULT, 
  5221.    --                                                   --  extensions 
  5222.    --                                                   Type_Code               => null, 
  5223.    --                                                   Subscriber_Key          => BuiltinTopicKey_T_INITIALIZER, 
  5224.    --                                                   Property                => PROPERTY_QOS_POLICY_DEFAULT, 
  5225.    --                                                   Unicast_Locators        => LocatorSeq.DEFAULT_SEQUENCE, 
  5226.    --                                                   Multicast_Locators      => LocatorSeq.DEFAULT_SEQUENCE, 
  5227.    --                                                   Content_Filter_Property => CONTENT_FILTER_PROPERTY_DEFAULT, 
  5228.    --                                                   Virtual_Guid            =>  (Value => (others => 0)), 
  5229.    --                                                   Service                 => SERVICE_QOS_POLICY_DEFAULT, 
  5230.    --                                                   Rtps_Protocol_Version   => PROTOCOL_VERSION_DEFAULT, 
  5231.    --                                                   Rtps_Vendor_Id          => VENDOR_ID_DEFAULT, 
  5232.    --                                                   Product_Version         => PRODUCTVERSION_UNKNOWN, 
  5233.    --                                                   disable_positive_acks   => False, 
  5234.    --                                                   expects_inline_qos      => False, 
  5235.    --                                                   receive_queue_size      => 0, 
  5236.    --                                                   is_incompatible         => False); 
  5237.  
  5238.    type SubscriptionBuiltinTopicData_Array is array (Natural range <>) of aliased SubscriptionBuiltinTopicData; 
  5239.    pragma Convention (C, SubscriptionBuiltinTopicData_Array); 
  5240.  
  5241.    function SubscriptionBuiltinTopicData_Get_TypeCode return Standard.DDS.TypeCode_Access; 
  5242.    pragma Import (C, SubscriptionBuiltinTopicData_Get_TypeCode, "DDS_SubscriptionBuiltinTopicData_get_typecode"); 
  5243.  
  5244.    procedure Initialize (This : in out SubscriptionBuiltinTopicData); 
  5245.    procedure Finalize (This : in out SubscriptionBuiltinTopicData); 
  5246.    procedure Copy (Dst : in out SubscriptionBuiltinTopicData; 
  5247.                    Src : in SubscriptionBuiltinTopicData); 
  5248.  
  5249.    package SubscriptionBuiltinTopicData_Seq is new DDS_Support.Sequences_Generic 
  5250.      (Element        => DDS.SubscriptionBuiltinTopicData, 
  5251.       Element_Access => DDS.SubscriptionBuiltinTopicData_Access, 
  5252.       Index_Type     => Natural, 
  5253.       First_Element  => 1, 
  5254.       Element_Array  => DDS.SubscriptionBuiltinTopicData_Array); 
  5255.    --  <dref>SubscriptionBuiltinTopicDataSeq</dref> 
  5256.  
  5257.    -- 
  5258.    --  dds/dds_c_topic.h 
  5259.    -- 
  5260.  
  5261.    type KeyHash_Value_Array is array (0 .. 15) of aliased DDS.Octet; 
  5262.  
  5263.    type KeyHash_T is record 
  5264.       Value  : aliased KeyHash_Value_Array := (others => 0); 
  5265.       Length : aliased DDS.Unsigned_Long := 0; 
  5266.    end record with 
  5267.      Convention => C; 
  5268.  
  5269.    --  ---------------------------------------------------------- 
  5270.    --                  InconsistentTopicStatus 
  5271.    --  ---------------------------------------------------------- 
  5272.  
  5273.    type InconsistentTopicStatus is record 
  5274.       Total_Count        : aliased Long := 0; 
  5275.       Total_Count_Change : aliased Long := 0; 
  5276.    end record with 
  5277.      Convention => C; 
  5278.    --  <dref>InconsistentTopicStatus</dref> 
  5279.    --  <dref name="Total_Count">InconsistentTopicStatus_total_count</dref> 
  5280.    --  <dref name="Total_Count_Change">InconsistentTopicStatus_total_count_change</dref> 
  5281.  
  5282.    InconsistentTopicStatus_INITIALIZER : constant InconsistentTopicStatus := 
  5283.                                            (Total_Count        => 0, 
  5284.                                             Total_Count_Change => 0); 
  5285.  
  5286.    --  ---------------------------------------------------------- 
  5287.    --                  TopicQos 
  5288.    --  ---------------------------------------------------------- 
  5289.  
  5290.    type TopicQos is new Ada.Finalization.Limited_Controlled with record 
  5291.       Topic_Data         : aliased TopicDataQosPolicy; 
  5292.       Durability         : aliased DurabilityQosPolicy; 
  5293.       Durability_Service : aliased DurabilityServiceQosPolicy; 
  5294.       Deadline           : aliased DeadlineQosPolicy; 
  5295.       Latency_Budget     : aliased LatencyBudgetQosPolicy; 
  5296.       Liveliness         : aliased LivelinessQosPolicy; 
  5297.       Reliability        : aliased ReliabilityQosPolicy; 
  5298.       Destination_Order  : aliased DestinationOrderQosPolicy; 
  5299.       History            : aliased HistoryQosPolicy; 
  5300.       Resource_Limits    : aliased ResourceLimitsQosPolicy; 
  5301.       Transport_Priority : aliased TransportPriorityQosPolicy; 
  5302.       Lifespan           : aliased LifespanQosPolicy; 
  5303.       Ownership          : aliased OwnershipQosPolicy; 
  5304.       -- --- Extensions: ---------------------------------------------------- 
  5305.       Protocol           : aliased TopicProtocolQosPolicy; 
  5306.    end record with 
  5307.      Convention => C; 
  5308.    --  <dref>TopicQos</dref> 
  5309.    --  <dref name="Topic_Data">TopicQos_topic_data</dref> 
  5310.    --  <dref name="Durability">TopicQos_durability</dref> 
  5311.    --  <dref name="Durability_Service">TopicQos_durability_service</dref> 
  5312.    --  <dref name="Deadline">TopicQos_deadline</dref> 
  5313.    --  <dref name="Latency_Budget">TopicQos_latency_budget</dref> 
  5314.    --  <dref name="Liveliness">TopicQos_liveliness</dref> 
  5315.    --  <dref name="Reliability">TopicQos_reliability</dref> 
  5316.    --  <dref name="Destination_Order">TopicQos_destination_order</dref> 
  5317.    --  <dref name="History">TopicQos_history</dref> 
  5318.    --  <dref name="Resource_Limits">TopicQos_resource_limits</dref> 
  5319.    --  <dref name="Transport_Priority">TopicQos_transport_priority</dref> 
  5320.    --  <dref name="Lifespan">TopicQos_lifespan</dref> 
  5321.    --  <dref name="Ownership">TopicQos_ownership</dref> 
  5322.    --  <dref internal="true" name="Protocol">TopicQos_protocol</dref> 
  5323.  
  5324.    type TopicQos_Access is access TopicQos; 
  5325.  
  5326.    --  <dref>TopicQos_initialize</dref> 
  5327.    procedure Initialize 
  5328.      (Self : in out TopicQos); 
  5329.  
  5330.    --  <dref>TopicQos_finalize</dref> 
  5331.    procedure Finalize 
  5332.      (Self : in out TopicQos); 
  5333.  
  5334.    --  <dref>TopicQos_copy</dref> 
  5335.    procedure Copy 
  5336.      (Target : in out TopicQos; 
  5337.       Source : in TopicQos); 
  5338.  
  5339.    -- 
  5340.    --  dds/dds_c_publication.h 
  5341.    -- 
  5342.  
  5343.    --  ---------------------------------------------------------- 
  5344.    --                  OfferedDeadlineMissedStatus 
  5345.    --  ---------------------------------------------------------- 
  5346.  
  5347.    type OfferedDeadlineMissedStatus is record 
  5348.       Total_Count          : aliased Long := 0; 
  5349.       Total_Count_Change   : aliased Long := 0; 
  5350.       Last_Instance_Handle : aliased InstanceHandle_T := Null_InstanceHandle_T; 
  5351.    end record with 
  5352.      Convention => C; 
  5353.    --  <dref>OfferedDeadlineMissedStatus</dref> 
  5354.    --  <dref name="Total_Count">OfferedDeadlineMissedStatus_total_count</dref> 
  5355.    --  <dref name="Total_Count_Change">OfferedDeadlineMissedStatus_total_count_change</dref> 
  5356.    --  <dref name="Last_Instance_Handle">OfferedDeadlineMissedStatus_last_instance_handle</dref> 
  5357.  
  5358.  
  5359.    OfferedDeadlineMissedStatus_INITIALIZER : constant OfferedDeadlineMissedStatus := 
  5360.                                                (Total_Count          => 0, 
  5361.                                                 Total_Count_Change   => 0, 
  5362.                                                 Last_Instance_Handle => Null_InstanceHandle_T); 
  5363.  
  5364.    --  ---------------------------------------------------------- 
  5365.    --                  LivelinessLostStatus 
  5366.    --  ---------------------------------------------------------- 
  5367.  
  5368.    type LivelinessLostStatus is record 
  5369.       Total_Count        : aliased Long := 0; 
  5370.       Total_Count_Change : aliased Long := 0; 
  5371.    end record with 
  5372.      Convention => C; 
  5373.    --  <dref>LivelinessLostStatus</dref> 
  5374.    --  <dref name="Total_Count">LivelinessLostStatus_total_count</dref> 
  5375.    --  <dref name="Total_Count_Change">LivelinessLostStatus_total_count_change</dref> 
  5376.  
  5377.    LivelinessLostStatus_INITIALIZER : constant LivelinessLostStatus := 
  5378.                                         (Total_Count        => 0, 
  5379.                                          Total_Count_Change => 0); 
  5380.  
  5381.    --  ---------------------------------------------------------- 
  5382.    --                  OfferedIncompatibleQosStatus 
  5383.    --  ---------------------------------------------------------- 
  5384.  
  5385.    type OfferedIncompatibleQosStatus is record 
  5386.       Total_Count        : aliased Long := 0; 
  5387.       Total_Count_Change : aliased Long := 0; 
  5388.       Last_Policy_Id     : aliased QosPolicyId_T := INVALID_QOS_POLICY_ID; 
  5389.       Policies           : aliased QosPolicyCount_Seq.Sequence; 
  5390.    end record with 
  5391.      Convention => C; 
  5392.    --  <dref>OfferedIncompatibleQosStatus</dref> 
  5393.    --  <dref name="Total_Count">OfferedIncompatibleQosStatus_total_count</dref> 
  5394.    --  <dref name="Total_Count_Change">OfferedIncompatibleQosStatus_total_count_change</dref> 
  5395.    --  <dref name="Last_Policy_Id">OfferedIncompatibleQosStatus_last_policy_id</dref> 
  5396.    --  <dref name="Policies">OfferedIncompatibleQosStatus_policies</dref> 
  5397.  
  5398.  
  5399.    type OfferedIncompatibleQosStatus_Access is access all OfferedIncompatibleQosStatus; 
  5400.  
  5401.    --     OfferedIncompatibleQosStatus_INITIALIZER : constant OfferedIncompatibleQosStatus := 
  5402.    --                                                  (Total_Count        => 0, 
  5403.    --                                                   Total_Count_Change => 0, 
  5404.    --                                                   Last_Policy_Id     => INVALID_QOS_POLICY_ID, 
  5405.    --                                                   Policies           => QosPolicyCount_Seq.DEFAULT_SEQUENCE); 
  5406.  
  5407.    --  ---------------------------------------------------------- 
  5408.    --                  PublicationMatchedStatus 
  5409.    --  ---------------------------------------------------------- 
  5410.  
  5411.    type PublicationMatchedStatus is record 
  5412.       Total_Count              : aliased Long := 0; 
  5413.       Total_Count_Change       : aliased Long := 0; 
  5414.       Current_Count            : aliased Long := 0; 
  5415.       Current_Count_Peak       : aliased Long := 0; 
  5416.       Current_Count_Change     : aliased Long := 0; 
  5417.       Last_Subscription_Handle : aliased InstanceHandle_T := Null_InstanceHandle_T; 
  5418.    end record with 
  5419.      Convention => C; 
  5420.    --  <dref>PublicationMatchedStatus</dref> 
  5421.    --  <dref name="Total_Count">PublicationMatchedStatus_total_count</dref> 
  5422.    --  <dref name="Total_Count_Change">PublicationMatchedStatus_total_count_change</dref> 
  5423.    --  <dref name="Current_Count">PublicationMatchedStatus_current_count</dref> 
  5424.    --  <dref name="Current_Count_Peak">PublicationMatchedStatus_current_count_peak</dref> 
  5425.    --  <dref name="Current_Count_Change">PublicationMatchedStatus_current_count_change</dref> 
  5426.    --  <dref name="Last_Subscription_Handle">PublicationMatchedStatus_last_subscription_handle</dref> 
  5427.  
  5428.  
  5429.    PublicationMatchedStatus_INITIALIZER : constant PublicationMatchedStatus := 
  5430.                                             (Total_Count              => 0, 
  5431.                                              Total_Count_Change       => 0, 
  5432.                                              Current_Count            => 0, 
  5433.                                              Current_Count_Peak       => 0, 
  5434.                                              Current_Count_Change     => 0, 
  5435.                                              Last_Subscription_Handle => Null_InstanceHandle_T); 
  5436.  
  5437.    --  ---------------------------------------------------------- 
  5438.    --                  ReliableWriterCacheEventCount 
  5439.    --  ---------------------------------------------------------- 
  5440.  
  5441.    type ReliableWriterCacheEventCount is record 
  5442.       Total_Count        : aliased Long := 0; 
  5443.       Total_Count_Change : aliased Long := 0; 
  5444.    end record; 
  5445.    --  <dref>ReliableWriterCacheEventCount</dref> 
  5446.    --  <dref name="Total_Count">ReliableWriterCacheEventCount_total_count</dref> 
  5447.    --  <dref name="Total_Count_Change">ReliableWriterCacheEventCount_total_count_change</dref> 
  5448.  
  5449.    pragma Convention (C, ReliableWriterCacheEventCount); 
  5450.  
  5451.    ReliableWriterCacheEventCount_INITIALIZER : constant ReliableWriterCacheEventCount := 
  5452.                                                  (Total_Count        => 0, 
  5453.                                                   Total_Count_Change => 0); 
  5454.  
  5455.    --  ---------------------------------------------------------- 
  5456.    --                  ReliableWriterCacheChangedStatus 
  5457.    --  ---------------------------------------------------------- 
  5458.  
  5459.    type ReliableWriterCacheChangedStatus is record 
  5460.       Empty_Reliable_Writer_Cache          : aliased ReliableWriterCacheEventCount; 
  5461.       Full_Reliable_Writer_Cache           : aliased ReliableWriterCacheEventCount; 
  5462.       Low_Watermark_Reliable_Writer_Cache  : aliased ReliableWriterCacheEventCount; 
  5463.       High_Watermark_Reliable_Writer_Cache : aliased ReliableWriterCacheEventCount; 
  5464.       Unacknowledged_Sample_Count          : aliased Long := 0; 
  5465.       Unacknowledged_Sample_Count_Peak     : aliased Long := 0; 
  5466.    end record; 
  5467.    --  <dref>ReliableWriterCacheChangedStatus</dref> 
  5468.    --  <dref name="Empty_Reliable_Writer_Cache">ReliableWriterCacheChangedStatus_empty_reliable_writer_cache</dref> 
  5469.    --  <dref name="Full_Reliable_Writer_Cache">ReliableWriterCacheChangedStatus_full_reliable_writer_cache</dref> 
  5470.    --  <dref name="Low_Watermark_Reliable_Writer_Cache">ReliableWriterCacheChangedStatus_low_watermark_reliable_writer_cache</dref> 
  5471.    --  <dref name="High_Watermark_Reliable_Writer_Cache">ReliableWriterCacheChangedStatus_high_watermark_reliable_writer_cache</dref> 
  5472.    --  <dref name="Unacknowledged_Sample_Count">ReliableWriterCacheChangedStatus_unacknowledged_sample_count</dref> 
  5473.    --  <dref name="Unacknowledged_Sample_Count_peak">ReliableWriterCacheChangedStatus_unacknowledged_sample_count_peak</dref> 
  5474.  
  5475.    pragma Convention (C, ReliableWriterCacheChangedStatus); 
  5476.  
  5477.    ReliableWriterCacheChangedStatus_INITIALIZER : constant ReliableWriterCacheChangedStatus := 
  5478.                                                     (Empty_Reliable_Writer_Cache          => ReliableWriterCacheEventCount_INITIALIZER, 
  5479.                                                      Full_Reliable_Writer_Cache           => ReliableWriterCacheEventCount_INITIALIZER, 
  5480.                                                      Low_Watermark_Reliable_Writer_Cache  => ReliableWriterCacheEventCount_INITIALIZER, 
  5481.                                                      High_Watermark_Reliable_Writer_Cache => ReliableWriterCacheEventCount_INITIALIZER, 
  5482.                                                      Unacknowledged_Sample_Count          => 0, 
  5483.                                                      Unacknowledged_Sample_Count_Peak     => 0); 
  5484.  
  5485.    --  ---------------------------------------------------------- 
  5486.    --                  ReliableReaderActivityChangedStatus 
  5487.    --  ---------------------------------------------------------- 
  5488.  
  5489.    type ReliableReaderActivityChangedStatus is record 
  5490.       Active_Count          : aliased Long := 0; 
  5491.       Inactive_Count        : aliased Long := 0; 
  5492.       Active_Count_Change   : aliased Long := 0; 
  5493.       Inactive_Count_Change : aliased Long := 0; 
  5494.       Last_Instance_Handle  : aliased InstanceHandle_T := Null_InstanceHandle_T; 
  5495.    end record; 
  5496.    --  <dref>ReliableReaderActivityChangedStatus</dref> 
  5497.    --  <dref name="Acitve_Count">ReliableReaderActivityChangedStatus_active_count</dref> 
  5498.    --  <dref name="Inacitve_Count">ReliableReaderActivityChangedStatus_inactive_count</dref> 
  5499.    --  <dref name="Active_Count_change">ReliableReaderActivityChangedStatus_active_count_change</dref> 
  5500.    --  <dref name="Inactive_Count_change">ReliableReaderActivityChangedStatus_inactive_count_change</dref> 
  5501.    --  <dref name="Last_Instance_Handle">ReliableReaderActivityChangedStatus_last_instance_handle</dref> 
  5502.  
  5503.    pragma Convention (C, ReliableReaderActivityChangedStatus); 
  5504.  
  5505.    ReliableReaderActivityChangedStatus_INITIALIZER : constant  ReliableReaderActivityChangedStatus := 
  5506.                                                        (Active_Count          => 0, 
  5507.                                                         Inactive_Count        => 0, 
  5508.                                                         Active_Count_Change   => 0, 
  5509.                                                         Inactive_Count_Change => 0, 
  5510.                                                         Last_Instance_Handle  => Null_InstanceHandle_T); 
  5511.  
  5512.    --  ---------------------------------------------------------- 
  5513.    --                  AcknowledgmentInfo 
  5514.    --  ---------------------------------------------------------- 
  5515.  
  5516.    type AcknowledgmentInfo is record 
  5517.       Subscription_Handle : aliased InstanceHandle_T := Null_InstanceHandle_T; 
  5518.       Sample_Identity     : aliased SampleIdentity_T; 
  5519.       Cookie              : aliased Cookie_T; 
  5520.       Valid_Response_Data : aliased Boolean := False; 
  5521.       Response_Data       : aliased AckResponseData_T; 
  5522.    end record; 
  5523.    --  <dref>AcknowledgmentInfo</dref> 
  5524.    --  <dref name="Subscription_Handle">AcknowledgmentInfo_subscription_handle</dref> 
  5525.    --  <dref name="Sample_Identity">AcknowledgmentInfo_sample_identity</dref> 
  5526.    --  <dref name="Cookie">AcknowledgmentInfo_cookie</dref> 
  5527.    --  <dref name="Valid_Response_Data">AcknowledgmentInfo_valid_response_data</dref> 
  5528.    --  <dref name="Response_Data">AcknowledgmentInfo_response_data</dref> 
  5529.  
  5530.    pragma Convention (C, AcknowledgmentInfo); 
  5531.    type AcknowledgmentInfo_Access is access all AcknowledgmentInfo; 
  5532.  
  5533.    --  ---------------------------------------------------------- 
  5534.    --                  DataWriterQos 
  5535.    --  ---------------------------------------------------------- 
  5536.  
  5537.    type DataWriterQos is new Ada.Finalization.Limited_Controlled with record 
  5538.    --- 
  5539.       Durability             : aliased DurabilityQosPolicy; 
  5540.       Durability_Service     : aliased DurabilityServiceQosPolicy; 
  5541.       Deadline               : aliased DeadlineQosPolicy; 
  5542.       Latency_Budget         : aliased LatencyBudgetQosPolicy; 
  5543.       Liveliness             : aliased LivelinessQosPolicy; 
  5544.       Reliability            : aliased ReliabilityQosPolicy; 
  5545.       Destination_Order      : aliased DestinationOrderQosPolicy; 
  5546.       History                : aliased HistoryQosPolicy; 
  5547.       Resource_Limits        : aliased ResourceLimitsQosPolicy; 
  5548.       Transport_Priority     : aliased TransportPriorityQosPolicy; 
  5549.       Lifespan               : aliased LifespanQosPolicy; 
  5550.       User_Data              : aliased UserDataQosPolicy; 
  5551.       Ownership              : aliased OwnershipQosPolicy; 
  5552.       Ownership_Strength     : aliased OwnershipStrengthQosPolicy; 
  5553.       Writer_Data_Lifecycle  : aliased WriterDataLifecycleQosPolicy; 
  5554.       -- --- Extensions: ---------------------------------------------------- 
  5555.       Writer_Resource_Limits : aliased DataWriterResourceLimitsQosPolicy; 
  5556.       Protocol               : aliased DataWriterProtocolQosPolicy; 
  5557.       Transport_Selection    : aliased TransportSelectionQosPolicy; 
  5558.       Unicast                : aliased TransportUnicastQosPolicy; 
  5559.       Encapsulation          : aliased TransportEncapsulationQosPolicy; 
  5560.       Publish_Mode           : aliased PublishModeQosPolicy; 
  5561.       Property               : aliased PropertyQosPolicy; 
  5562.       Service                : aliased ServiceQosPolicy; 
  5563.       Batch                  : aliased BatchQosPolicy; 
  5564.       Multi_Channel          : aliased MultiChannelQosPolicy; 
  5565.       Availability           : aliased AvailabilityQosPolicy; 
  5566.       Publication_Name       : aliased EntityNameQosPolicy; 
  5567.       Type_Support           : aliased TypeSupportQosPolicy; 
  5568.       Topic_Query_Dispatch   : aliased TopicQueryDispatchQosPolicy; 
  5569.    end record; 
  5570.    --  <dref>DataWriterQos</dref> 
  5571.    --  <dref name="Durability">DataWriterQos_durability</dref> 
  5572.    --  <dref name="Durability_Service">DataWriterQos_durability_service</dref> 
  5573.    --  <dref name="Deadline">DataWriterQos_deadline</dref> 
  5574.    --  <dref name="Latency_Budget">DataWriterQos_latency_budget</dref> 
  5575.    --  <dref name="Liveliness">DataWriterQos_liveliness</dref> 
  5576.    --  <dref name="Reliability">DataWriterQos_reliability</dref> 
  5577.    --  <dref name="Destination_Order">DataWriterQos_destination_order</dref> 
  5578.    --  <dref name="History">DataWriterQos_history</dref> 
  5579.    --  <dref name="Resource_Limits">DataWriterQos_resource_limits</dref> 
  5580.    --  <dref name="Transport_Priority">DataWriterQos_transport_priority</dref> 
  5581.    --  <dref name="Lifespan">DataWriterQos_lifespan</dref> 
  5582.    --  <dref name="User_Data">DataWriterQos_user_data</dref> 
  5583.    --  <dref name="Ownership">DataWriterQos_ownership</dref> 
  5584.    --  <dref name="Ownership_Strength">DataWriterQos_ownership_strength</dref> 
  5585.    --  <dref name="Writer_Data_Lifecycle">DataWriterQos_writer_data_lifecycle</dref> 
  5586.    --  <dref name="Writer_Resource_Limits">DataWriterQos_writer_resource_limits</dref> 
  5587.    --  <dref name="Protocol">DataWriterQos_protocol</dref> 
  5588.    --  <dref name="Transport_Selection">DataWriterQos_transport_selection</dref> 
  5589.    --  <dref name="Unicast">DataWriterQos_unicast</dref> 
  5590.    --  <dref name="Encapsulation">DataWriterQos_encapsulation</dref> 
  5591.    --  <dref name="Publish_Mode">DataWriterQos_publish_mode</dref> 
  5592.    --  <dref name="Property">DataWriterQos_property</dref> 
  5593.    --  <dref name="Service">DataWriterQos_service</dref> 
  5594.    --  <dref name="batch">DataWriterQos_batch</dref> 
  5595.    --  <dref name="multi_channel">DataWriterQos_multi_channel</dref> 
  5596.    --  <dref name="Availability">DataWriterQos_availability</dref> 
  5597.    --  <dref name="publication_name">DataWriterQos_publication_name</dref> 
  5598.    --  <dref name="Type_Support">DataWriterQos_type_support</dref> 
  5599.    --  <dref name="Topic_Query_Dispatch">DataWriterQos_topic_query_dispatch</dref> 
  5600.  
  5601.    pragma Convention (C, DataWriterQos); 
  5602.  
  5603.    --  <dref>DataWriterQos_initialize</dref> 
  5604.    procedure Initialize 
  5605.      (Self : in out DataWriterQos); 
  5606.  
  5607.    --  <dref>DataWriterQos_finalize</dref> 
  5608.    procedure Finalize 
  5609.      (Self : in out DataWriterQos); 
  5610.  
  5611.    --  <dref>DataWriterQos_copy</dref> 
  5612.    procedure Copy 
  5613.      (Target : out DataWriterQos; 
  5614.       Source : in DataWriterQos); 
  5615.  
  5616.    --  ---------------------------------------------------------- 
  5617.    --                  PublisherQos 
  5618.    --  ---------------------------------------------------------- 
  5619.  
  5620.    type PublisherQos is  new Ada.Finalization.Limited_Controlled with record 
  5621.       Presentation           : PresentationQosPolicy; 
  5622.       Partition              : PartitionQosPolicy; 
  5623.       Group_Data             : GroupDataQosPolicy; 
  5624.       Entity_Factory         : EntityFactoryQosPolicy; 
  5625.       -- --- Extensions: ---------------------------------------------------- 
  5626.       Asynchronous_Publisher : aliased AsynchronousPublisherQosPolicy; 
  5627.       Exclusive_Area         : aliased ExclusiveAreaQosPolicy; 
  5628.       Protocol               : aliased PublisherProtocolQosPolicy; 
  5629.       Publisher_Name         : aliased EntityNameQosPolicy; 
  5630.    end record; 
  5631.    --  <dref>PublisherQos</dref> 
  5632.    --  <dref name="Presentation">PublisherQos_presentation</dref> 
  5633.    --  <dref name="Partition">PublisherQos_partition</dref> 
  5634.    --  <dref name="Group_Data">PublisherQos_group_data</dref> 
  5635.    --  <dref name="Entity_Factory">PublisherQos_entity_factory</dref> 
  5636.    --  <dref name="Asynchronous_Publisher">PublisherQos_asynchronous_publisher</dref> 
  5637.    --  <dref name="Exclusive_Area">PublisherQos_exclusive_area</dref> 
  5638.    --  <dref internal="True" name="Protocol">PublisherQos_protocol</dref> 
  5639.    --  <dref name="publisher_name">PublisherQos_publisher_name</dref> 
  5640.  
  5641.    pragma Convention (C, PublisherQos); 
  5642.    type PublisherQos_Access is access PublisherQos; 
  5643.  
  5644.    --  <dref>PublisherQos_initialize</dref> 
  5645.    procedure Initialize 
  5646.      (Self : in out PublisherQos); 
  5647.  
  5648.    --  <dref>PublisherQos_finalize</dref> 
  5649.    procedure Finalize 
  5650.      (Self : in out PublisherQos); 
  5651.  
  5652.    --  <dref>PublisherQos_copy</dref> 
  5653.    procedure Copy 
  5654.      (Target : out PublisherQos; 
  5655.       Source : in  PublisherQos); 
  5656.  
  5657.    --  ---------------------------------------------------------- 
  5658.    --                  DataWriterCacheStatus 
  5659.    --  ---------------------------------------------------------- 
  5660.  
  5661.    type DataWriterCacheStatus is record 
  5662.       Sample_Count_Peak : aliased Long_Long; 
  5663.       Sample_Count      : aliased Long_Long; 
  5664.    end record; 
  5665.    --  <dref>DataWriterCacheStatus</dref> 
  5666.    --  <dref name="sample_count_peak">DataWriterCacheStatus_sample_count_peak</dref> 
  5667.    --  <dref name="sample_count">DataWriterCacheStatus_sample_count</dref> 
  5668.  
  5669.    pragma Convention (C, DataWriterCacheStatus); 
  5670.  
  5671.    --  NOTE: filtered_sample_* fields have been removed from the documentation (see CORE-5977) 
  5672.    --  and may eventually be removed from this structure (CORE-5953) 
  5673.    type DataWriterProtocolStatus is record 
  5674.       Pushed_Sample_Count                                  : aliased DDS.Long_Long := 0; 
  5675.       Pushed_Sample_Count_Change                           : aliased DDS.Long_Long := 0; 
  5676.       Pushed_Sample_Bytes                                  : aliased DDS.Long_Long := 0; 
  5677.       Pushed_Sample_Bytes_Change                           : aliased DDS.Long_Long := 0; 
  5678.       Filtered_Sample_Count                                : aliased DDS.Long_Long := 0; 
  5679.       Filtered_Sample_Count_Change                         : aliased DDS.Long_Long := 0; 
  5680.       Filtered_Sample_Bytes                                : aliased DDS.Long_Long := 0; 
  5681.       Filtered_Sample_Bytes_Change                         : aliased DDS.Long_Long := 0; 
  5682.       Sent_Heartbeat_Count                                 : aliased DDS.Long_Long := 0; 
  5683.       Sent_Heartbeat_Count_Change                          : aliased DDS.Long_Long := 0; 
  5684.       Sent_Heartbeat_Bytes                                 : aliased DDS.Long_Long := 0; 
  5685.       Sent_Heartbeat_Bytes_Change                          : aliased DDS.Long_Long := 0; 
  5686.       Pulled_Sample_Count                                  : aliased DDS.Long_Long := 0; 
  5687.       Pulled_Sample_Count_Change                           : aliased DDS.Long_Long := 0; 
  5688.       Pulled_Sample_Bytes                                  : aliased DDS.Long_Long := 0; 
  5689.       Pulled_Sample_Bytes_Change                           : aliased DDS.Long_Long := 0; 
  5690.       Received_Ack_Count                                   : aliased DDS.Long_Long := 0; 
  5691.       Received_Ack_Count_Change                            : aliased DDS.Long_Long := 0; 
  5692.       Received_Ack_Bytes                                   : aliased DDS.Long_Long := 0; 
  5693.       Received_Ack_Bytes_Change                            : aliased DDS.Long_Long := 0; 
  5694.       Received_Nack_Count                                  : aliased DDS.Long_Long := 0; 
  5695.       Received_Nack_Count_Change                           : aliased DDS.Long_Long := 0; 
  5696.       Received_Nack_Bytes                                  : aliased DDS.Long_Long := 0; 
  5697.       Received_Nack_Bytes_Change                           : aliased DDS.Long_Long := 0; 
  5698.       Sent_Gap_Count                                       : aliased DDS.Long_Long := 0; 
  5699.       Sent_Gap_Count_Change                                : aliased DDS.Long_Long := 0; 
  5700.       Sent_Gap_Bytes                                       : aliased DDS.Long_Long := 0; 
  5701.       Sent_Gap_Bytes_Change                                : aliased DDS.Long_Long := 0; 
  5702.       Rejected_Sample_Count                                : aliased DDS.Long_Long := 0; 
  5703.       Rejected_Sample_Count_Change                         : aliased DDS.Long_Long := 0; 
  5704.       Send_Window_Size                                     : aliased DDS.Long := 0; 
  5705.       First_Available_Sample_Sequence_Number               : aliased DDS.SequenceNumber_T; 
  5706.       Last_Available_Sample_Sequence_Number                : aliased DDS.SequenceNumber_T; 
  5707.       First_Unacknowledged_Sample_Sequence_Number          : aliased DDS.SequenceNumber_T; 
  5708.       First_Available_Sample_Virtual_Sequence_Number       : aliased DDS.SequenceNumber_T; 
  5709.       Last_Available_Sample_Virtual_Sequence_Number        : aliased DDS.SequenceNumber_T; 
  5710.       First_Unacknowledged_Sample_Virtual_Sequence_Number  : aliased DDS.SequenceNumber_T; 
  5711.       First_Unacknowledged_Sample_Subscription_Handle      : aliased DDS.InstanceHandle_T; 
  5712.       First_Unelapsed_Keep_Duration_Sample_Sequence_Number : aliased DDS.SequenceNumber_T; 
  5713.    end record; 
  5714.    --  <dref>DataWriterProtocolStatus</dref> 
  5715.    --  <dref name="pushed_sample_count">DataWriterProtocolStatus_pushed_sample_count</dref> 
  5716.    --  <dref name="pushed_sample_count_change">DataWriterProtocolStatus_pushed_sample_count_change</dref> 
  5717.    --  <dref name="pushed_sample_bytes">DataWriterProtocolStatus_pushed_sample_bytes</dref> 
  5718.    --  <dref name="pushed_sample_bytes_change">DataWriterProtocolStatus_pushed_sample_bytes_change</dref> 
  5719.    --  <dref name="sent_heartbeat_count">DataWriterProtocolStatus_sent_heartbeat_count</dref> 
  5720.    --  <dref name="sent_heartbeat_count_change">DataWriterProtocolStatus_sent_heartbeat_count_change</dref> 
  5721.    --  <dref name="sent_heartbeat_bytes">DataWriterProtocolStatus_sent_heartbeat_bytes</dref> 
  5722.    --  <dref name="sent_heartbeat_bytes_change">DataWriterProtocolStatus_sent_heartbeat_bytes_change</dref> 
  5723.    --  <dref name="pulled_sample_count">DataWriterProtocolStatus_pulled_sample_count</dref> 
  5724.    --  <dref name="pulled_sample_count_change">DataWriterProtocolStatus_pulled_sample_count_change</dref> 
  5725.    --  <dref name="pulled_sample_bytes">DataWriterProtocolStatus_pulled_sample_bytes</dref> 
  5726.    --  <dref name="pulled_sample_bytes_change">DataWriterProtocolStatus_pulled_sample_bytes_change</dref> 
  5727.    --  <dref name="received_ack_count">DataWriterProtocolStatus_received_ack_count</dref> 
  5728.    --  <dref name="received_ack_count_change">DataWriterProtocolStatus_received_ack_count_change</dref> 
  5729.    --  <dref name="received_ack_bytes">DataWriterProtocolStatus_received_ack_bytes</dref> 
  5730.    --  <dref name="received_ack_bytes_change">DataWriterProtocolStatus_received_ack_bytes_change</dref> 
  5731.    --  <dref name="received_nack_count">DataWriterProtocolStatus_received_nack_count</dref> 
  5732.    --  <dref name="received_nack_count_change">DataWriterProtocolStatus_received_nack_count_change</dref> 
  5733.    --  <dref name="received_nack_bytes">DataWriterProtocolStatus_received_nack_bytes</dref> 
  5734.    --  <dref name="received_nack_bytes_change">DataWriterProtocolStatus_received_nack_bytes_change</dref> 
  5735.    --  <dref name="sent_gap_count">DataWriterProtocolStatus_sent_gap_count</dref> 
  5736.    --  <dref name="sent_gap_count_change">DataWriterProtocolStatus_sent_gap_count_change</dref> 
  5737.    --  <dref name="sent_gap_bytes">DataWriterProtocolStatus_sent_gap_bytes</dref> 
  5738.    --  <dref name="sent_gap_bytes_change">DataWriterProtocolStatus_sent_gap_bytes_change</dref> 
  5739.    --  <dref name="rejected_sample_count">DataWriterProtocolStatus_rejected_sample_count</dref> 
  5740.    --  <dref name="rejected_sample_count_change">DataWriterProtocolStatus_rejected_sample_count_change</dref> 
  5741.    --  <dref name="send_window_size">DataWriterProtocolStatus_send_window_size</dref> 
  5742.    --  <dref name="first_available_sample_sequence_number">DataWriterProtocolStatus_first_available_sample_sequence_number</dref> 
  5743.    --  <dref name="last_available_sample_sequence_number">DataWriterProtocolStatus_last_available_sample_sequence_number</dref> 
  5744.    --  <dref name="first_unacknowledged_sample_sequence_number">DataWriterProtocolStatus_first_unacknowledged_sample_sequence_number</dref> 
  5745.    --  <dref name="first_available_sample_virtual_sequence_number">DataWriterProtocolStatus_first_available_sample_virtual_sequence_number</dref> 
  5746.    --  <dref name="last_available_sample_virtual_sequence_number">DataWriterProtocolStatus_last_available_sample_virtual_sequence_number</dref> 
  5747.    --  <dref name="first_unacknowledged_sample_virtual_sequence_number">DataWriterProtocolStatus_first_unacknowledged_sample_virtual_sequence_number</dref> 
  5748.    --  <dref name="first_unacknowledged_sample_subscription_handle">DataWriterProtocolStatus_first_unacknowledged_sample_subscription_handle</dref> 
  5749.    --  <dref name="first_unelapsed_keep_duration_sample_sequence_number">DataWriterProtocolStatus_first_unelapsed_keep_duration_sample_sequence_number</dref> 
  5750.  
  5751.    pragma Convention (C_Pass_By_Copy, DataWriterProtocolStatus);  -- ndds/dds_c/dds_c_publication.h:281 
  5752.  
  5753.    -- 
  5754.    --  dds/dds_c_subscription.h 
  5755.    -- 
  5756.  
  5757.    --  ---------------------------------------------------------- 
  5758.    --                  RequestedDeadlineMissedStatus 
  5759.    --  ---------------------------------------------------------- 
  5760.  
  5761.    type RequestedDeadlineMissedStatus is record 
  5762.       Total_Count          : aliased Long := 0; 
  5763.       Total_Count_Change   : aliased Long := 0; 
  5764.       Last_Instance_Handle : aliased InstanceHandle_T := Null_InstanceHandle_T; 
  5765.    end record; 
  5766.    --  <dref>RequestedDeadlineMissedStatus</dref> 
  5767.    --  <dref name="Total_Count">RequestedDeadlineMissedStatus_total_count</dref> 
  5768.    --  <dref name="Total_Count_Change">RequestedDeadlineMissedStatus_total_count_change</dref> 
  5769.    --  <dref name="Last_Instance_Handle">RequestedDeadlineMissedStatus_last_instance_handle</dref> 
  5770.  
  5771.    pragma Convention (C, RequestedDeadlineMissedStatus); 
  5772.  
  5773.    RequestedDeadlineMissedStatus_INITIALIZER : constant RequestedDeadlineMissedStatus := 
  5774.                                                  (Total_Count              => 0, 
  5775.                                                   Total_Count_Change       => 0, 
  5776.                                                   Last_Instance_Handle     => Null_InstanceHandle_T); 
  5777.  
  5778.  
  5779.    --  ---------------------------------------------------------- 
  5780.    --                  LivelinessChangedStatus 
  5781.    --  ---------------------------------------------------------- 
  5782.  
  5783.    type LivelinessChangedStatus is record 
  5784.       Alive_Count             : aliased Long := 0; 
  5785.       Not_Alive_Count         : aliased Long := 0; 
  5786.       Alive_Count_Change      : aliased Long := 0; 
  5787.       Not_Alive_Count_Change  : aliased Long := 0; 
  5788.       Last_Publication_Handle : aliased InstanceHandle_T := Null_InstanceHandle_T; 
  5789.    end record; 
  5790.    --  <dref>LivelinessChangedStatus</dref> 
  5791.    --  <dref name="Alive_Count">LivelinessChangedStatus_alive_count</dref> 
  5792.    --  <dref name="Not_Alive_Count">LivelinessChangedStatus_not_alive_count</dref> 
  5793.    --  <dref name="Alive_Count_Change">LivelinessChangedStatus_alive_count_change</dref> 
  5794.    --  <dref name="Not_Alive_Count_Change">LivelinessChangedStatus_not_alive_count_change</dref> 
  5795.    --  <dref name="Last_Publication_Handle">LivelinessChangedStatus_last_publication_handle</dref> 
  5796.  
  5797.    pragma Convention (C, LivelinessChangedStatus); 
  5798.  
  5799.    LivelinessChangedStatus_INITIALIZER : constant LivelinessChangedStatus := 
  5800.                                            (Alive_Count             => 0, 
  5801.                                             Not_Alive_Count         => 0, 
  5802.                                             Alive_Count_Change      => 0, 
  5803.                                             Not_Alive_Count_Change  => 0, 
  5804.                                             Last_Publication_Handle => Null_InstanceHandle_T); 
  5805.  
  5806.    --  ---------------------------------------------------------- 
  5807.    --                  RequestedIncompatibleQosStatus 
  5808.    --  ---------------------------------------------------------- 
  5809.  
  5810.    type RequestedIncompatibleQosStatus is record 
  5811.       Total_Count        : aliased Long := 0; 
  5812.       Total_Count_Change : aliased Long := 0; 
  5813.       Last_Policy_Id     : aliased QosPolicyId_T := INVALID_QOS_POLICY_ID; 
  5814.       Policies           : aliased QosPolicyCount_Seq.Sequence; 
  5815.    end record; 
  5816.    --  <dref>RequestedIncompatibleQosStatus</dref> 
  5817.    --  <dref name="Total_Count">RequestedIncompatibleQosStatus_total_count</dref> 
  5818.    --  <dref name="Total_Count_Change">RequestedIncompatibleQosStatus_total_count_change</dref> 
  5819.    --  <dref name="Last_Policy_Id">RequestedIncompatibleQosStatus_last_policy_id</dref> 
  5820.    --  <dref name="Policies">RequestedIncompatibleQosStatus_policies</dref> 
  5821.  
  5822.    pragma Convention (C, RequestedIncompatibleQosStatus); 
  5823.    type RequestedIncompatibleQosStatus_Access is access all RequestedIncompatibleQosStatus; 
  5824.  
  5825.    --     RequestedIncompatibleQosStatus_INITIALIZER : constant RequestedIncompatibleQosStatus := 
  5826.    --                                                    (Total_Count        => 0, 
  5827.    --                                                     Total_Count_Change => 0, 
  5828.    --                                                     Last_Policy_Id     => INVALID_QOS_POLICY_ID, 
  5829.    --                                                     Policies           => QosPolicyCount_Seq.DEFAULT_SEQUENCE); 
  5830.  
  5831.    --  ---------------------------------------------------------- 
  5832.    --                  SampleLostStatusKind 
  5833.    --  ---------------------------------------------------------- 
  5834.  
  5835.    type SampleLostStatusKind is new Unsigned_Long; 
  5836.    --  <dref>SampleLostStatusKind</dref> 
  5837.  
  5838.    NOT_LOST : constant SampleLostStatusKind := 0; 
  5839.    --  <dref>SampleLostStatusKind_NOT_LOST</dref> 
  5840.  
  5841.    LOST_BY_WRITER : constant SampleLostStatusKind := 1; 
  5842.    --  <dref>SampleLostStatusKind_LOST_BY_WRITER</dref> 
  5843.  
  5844.    LOST_BY_INSTANCES_LIMIT : constant SampleLostStatusKind := 2; 
  5845.    --  <dref>SampleLostStatusKind_LOST_BY_INSTANCES_LIMIT</dref> 
  5846.  
  5847.    LOST_BY_REMOTE_WRITERS_PER_INSTANCE_LIMIT : constant SampleLostStatusKind := 3; 
  5848.    --  <dref>SampleLostStatusKind_LOST_BY_REMOTE_WRITERS_PER_INSTANCE_LIMIT</dref> 
  5849.  
  5850.    LOST_BY_INCOMPLETE_COHERENT_SET : constant SampleLostStatusKind := 4; 
  5851.    --  <dref>SampleLostStatusKind_LOST_BY_LARGE_COHERENT_SET</dref> 
  5852.  
  5853.    LOST_BY_LARGE_COHERENT_SET : constant SampleLostStatusKind := 5; 
  5854.    --  <dref>SampleLostStatusKind_LOST_BY_LARGE_COHERENT_SET</dref> 
  5855.  
  5856.    LOST_BY_SAMPLES_PER_REMOTE_WRITER_LIMIT : constant SampleLostStatusKind := 6; 
  5857.    --  <dref>SampleLostStatusKind_LOST_BY_SAMPLES_PER_REMOTE_WRITER_LIMIT</dref> 
  5858.  
  5859.    LOST_BY_VIRTUAL_WRITERS_LIMIT : constant SampleLostStatusKind := 7; 
  5860.    --  <dref name="LOST_BY_VIRTUAL_WRITERS_LIMIT">SampleLostStatusKind_LOST_BY_VIRTUAL_WRITERS_LIMIT</dref> 
  5861.  
  5862.    LOST_BY_REMOTE_WRITERS_PER_SAMPLE_LIMIT : constant SampleLostStatusKind := 8; 
  5863.    --  <dref name="LOST_BY_REMOTE_WRITERS_PER_SAMPLE_LIMIT">SampleLostStatusKind_LOST_BY_REMOTE_WRITERS_PER_SAMPLE_LIMIT</dref> 
  5864.  
  5865.    LOST_BY_AVAILABILITY_WAITING_TIME : constant SampleLostStatusKind := 9; 
  5866.    --  <dref name="LOST_BY_AVAILABILITY_WAITING_TIME">SampleLostStatusKind_LOST_BY_AVAILABILITY_WAITING_TIME</dref> 
  5867.  
  5868.    LOST_BY_REMOTE_WRITER_SAMPLES_PER_VIRTUAL_QUEUE_LIMIT : constant SampleLostStatusKind := 10; 
  5869.    --  <dref name="LOST_BY_REMOTE_WRITER_SAMPLES_PER_VIRTUAL_QUEUE_LIMIT">SampleLostStatusKind_LOST_BY_REMOTE_WRITER_SAMPLES_PER_VIRTUAL_QUEUE_LIMIT</dref> 
  5870.  
  5871.    --  type SampleLostStatusKind_Access is access constant SampleLostStatusKind; 
  5872.  
  5873.    --  ---------------------------------------------------------- 
  5874.    --                  SampleLostStatus 
  5875.    --  ---------------------------------------------------------- 
  5876.  
  5877.    type SampleLostStatus is record 
  5878.       Total_Count        : aliased Long := 0; 
  5879.       Total_Count_Change : aliased Long := 0; 
  5880.       Last_Reason        : aliased SampleLostStatusKind := NOT_LOST; 
  5881.    end record; 
  5882.    --  <dref>SampleLostStatus</dref> 
  5883.    --  <dref name="Total_Count">SampleLostStatus_total_count</dref> 
  5884.    --  <dref name="Total_Count_Change">SampleLostStatus_total_count_change</dref> 
  5885.    --  <dref name="Last_Reason">SampleLostStatus_last_reason</dref> 
  5886.  
  5887.    pragma Convention (C, SampleLostStatus); 
  5888.  
  5889.    SampleLostStatus_INITIALIZER : constant SampleLostStatus := 
  5890.                                     (Total_Count        => 0, 
  5891.                                      Total_Count_Change => 0, 
  5892.                                      Last_Reason        => NOT_LOST); 
  5893.  
  5894.    --  ---------------------------------------------------------- 
  5895.    --                  SampleRejectedStatus 
  5896.    --  ---------------------------------------------------------- 
  5897.  
  5898.    type SampleRejectedStatusKind is 
  5899.      (NOT_REJECTED, 
  5900.       REJECTED_BY_INSTANCES_LIMIT, 
  5901.       REJECTED_BY_SAMPLES_LIMIT, 
  5902.       REJECTED_BY_SAMPLES_PER_INSTANCE_LIMIT, 
  5903.       REJECTED_BY_REMOTE_WRITERS_LIMIT, 
  5904.       REJECTED_BY_REMOTE_WRITERS_PER_INSTANCE_LIMIT, 
  5905.       REJECTED_BY_SAMPLES_PER_REMOTE_WRITER_LIMIT, 
  5906.       REJECTED_BY_VIRTUAL_WRITERS_LIMIT, 
  5907.       REJECTED_BY_REMOTE_WRITERS_PER_SAMPLE_LIMIT, 
  5908.       REJECTED_BY_REMOTE_WRITER_SAMPLES_PER_VIRTUAL_QUEUE_LIMIT); 
  5909.    --  <dref>SampleRejectedStatusKind</dref> 
  5910.    --  <dref name="NOT_REJECTED">SampleRejectedStatusKind_NOT_REJECTED</dref> 
  5911.    --  <dref name="REJECTED_BY_INSTANCES_LIMIT">SampleRejectedStatusKind_REJECTED_BY_INSTANCES_LIMIT</dref> 
  5912.    --  <dref name="REJECTED_BY_SAMPLES_LIMIT">SampleRejectedStatusKind_REJECTED_BY_SAMPLES_LIMIT</dref> 
  5913.    --  <dref name="REJECTED_BY_SAMPLES_PER_INSTANCE_LIMIT">SampleRejectedStatusKind_REJECTED_BY_SAMPLES_PER_INSTANCE_LIMIT</dref> 
  5914.    --  <dref name="REJECTED_BY_REMOTE_WRITERS_LIMIT">SampleRejectedStatusKind_REJECTED_BY_REMOTE_WRITERS_LIMIT</dref> 
  5915.    --  <dref name="REJECTED_BY_REMOTE_WRITERS_PER_INSTANCE_LIMIT">SampleRejectedStatusKind_REJECTED_BY_REMOTE_WRITERS_PER_INSTANCE_LIMIT</dref> 
  5916.    --  <dref name="REJECTED_BY_SAMPLES_PER_REMOTE_WRITER_LIMIT">SampleRejectedStatusKind_REJECTED_BY_SAMPLES_PER_REMOTE_WRITER_LIMIT</dref> 
  5917.    --  <dref name="REJECTED_BY_VIRTUAL_WRITERS_LIMIT">SampleRejectedStatusKind_REJECTED_BY_VIRTUAL_WRITERS_LIMIT</dref> 
  5918.    --  <dref name="REJECTED_BY_REMOTE_WRITERS_PER_SAMPLE_LIMIT">SampleRejectedStatusKind_REJECTED_BY_REMOTE_WRITERS_PER_SAMPLE_LIMIT</dref> 
  5919.    --  <dref name="REJECTED_BY_REMOTE_WRITER_SAMPLES_PER_VIRTUAL_QUEUE_LIMIT>SampleRejectedStatusKind_REJECTED_BY_REMOTE_WRITER_SAMPLES_PER_VIRTUAL_QUEUE_LIMIT</dref> 
  5920.  
  5921.  
  5922.    pragma Convention (C, SampleRejectedStatusKind); 
  5923.  
  5924.    for SampleRejectedStatusKind use 
  5925.      (NOT_REJECTED                                              => 0, 
  5926.       REJECTED_BY_INSTANCES_LIMIT                               => 1, 
  5927.       REJECTED_BY_SAMPLES_LIMIT                                 => 2, 
  5928.       REJECTED_BY_SAMPLES_PER_INSTANCE_LIMIT                    => 3, 
  5929.       REJECTED_BY_REMOTE_WRITERS_LIMIT                          => 4, 
  5930.       REJECTED_BY_REMOTE_WRITERS_PER_INSTANCE_LIMIT             => 5, 
  5931.       REJECTED_BY_SAMPLES_PER_REMOTE_WRITER_LIMIT               => 6, 
  5932.       REJECTED_BY_VIRTUAL_WRITERS_LIMIT                         => 7, 
  5933.       REJECTED_BY_REMOTE_WRITERS_PER_SAMPLE_LIMIT               => 8, 
  5934.       REJECTED_BY_REMOTE_WRITER_SAMPLES_PER_VIRTUAL_QUEUE_LIMIT => 9); 
  5935.  
  5936.    type SampleRejectedStatus is record 
  5937.       Total_Count          : aliased Long := 0; 
  5938.       Total_Count_Change   : aliased Long := 0; 
  5939.       Last_Reason          : aliased SampleRejectedStatusKind := NOT_REJECTED; 
  5940.       Last_Instance_Handle : aliased InstanceHandle_T := Null_InstanceHandle_T; 
  5941.    end record; 
  5942.    --  <dref>SampleRejectedStatus</dref> 
  5943.    --  <dref name="Total_Count">SampleRejectedStatus_total_count</dref> 
  5944.    --  <dref name="Total_Count_Change">SampleRejectedStatus_total_count_change</dref> 
  5945.    --  <dref name="Last_Reason">SampleRejectedStatus_last_reason</dref> 
  5946.    --  <dref name="Last_Instance_Handle">SampleRejectedStatus_last_instance_handle</dref> 
  5947.  
  5948.    SampleRejectedStatus_INITIALIZER : constant SampleRejectedStatus := 
  5949.                                         (Total_Count          => 0, 
  5950.                                          Total_Count_Change   => 0, 
  5951.                                          Last_Reason          => NOT_REJECTED, 
  5952.                                          Last_Instance_Handle => Null_InstanceHandle_T); 
  5953.  
  5954.    --  ---------------------------------------------------------- 
  5955.    --                  SubscriptionMatchedStatus 
  5956.    --  ---------------------------------------------------------- 
  5957.  
  5958.    type SubscriptionMatchedStatus is limited record 
  5959.       Total_Count             : aliased Long := 0; 
  5960.       Total_Count_Change      : aliased Long := 0; 
  5961.       Current_Count           : aliased Long := 0; 
  5962.       Current_Count_Peak      : aliased Long := 0; 
  5963.       Current_Count_Change    : aliased Long := 0; 
  5964.       Last_Publication_Handle : aliased InstanceHandle_T := Null_InstanceHandle_T; 
  5965.    end record; 
  5966.    --  <dref>SubscriptionMatchedStatus</dref> 
  5967.    --  <dref name="Total_Count">SubscriptionMatchedStatus_total_count</dref> 
  5968.    --  <dref name="Total_Count_Change">SubscriptionMatchedStatus_total_count_change</dref> 
  5969.    --  <dref name="Current_Count">SubscriptionMatchedStatus_current_count</dref> 
  5970.    --  <dref name="Current_Count_Peak">SubscriptionMatchedStatus_current_count_peak</dref> 
  5971.    --  <dref name="Current_Count_Change">SubscriptionMatchedStatus_current_count_change</dref> 
  5972.    --  <dref name="Last_Publication_Handle">SubscriptionMatchedStatus_last_publication_handle</dref> 
  5973.  
  5974.    pragma Convention (C, SubscriptionMatchedStatus); 
  5975.  
  5976.    SubscriptionMatchedStatus_INITIALIZER : constant SubscriptionMatchedStatus := 
  5977.                                              (Total_Count              => 0, 
  5978.                                               Total_Count_Change       => 0, 
  5979.                                               Current_Count            => 0, 
  5980.                                               Current_Count_Peak       => 0, 
  5981.                                               Current_Count_Change     => 0, 
  5982.                                               Last_Publication_Handle  => Null_InstanceHandle_T); 
  5983.  
  5984.    --  ---------------------------------------------------------- 
  5985.    --                  DataReaderCacheStatus 
  5986.    --  ---------------------------------------------------------- 
  5987.  
  5988.    type DataReaderCacheStatus is record 
  5989.       Sample_Count_Peak : aliased Long_Long := 0; 
  5990.       Sample_Count      : aliased Long_Long := 0; 
  5991.    end record; 
  5992.    --  <dref>DataReaderCacheStatus</dref> 
  5993.    --  <dref name="Sample_Count_Peak">DataReaderCacheStatus_sample_count_peak</dref> 
  5994.    --  <dref name="Sample_Count">DataReaderCacheStatus_sample_count</dref> 
  5995.  
  5996.    pragma Convention (C, DataReaderCacheStatus); 
  5997.  
  5998.    DataReaderCacheStatus_INITIALIZER : constant DataReaderCacheStatus := 
  5999.                                          (Sample_Count_Peak => 0, 
  6000.                                           Sample_Count      => 0); 
  6001.  
  6002.    --  ---------------------------------------------------------- 
  6003.    --                  DataReaderProtocolStatus 
  6004.    --  ---------------------------------------------------------- 
  6005.  
  6006.    type DataReaderProtocolStatus is record 
  6007.       Received_Sample_Count                  : aliased Long_Long := 0; 
  6008.       Received_Sample_Count_Change           : aliased Long_Long := 0; 
  6009.       Received_Sample_Bytes                  : aliased Long_Long := 0; 
  6010.       Received_Sample_Bytes_Change           : aliased Long_Long := 0; 
  6011.       Duplicate_Sample_Count                 : aliased Long_Long := 0; 
  6012.       Duplicate_Sample_Count_Change          : aliased Long_Long := 0; 
  6013.       Duplicate_Sample_Bytes                 : aliased Long_Long := 0; 
  6014.       Duplicate_Sample_Bytes_Change          : aliased Long_Long := 0; 
  6015.       Filtered_Sample_Count                  : aliased Long_Long := 0; 
  6016.       Filtered_Sample_Count_Change           : aliased Long_Long := 0; 
  6017.       Filtered_Sample_Bytes                  : aliased Long_Long := 0; 
  6018.       Filtered_Sample_Bytes_Change           : aliased Long_Long := 0; 
  6019.       Received_Heartbeat_Count               : aliased Long_Long := 0; 
  6020.       Received_Heartbeat_Count_Change        : aliased Long_Long := 0; 
  6021.       Received_Heartbeat_Bytes               : aliased Long_Long := 0; 
  6022.       Received_Heartbeat_Bytes_Change        : aliased Long_Long := 0; 
  6023.       Sent_Ack_Count                         : aliased Long_Long := 0; 
  6024.       Sent_Ack_Count_Change                  : aliased Long_Long := 0; 
  6025.       Sent_Ack_Bytes                         : aliased Long_Long := 0; 
  6026.       Sent_Ack_Bytes_Change                  : aliased Long_Long := 0; 
  6027.       Sent_Nack_Count                        : aliased Long_Long := 0; 
  6028.       Sent_Nack_Count_Change                 : aliased Long_Long := 0; 
  6029.       Sent_Nack_Bytes                        : aliased Long_Long := 0; 
  6030.       Sent_Nack_Bytes_Change                 : aliased Long_Long := 0; 
  6031.       Received_Gap_Count                     : aliased Long_Long := 0; 
  6032.       Received_Gap_Count_Change              : aliased Long_Long := 0; 
  6033.       Received_Gap_Bytes                     : aliased Long_Long := 0; 
  6034.       Received_Gap_Bytes_Change              : aliased Long_Long := 0; 
  6035.       Rejected_Sample_Count                  : aliased Long_Long := 0; 
  6036.       Rejected_Sample_Count_Change           : aliased Long_Long := 0; 
  6037.       First_Available_Sample_Sequence_Number : aliased SequenceNumber_T; 
  6038.       Last_Available_Sample_Sequence_Number  : aliased SequenceNumber_T; 
  6039.       Last_Committed_Sample_Sequence_Number  : aliased SequenceNumber_T; 
  6040.       Uncommitted_Sample_Count               : aliased Long := 0; 
  6041.    end record; 
  6042.    --  <dref>DataReaderProtocolStatus</dref> 
  6043.    --  <dref name="received_sample_count">DataReaderProtocolStatus_received_sample_count</dref> 
  6044.    --  <dref name="received_sample_count_change">DataReaderProtocolStatus_received_sample_count_change</dref> 
  6045.    --  <dref name="received_sample_bytes">DataReaderProtocolStatus_received_sample_bytes</dref> 
  6046.    --  <dref name="received_sample_bytes_change">DataReaderProtocolStatus_received_sample_bytes_change</dref> 
  6047.    --  <dref name="duplicate_sample_count">DataReaderProtocolStatus_duplicate_sample_count</dref> 
  6048.    --  <dref name="duplicate_sample_count_change">DataReaderProtocolStatus_duplicate_sample_count_change</dref> 
  6049.    --  <dref name="duplicate_sample_bytes">DataReaderProtocolStatus_duplicate_sample_bytes</dref> 
  6050.    --  <dref name="duplicate_sample_bytes_change">DataReaderProtocolStatus_duplicate_sample_bytes_change</dref> 
  6051.    --  <dref name="filtered_sample_count">DataReaderProtocolStatus_filtered_sample_count</dref> 
  6052.    --  <dref name="filtered_sample_count_change">DataReaderProtocolStatus_filtered_sample_count_change</dref> 
  6053.    --  <dref name="filtered_sample_bytes">DataReaderProtocolStatus_filtered_sample_bytes</dref> 
  6054.    --  <dref name="filtered_sample_bytes_change">DataReaderProtocolStatus_filtered_sample_bytes_change</dref> 
  6055.    --  <dref name="received_heartbeat_count">DataReaderProtocolStatus_received_heartbeat_count</dref> 
  6056.    --  <dref name="received_heartbeat_count_change">DataReaderProtocolStatus_received_heartbeat_count_change</dref> 
  6057.    --  <dref name="received_heartbeat_bytes">DataReaderProtocolStatus_received_heartbeat_bytes</dref> 
  6058.    --  <dref name="received_heartbeat_bytes_change">DataReaderProtocolStatus_received_heartbeat_bytes_change</dref> 
  6059.    --  <dref name="sent_ack_count">DataReaderProtocolStatus_sent_ack_count</dref> 
  6060.    --  <dref name="sent_ack_count_change">DataReaderProtocolStatus_sent_ack_count_change</dref> 
  6061.    --  <dref name="sent_ack_bytes">DataReaderProtocolStatus_sent_ack_bytes</dref> 
  6062.    --  <dref name="sent_ack_bytes_change">DataReaderProtocolStatus_sent_ack_bytes_change</dref> 
  6063.    --  <dref name="sent_nack_count">DataReaderProtocolStatus_sent_nack_count</dref> 
  6064.    --  <dref name="sent_nack_count_change">DataReaderProtocolStatus_sent_nack_count_change</dref> 
  6065.    --  <dref name="sent_nack_bytes">DataReaderProtocolStatus_sent_nack_bytes</dref> 
  6066.    --  <dref name="sent_nack_bytes_change">DataReaderProtocolStatus_sent_nack_bytes_change</dref> 
  6067.    --  <dref name="received_gap_count">DataReaderProtocolStatus_received_gap_count</dref> 
  6068.    --  <dref name="received_gap_count_change">DataReaderProtocolStatus_received_gap_count_change</dref> 
  6069.    --  <dref name="received_gap_bytes">DataReaderProtocolStatus_received_gap_bytes</dref> 
  6070.    --  <dref name="received_gap_bytes_change">DataReaderProtocolStatus_received_gap_bytes_change</dref> 
  6071.    --  <dref name="rejected_sample_count">DataReaderProtocolStatus_rejected_sample_count</dref> 
  6072.    --  <dref name="rejected_sample_count_change">DataReaderProtocolStatus_rejected_sample_count_change</dref> 
  6073.    --  <dref name="first_available_sample_sequence_number">DataReaderProtocolStatus_first_available_sample_sequence_number</dref> 
  6074.    --  <dref name="last_available_sample_sequence_number">DataReaderProtocolStatus_last_available_sample_sequence_number</dref> 
  6075.    --  <dref name="last_committed_sample_sequence_number">DataReaderProtocolStatus_last_committed_sample_sequence_number</dref> 
  6076.    --  <dref name="uncommitted_sample_count">DataReaderProtocolStatus_uncommitted_sample_count</dref> 
  6077.  
  6078.    pragma Convention (C_Pass_By_Copy, DataReaderProtocolStatus); 
  6079.  
  6080.    DataReaderProtocolStatus_INITIALIZER : constant DataReaderProtocolStatus := 
  6081.                                             (Received_Sample_Count                  => 0, 
  6082.                                              Received_Sample_Count_Change           => 0, 
  6083.                                              Received_Sample_Bytes                  => 0, 
  6084.                                              Received_Sample_Bytes_Change           => 0, 
  6085.                                              Duplicate_Sample_Count                 => 0, 
  6086.                                              Duplicate_Sample_Count_Change          => 0, 
  6087.                                              Duplicate_Sample_Bytes                 => 0, 
  6088.                                              Duplicate_Sample_Bytes_Change          => 0, 
  6089.                                              Filtered_Sample_Count                  => 0, 
  6090.                                              Filtered_Sample_Count_Change           => 0, 
  6091.                                              Filtered_Sample_Bytes                  => 0, 
  6092.                                              Filtered_Sample_Bytes_Change           => 0, 
  6093.                                              Received_Heartbeat_Count               => 0, 
  6094.                                              Received_Heartbeat_Count_Change        => 0, 
  6095.                                              Received_Heartbeat_Bytes               => 0, 
  6096.                                              Received_Heartbeat_Bytes_Change        => 0, 
  6097.                                              Sent_Ack_Count                         => 0, 
  6098.                                              Sent_Ack_Count_Change                  => 0, 
  6099.                                              Sent_Ack_Bytes                         => 0, 
  6100.                                              Sent_Ack_Bytes_Change                  => 0, 
  6101.                                              Sent_Nack_Count                        => 0, 
  6102.                                              Sent_Nack_Count_Change                 => 0, 
  6103.                                              Sent_Nack_Bytes                        => 0, 
  6104.                                              Sent_Nack_Bytes_Change                 => 0, 
  6105.                                              Received_Gap_Count                     => 0, 
  6106.                                              Received_Gap_Count_Change              => 0, 
  6107.                                              Received_Gap_Bytes                     => 0, 
  6108.                                              Received_Gap_Bytes_Change              => 0, 
  6109.                                              Rejected_Sample_Count                  => 0, 
  6110.                                              Rejected_Sample_Count_Change           => 0, 
  6111.                                              First_Available_Sample_Sequence_Number => (-2147483648, 16#FFFF_FFFF#), 
  6112.                                              Last_Available_Sample_Sequence_Number  => (-2147483648, 16#FFFF_FFFF#), 
  6113.                                              Last_Committed_Sample_Sequence_Number  => (-2147483648, 16#FFFF_FFFF#), 
  6114.                                              Uncommitted_Sample_Count               => 0); 
  6115.  
  6116.    --  ---------------------------------------------------------- 
  6117.    --                  Sample States 
  6118.    --  ---------------------------------------------------------- 
  6119.  
  6120.    type SampleStateKind is new Unsigned_Long; 
  6121.    --  <dref>SampleStateKind</dref> 
  6122.  
  6123.    READ_SAMPLE_STATE : constant SampleStateKind     := 1; 
  6124.    --  <dref>SampleStateKind_READ_SAMPLE_STATE</dref> 
  6125.  
  6126.    NOT_READ_SAMPLE_STATE : constant SampleStateKind := 2; 
  6127.    --  <dref>SampleStateKind_NOT_READ_SAMPLE_STATE</dref> 
  6128.  
  6129.    subtype SampleStateMask is SampleStateKind; 
  6130.    --  <dref>SampleStateMask</dref> 
  6131.  
  6132.    --     ANY_SAMPLE_STATE : constant SampleStateMask := 65535; 
  6133.  
  6134.    ANY_SAMPLE_STATE  : constant SampleStateMask := 16#FFFF#; 
  6135.    --  <dref>ANY_SAMPLE_STATE</dref> 
  6136.  
  6137.    type SampleStateKind_Access is access constant SampleStateKind; 
  6138.  
  6139.    --  ---------------------------------------------------------- 
  6140.    --                  View States 
  6141.    --  ---------------------------------------------------------- 
  6142.  
  6143.    type ViewStateKind is new Unsigned_Long; 
  6144.    --  <dref>ViewStateKind</dref> 
  6145.  
  6146.    NEW_VIEW_STATE  : constant ViewStateKind     := 1; 
  6147.    --  <dref>ViewStateKind_NEW_VIEW_STATE</dref> 
  6148.  
  6149.    NOT_NEW_VIEW_STATE : constant ViewStateKind := 2; 
  6150.    --  <dref>ViewStateKind_NOT_NEW_VIEW_STATE</dref> 
  6151.  
  6152.    subtype ViewStateMask is ViewStateKind; 
  6153.    --  <dref>ViewStateMask</dref> 
  6154.  
  6155.    --     ANY_VIEW_STATE  : constant ViewStateMask      := 65535; 
  6156.  
  6157.    ANY_VIEW_STATE  : constant ViewStateMask := 16#FFFF#; 
  6158.    --  <dref>ANY_VIEW_STATE</dref> 
  6159.  
  6160.    type ViewStateKind_Access is access constant ViewStateKind; 
  6161.  
  6162.    --  ---------------------------------------------------------- 
  6163.    --                  Instance States 
  6164.    --  ---------------------------------------------------------- 
  6165.  
  6166.    type InstanceStateKind is   new Unsigned_Long; 
  6167.    --  <dref>InstanceStateKind</dref> 
  6168.  
  6169.    ALIVE_INSTANCE_STATE : constant InstanceStateKind                := 1; 
  6170.    --  <dref>InstanceStateKind_ALIVE_INSTANCE_STATE</dref> 
  6171.  
  6172.    NOT_ALIVE_DISPOSED_INSTANCE_STATE : constant InstanceStateKind   := 2; 
  6173.    --  <dref>InstanceStateKind_NOT_ALIVE_DISPOSED_INSTANCE_STATE</dref> 
  6174.  
  6175.    NOT_ALIVE_NO_WRITERS_INSTANCE_STATE : constant InstanceStateKind := 4; 
  6176.    --  <dref>InstanceStateKind_NOT_ALIVE_NO_WRITERS_INSTANCE_STATE</dref> 
  6177.  
  6178.    subtype InstanceStateMask is InstanceStateKind; 
  6179.    --  <dref>InstanceStateMask</dref> 
  6180.  
  6181.    NOT_ALIVE_INSTANCE_STATE : constant InstanceStateMask := 6; 
  6182.    --  <dref>NOT_ALIVE_INSTANCE_STATE</dref> 
  6183.  
  6184.    --     ANY_INSTANCE_STATE : constant InstanceStateMask := 65535; 
  6185.  
  6186.    ANY_INSTANCE_STATE  : constant InstanceStateMask := 16#FFFF#; 
  6187.    --  <dref>ANY_INSTANCE_STATE</dref> 
  6188.  
  6189.    type InstanceStateKind_Access is access constant InstanceStateKind; 
  6190.  
  6191.    --  ---------------------------------------------------------- 
  6192.    --                  Sample Info 
  6193.    --  ---------------------------------------------------------- 
  6194.  
  6195.    type SampleInfo is record 
  6196.       Sample_State                                                : aliased SampleStateKind; 
  6197.       View_State                                                  : aliased ViewStateKind; 
  6198.       Instance_State                                              : aliased InstanceStateKind; 
  6199.       Source_Timestamp                                            : aliased Time_T; 
  6200.       Instance_Handle                                             : aliased InstanceHandle_T; 
  6201.       Publication_Handle                                          : aliased InstanceHandle_T; 
  6202.       Disposed_Generation_Count                                   : aliased Long := 0; 
  6203.       No_Writers_Generation_Count                                 : aliased Long := 0; 
  6204.       Sample_Rank                                                 : aliased Long := 0; 
  6205.       Generation_Rank                                             : aliased Long := 0; 
  6206.       Absolute_Generation_Rank                                    : aliased Long := 0; 
  6207.       Valid_Data                                                  : aliased DDS.Boolean := False; 
  6208.       Reception_Timestamp                                         : aliased Time_T; 
  6209.       Publication_Sequence_Number                                 : aliased SequenceNumber_T; 
  6210.       Reception_Sequence_Number                                   : aliased SequenceNumber_T; 
  6211.       Publication_Virtual_Guid                                    : aliased Guid_T; 
  6212.       Publication_Virtual_Sequence_Number                         : aliased SequenceNumber_T; 
  6213.       Original_Publication_Virtual_Guid                           : aliased Guid_T; 
  6214.       Original_Publication_Virtual_Sequence_Number                : aliased SequenceNumber_T; 
  6215.       Related_Original_Publication_Virtual_Guid                   : aliased Guid_T; 
  6216.       Related_Original_Publication_Virtual_Sequence_Number        : aliased SequenceNumber_T; 
  6217.       Flag                                                        : aliased SampleFlag; 
  6218.       Source_Guid                                                 : aliased Guid_T; 
  6219.       Related_Source_Guid                                         : aliased Guid_T; 
  6220.       Related_Subscription_Guid                                   : aliased Guid_T; 
  6221.       Topic_Query_Guid                                            : aliased Guid_T; 
  6222.       Sample_Info_Hash                                            : aliased RTIDDS.Low_Level.osapi.hash_h.RTIOsapiHash; 
  6223.       Sample_Signature                                            : aliased RTIDDS.Low_Level.pres.common_impl_h.PRESSampleSignature; 
  6224.    end record; 
  6225.    --  <dref>SampleInfo</dref> 
  6226.    --  <dref name="Sample_State">SampleInfo_sample_state</dref> 
  6227.    --  <dref name="View_State">SampleInfo_view_state</dref> 
  6228.    --  <dref name="Instance_State">SampleInfo_instance_state</dref> 
  6229.    --  <dref name="Source_Timestamp">SampleInfo_source_timestamp</dref> 
  6230.    --  <dref name="Instance_Handle">SampleInfo_instance_handle</dref> 
  6231.    --  <dref name="Publication_Handle">SampleInfo_publication_handle</dref> 
  6232.    --  <dref name="Disposed_Generation_Count">SampleInfo_disposed_generation_count</dref> 
  6233.    --  <dref name="No_Writers_Generation_Count">SampleInfo_no_writers_generation_count</dref> 
  6234.    --  <dref name="Sample_Rank">SampleInfo_sample_rank</dref> 
  6235.    --  <dref name="Generation_Rank">SampleInfo_generation_rank</dref> 
  6236.    --  <dref name="Absolute_Generation_Rank">SampleInfo_absolute_generation_rank</dref> 
  6237.    --  <dref name="Valid_Data">SampleInfo_valid_data</dref> 
  6238.    --  <dref name="Reception_Timestamp">SampleInfo_reception_timestamp</dref> 
  6239.    --  <dref name="Publication_Sequence_Number">SampleInfo_publication_sequence_number</dref> 
  6240.    --  <dref name="Reception_Sequence_Number">SampleInfo_reception_sequence_number</dref> 
  6241.    --  <dref internal="true" name="Publication_Virtual_Guid">SampleInfo_publication_virtual_guid</dref> 
  6242.    --  <dref internal="true" name="Publication_Virtual_Sequence_Number">SampleInfo_publication_virtual_sequence_number</dref> 
  6243.    --  <dref name="Original_Publication_Virtual_Guid">SampleInfo_original_publication_virtual_guid</dref> 
  6244.    --  <dref name="Original_Publication_Virtual_Sequence_Number">SampleInfo_original_publication_virtual_sequence_number</dref> 
  6245.    --  <dref name="Related_Original_Publication_Virtual_Guid">SampleInfo_related_original_publication_virtual_guid</dref> 
  6246.    --  <dref name="Related_Original_Publication_Virtual_Sequence_Number">SampleInfo_related_original_publication_virtual_sequence_number</dref> 
  6247.    --  <dref name="Flag">SampleInfo_flag</dref> 
  6248.    --  <dref name="Source_Guid">SampleInfo_source_guid</dref> 
  6249.    --  <dref name="Related_Source_Guid">SampleInfo_related_source_guid</dref> 
  6250.    --  <dref name="Related_Subscription_Guid">SampleInfo_related_subscription_guid</dref> 
  6251.    --  <dref internal="true" name="Topic_Query_Guid">SampleInfo_topic_query_guid</dref> 
  6252.    --  <dref internal="true" name="Sample_Info_Hash">SampleInfo_sample_info_hash</dref> 
  6253.    --  <dref internal="true" name="Sample_Signature">SampleInfo_sample_signature</dref> 
  6254.  
  6255.  
  6256.    pragma Convention (C, SampleInfo); 
  6257.  
  6258.    type SampleInfo_Access is access all SampleInfo; 
  6259.    type SampleInfo_Array is array (Natural range <>) of aliased SampleInfo; 
  6260.    procedure Initialize (Self  : in out SampleInfo); 
  6261.    procedure Finalize (Self  : in out SampleInfo); 
  6262.    procedure Copy (Dst : in out SampleInfo; Src : in SampleInfo); 
  6263.  
  6264.    package SampleInfo_Seq is new DDS_Support.Sequences_Generic 
  6265.      (SampleInfo, 
  6266.       SampleInfo_Access, 
  6267.       DDS.Natural, 
  6268.       1, 
  6269.       SampleInfo_Array); 
  6270.    --  <dref>SampleInfoSeq</dref> 
  6271.  
  6272.    --  ---------------------------------------------------------- 
  6273.    --                  DataReaderOos 
  6274.    --  ---------------------------------------------------------- 
  6275.  
  6276.    type DataReaderQoS is new Ada.Finalization.Limited_Controlled with record 
  6277.    --- 
  6278.       Durability             : aliased DurabilityQosPolicy; 
  6279.       Deadline               : aliased DeadlineQosPolicy; 
  6280.       Latency_Budget         : aliased LatencyBudgetQosPolicy; 
  6281.       Liveliness             : aliased LivelinessQosPolicy; 
  6282.       Reliability            : aliased ReliabilityQosPolicy; 
  6283.       Destination_Order      : aliased DestinationOrderQosPolicy; 
  6284.       History                : aliased HistoryQosPolicy; 
  6285.       Resource_Limits        : aliased ResourceLimitsQosPolicy; 
  6286.       User_Data              : aliased UserDataQosPolicy; 
  6287.       Ownership              : aliased OwnershipQosPolicy; 
  6288.       Time_Based_Filter      : aliased TimeBasedFilterQosPolicy; 
  6289.       Reader_Data_Lifecycle  : aliased ReaderDataLifecycleQosPolicy; 
  6290.       Type_Consistency       : aliased TypeConsistencyEnforcementQosPolicy; 
  6291.       -- --- Extensions: ---------------------------------------------------- 
  6292.       Reader_Resource_Limits : aliased DataReaderResourceLimitsQosPolicy; 
  6293.       Protocol               : aliased DataReaderProtocolQosPolicy; 
  6294.       Transport_Selection    : aliased TransportSelectionQosPolicy; 
  6295.       Unicast                : aliased TransportUnicastQosPolicy; 
  6296.       Multicast              : aliased TransportMulticastQosPolicy; 
  6297.       Encapsulation          : aliased TransportEncapsulationQosPolicy; 
  6298.       Property               : aliased PropertyQosPolicy; 
  6299.       Service                : aliased ServiceQosPolicy; 
  6300.       Availability           : aliased AvailabilityQosPolicy; 
  6301.       Subscription_Name      : aliased EntityNameQosPolicy; 
  6302.       Transport_Priority     : aliased TransportPriorityQosPolicy; 
  6303.       Type_Support           : aliased TypeSupportQosPolicy; 
  6304.    end record; 
  6305.    --  <dref>DataReaderQos</dref> 
  6306.    --  <dref name="Durability">DataReaderQos_durability</dref> 
  6307.    --  <dref name="Deadline">DataReaderQos_deadline</dref> 
  6308.    --  <dref name="Latency_Budget">DataReaderQos_latency_budget</dref> 
  6309.    --  <dref name="Liveliness">DataReaderQos_liveliness</dref> 
  6310.    --  <dref name="Reliability">DataReaderQos_reliability</dref> 
  6311.    --  <dref name="Destination_Order">DataReaderQos_destination_order</dref> 
  6312.    --  <dref name="History">DataReaderQos_history</dref> 
  6313.    --  <dref name="Resource_Limits">DataReaderQos_resource_limits</dref> 
  6314.    --  <dref name="User_Data">DataReaderQos_user_data</dref> 
  6315.    --  <dref name="Ownership">DataReaderQos_ownership</dref> 
  6316.    --  <dref name="Time_Based_Filter">DataReaderQos_time_based_filter</dref> 
  6317.    --  <dref name="Reader_Data_Lifecycle">DataReaderQos_reader_data_lifecycle</dref> 
  6318.    --  <dref name="Type_Consistency">DataReaderQos_type_consistency</dref> 
  6319.    --  <dref name="Reader_Resource_Limits">DataReaderQos_reader_resource_limits</dref> 
  6320.    --  <dref name="Protocol">DataReaderQos_protocol</dref> 
  6321.    --  <dref name="Transport_Selection">DataReaderQos_transport_selection</dref> 
  6322.    --  <dref name="Unicast">DataReaderQos_unicast</dref> 
  6323.    --  <dref name="Multicast">DataReaderQos_multicast</dref> 
  6324.    --  <dref internal="true" name="Encapsulation">DataReaderQos_encapsulation</dref> 
  6325.    --  <dref name="Property">DataReaderQos_property</dref> 
  6326.    --  <dref name="Service">DataReaderQos_service</dref> 
  6327.    --  <dref name="Availability">DataReaderQos_availability</dref> 
  6328.    --  <dref name="Subscription_Name">DataReaderQos_subscription_name</dref> 
  6329.    --  <dref name="Transport_Priority">DataReaderQos_transport_priority</dref> 
  6330.    --  <dref name="Type_Support">DataReaderQos_type_support</dref> 
  6331.  
  6332.    pragma Convention (C, DataReaderQoS); 
  6333.  
  6334.    --  <dref>DataReaderQos_initialize</dref> 
  6335.    procedure Initialize 
  6336.      (Self : in out DataReaderQoS); 
  6337.  
  6338.    --  <dref>DataReaderQos_finalize</dref> 
  6339.    procedure Finalize 
  6340.      (Self : in out DataReaderQoS); 
  6341.  
  6342.    --  <dref>DataReaderQos_copy</dref> 
  6343.    procedure Copy 
  6344.      (Target : out DataReaderQoS; 
  6345.       Source : in DataReaderQoS); 
  6346.  
  6347.  
  6348.    --  ---------------------------------------------------------- 
  6349.    --                  SubscriberOos 
  6350.    --  ---------------------------------------------------------- 
  6351.  
  6352.    type SubscriberQos is new Ada.Finalization.Limited_Controlled with record 
  6353.       Presentation    : PresentationQosPolicy; 
  6354.       Partition       : PartitionQosPolicy; 
  6355.       Group_Data      : GroupDataQosPolicy; 
  6356.       Entity_Factory  : EntityFactoryQosPolicy; 
  6357.       -- --- Extensions: ---------------------------------------------------- 
  6358.       Exclusive_Area  : ExclusiveAreaQosPolicy; 
  6359.       Protocol        : aliased SubscriberProtocolQosPolicy; 
  6360.       Subscriber_Name : aliased EntityNameQosPolicy; 
  6361.    end record; 
  6362.    --  <dref>SubscriberQos</dref> 
  6363.    --  <dref name="Presentation">SubscriberQos_presentation</dref> 
  6364.    --  <dref name="Partition">SubscriberQos_partition</dref> 
  6365.    --  <dref name="Group_Data">SubscriberQos_group_data</dref> 
  6366.    --  <dref name="Entity_Factory">SubscriberQos_entity_factory</dref> 
  6367.    --  <dref name="Enclusive_Area">SubscriberQos_exclusive_area</dref> 
  6368.    --  <dref internal="true" name="Protocol">SubscriberQos_protocol</dref> 
  6369.    --  <dref name="subscriber_name">SubscriberQos_subscriber_name</dref> 
  6370.  
  6371.    pragma Convention (C, SubscriberQos); 
  6372.    type SubscriberQos_Access is access SubscriberQos; 
  6373.  
  6374.    --  <dref>SubscriberQos_initialize</dref> 
  6375.    procedure Initialize 
  6376.      (Self : in out SubscriberQos); 
  6377.  
  6378.    --  <dref>SubscriberQos_finalize</dref> 
  6379.    procedure Finalize 
  6380.      (Self : in out SubscriberQos); 
  6381.  
  6382.    --  <dref>SubscriberQos_copy</dref> 
  6383.    procedure Copy 
  6384.      (Target : out SubscriberQos; 
  6385.       Source : in SubscriberQos); 
  6386.  
  6387.    -- 
  6388.    --  From dds_sqlfilter.h 
  6389.    -- 
  6390.  
  6391.    SQLFILTER_NAME  : constant DDS.String := To_DDS_String ("DDSSQL"); 
  6392.    --  <dref>SQLFILTER_NAME</dref> 
  6393.  
  6394.  
  6395.    STRINGMATCHFILTER_NAME : constant DDS.String := To_DDS_String ("DDSSTRINGMATCH"); 
  6396.    --  <dref>STRINGMATCHFILTER_NAME</dref> 
  6397.    --  <dref>Shared_string_match_filter</dref> 
  6398.  
  6399.    -- 
  6400.    --  From dds_c_domain.h 
  6401.    -- 
  6402.  
  6403.    --  ---------------------------------------------------------- 
  6404.    --                  DomainParticipantQos 
  6405.    --  ---------------------------------------------------------- 
  6406.  
  6407.    type DomainParticipantQos is new Ada.Finalization.Limited_Controlled with  record 
  6408.       User_Data         : aliased UserDataQosPolicy; 
  6409.       Entity_Factory    : aliased EntityFactoryQosPolicy; 
  6410.       -- --------------- Extensions: ---------------------------------- 
  6411.       Wire_Protocol     : aliased WireProtocolQosPolicy; 
  6412.       Transport_Builtin : aliased TransportBuiltinQosPolicy; 
  6413.       Default_Unicast   : aliased TransportUnicastQosPolicy; 
  6414.       Discovery         : aliased DiscoveryQosPolicy; 
  6415.       Resource_Limits   : aliased DomainParticipantResourceLimitsQosPolicy; 
  6416.       Event             : aliased EventQosPolicy; 
  6417.       Receiver_Pool     : aliased ReceiverPoolQosPolicy; 
  6418.       Database          : aliased DatabaseQosPolicy; 
  6419.       Discovery_Config  : aliased DiscoveryConfigQosPolicy; 
  6420.       Exclusive_Area    : aliased ExclusiveAreaQosPolicy; 
  6421.       Property          : aliased PropertyQosPolicy; 
  6422.       Participant_Name  : aliased EntityNameQosPolicy; 
  6423.       Multicast_Mapping : aliased TransportMulticastMappingQosPolicy; 
  6424.       Service           : aliased ServiceQosPolicy; 
  6425.       User_Object       : aliased UserObjectQosPolicy; 
  6426.       Protocol          : aliased DomainParticipantProtocolQosPolicy; 
  6427.       Type_Support      : aliased TypeSupportQosPolicy; 
  6428.    end record; 
  6429.    --  <dref>DomainParticipantQos</dref> 
  6430.    --  <dref name="User_Data">DomainParticipantQos_user_data</dref> 
  6431.    --  <dref name="Entity_Factory">DomainParticipantQos_entity_factory</dref> 
  6432.    --  <dref name="Wire_Protocol">DomainParticipantQos_wire_protocol</dref> 
  6433.    --  <dref name="Transport_Builtin">DomainParticipantQos_transport_builtin</dref> 
  6434.    --  <dref name="Default_Unicast">DomainParticipantQos_default_unicast</dref> 
  6435.    --  <dref name="Discovery">DomainParticipantQos_discovery</dref> 
  6436.    --  <dref name="Resource_Limits">DomainParticipantQos_resource_limits</dref> 
  6437.    --  <dref name="Event">DomainParticipantQos_event</dref> 
  6438.    --  <dref name="Receiver_Pool">DomainParticipantQos_receiver_pool</dref> 
  6439.    --  <dref name="Database">DomainParticipantQos_database</dref> 
  6440.    --  <dref name="Discovery_Config">DomainParticipantQos_discovery_config</dref> 
  6441.    --  <dref name="Exclusive_Area">DomainParticipantQos_exclusive_area</dref> 
  6442.    --  <dref name="Property">DomainParticipantQos_property</dref> 
  6443.    --  <dref name="Participant_Name">DomainParticipantQos_participant_name</dref> 
  6444.    --  <dref name="Multicast_Mapping">DomainParticipantQos_multicast_mapping</dref> 
  6445.    --  <dref name="User_Object">DomainParticipantQos_user_object</dref> 
  6446.    --  <dref internal="true" name="Protocol">DomainParticipantQos_protocol</dref> 
  6447.    --  <dref name="Type_Support">DomainParticipantQos_type_support</dref> 
  6448.    --  TODO: Add Docs for Service 
  6449.  
  6450.    pragma Convention (C, DomainParticipantQos); 
  6451.    --   <internal> 
  6452.    --   for DomainParticipantQos'Alignment use 4; 
  6453.    --   </internal> 
  6454.  
  6455.    --  <dref>DomainParticipantQos_initialize</dref> 
  6456.    procedure Initialize 
  6457.      (Self : in out DomainParticipantQos); 
  6458.  
  6459.    --  <dref>DomainParticipantQos_finalize</dref> 
  6460.    procedure Finalize 
  6461.      (Self : in out DomainParticipantQos); 
  6462.  
  6463.    --  <dref>DomainParticipantQos_copy</dref> 
  6464.    procedure Copy 
  6465.      (Target : out  DomainParticipantQos; 
  6466.       Source : in DomainParticipantQos); 
  6467.  
  6468.    type LoggingQosPolicy is new DDS_LoggingQosPolicy; 
  6469.  
  6470.    --  ---------------------------------------------------------- 
  6471.    --                  SqlFilterAlignmentQos 
  6472.    --  ---------------------------------------------------------- 
  6473.  
  6474.    type SqlFilterAlignmentQos is record 
  6475.       Char_Alignment       : aliased DDS.Unsigned_Short := 0; 
  6476.       Short_Alignment      : aliased DDS.Unsigned_Short := 0; 
  6477.       Long_Alignment       : aliased DDS.Unsigned_Short := 0; 
  6478.       Float_Alignment      : aliased DDS.Unsigned_Short := 0; 
  6479.       Double_Alignment     : aliased DDS.Unsigned_Short := 0; 
  6480.       Longlong_Alignment   : aliased DDS.Unsigned_Short := 0; 
  6481.       Longdouble_Alignment : aliased DDS.Unsigned_Short := 0; 
  6482.       Pointer_Alignment    : aliased DDS.Unsigned_Short := 0; 
  6483.    end record; 
  6484.    pragma Convention (C_Pass_By_Copy, SqlFilterAlignmentQos);  -- ndds/dds_c/dds_c_sqlfilter.h:170 
  6485.  
  6486.    type SqlFilterMemoryManagementQos is record 
  6487.       Buffer_Min_Size : aliased DDS.Long;  -- ndds/dds_c/dds_c_sqlfilter.h:198 
  6488.       Trim_Buffer     : aliased DDS.Boolean;  -- ndds/dds_c/dds_c_sqlfilter.h:199 
  6489.    end record; 
  6490.  
  6491.    pragma Convention (C_Pass_By_Copy, SqlFilterMemoryManagementQos);  -- ndds/dds_c/dds_c_sqlfilter.h:197 
  6492.    type SqlFilterGeneratorQos is new RTIDDS.Low_Level.dds_c.sqlfilter_h.DDS_SqlFilterGeneratorQos; 
  6493.  
  6494.    --  ---------------------------------------------------------- 
  6495.    --                  DomainParticipantFactoryQos 
  6496.    --  ---------------------------------------------------------- 
  6497.  
  6498.    type DomainParticipantFactoryQos is new Ada.Finalization.Limited_Controlled with  record 
  6499.       Entity_Factory  : aliased EntityFactoryQosPolicy; 
  6500.       -- --- Extensions: ---------------------------------------------------- 
  6501.       Resource_Limits : aliased SystemResourceLimitsQosPolicy; 
  6502.       Profile         : aliased ProfileQosPolicy; 
  6503.       Logging         : aliased DDS_LoggingQosPolicy := (0, 
  6504.                                                          NDDS_CONFIG_LOG_CATEGORY_PLATFORM, 
  6505.                                                          0, 
  6506.                                                          Interfaces.C.Strings.Null_Ptr, 
  6507.                                                          Interfaces.C.Strings.Null_Ptr, 
  6508.                                                          Interfaces.C.int (-1), 
  6509.                                                          Interfaces.C.int (-1)); 
  6510.    end record; 
  6511.    --  <dref>DomainParticipantFactoryQos</dref> 
  6512.    --  <dref name="Entity_Factory">DomainParticipantFactoryQos_entity_factory</dref> 
  6513.    --  <dref name="Resource_Limits">DomainParticipantFactoryQos_resource_limits</dref> 
  6514.    --  <dref name="Profile">DomainParticipantFactoryQos_profile</dref> 
  6515.    --  <dref name="Logging">DomainParticipantFactoryQos_logging</dref> 
  6516.  
  6517.    pragma Convention (C, DomainParticipantFactoryQos); 
  6518.  
  6519.    type DomainParticipantFactoryQos_Access is access constant DomainParticipantFactoryQos; 
  6520.  
  6521.    --  <dref>DomainParticipantFactoryQos_copy</dref> 
  6522.    procedure Copy 
  6523.      (Target : out DomainParticipantFactoryQos; 
  6524.       Source : in DomainParticipantFactoryQos); 
  6525.  
  6526.    --  <dref>DomainParticipantFactoryQos_initialize</dref> 
  6527.    procedure Initialize 
  6528.      (Self : in out DomainParticipantFactoryQos); 
  6529.  
  6530.    --  <dref>DomainParticipantFactoryQos_finalize</dref> 
  6531.    procedure Finalize 
  6532.      (Self : in out DomainParticipantFactoryQos); 
  6533.  
  6534.    -- 
  6535.    --  From dds_c_flowcontroller.h 
  6536.    -- 
  6537.  
  6538.    --  ---------------------------------------------------------- 
  6539.    --                  Flow Confroller 
  6540.    --  ---------------------------------------------------------- 
  6541.  
  6542.    DEFAULT_FLOW_CONTROLLER_NAME : constant DDS.String := To_DDS_String ("DDS_DEFAULT_FLOW_CONTROLLER_NAME"); 
  6543.    --  <dref>DEFAULT_FLOW_CONTROLLER_NAME</dref> 
  6544.    --  <dref>Shared_default_flow_controller_name</dref> 
  6545.  
  6546.    FIXED_RATE_FLOW_CONTROLLER_NAME : constant DDS.String := To_DDS_String ("DDS_FIXED_RATE_FLOW_CONTROLLER_NAME"); 
  6547.    --  <dref>FIXED_RATE_FLOW_CONTROLLER_NAME</dref> 
  6548.    --  <dref>Shared_fixed_rate_flow_controller_name</dref> 
  6549.  
  6550.  
  6551.    ON_DEMAND_FLOW_CONTROLLER_NAME : constant DDS.String := To_DDS_String ("DDS_ON_DEMAND_FLOW_CONTROLLER_NAME"); 
  6552.    --  <dref>ON_DEMAND_FLOW_CONTROLLER_NAME</dref> 
  6553.    --  <dref>Shared_on_demand_flow_controller_name</dref> 
  6554.  
  6555.  
  6556.    type FlowControllerSchedulingPolicy is new Unsigned_Long; 
  6557.    --  <dref>FlowControllerSchedulingPolicy</dref> 
  6558.    --  <dref>Shared_FlowControllerSchedulingPolicy</dref> 
  6559.  
  6560.    RR_FLOW_CONTROLLER_SCHED_POLICY : constant FlowControllerSchedulingPolicy := 0; 
  6561.    --  <dref>FlowControllerSchedulingPolicy_RR_FLOW_CONTROLLER_SCHED_POLICY</dref> 
  6562.    --  <dref>Shared_RR_FLOW_CONTROLLER_SCHED_POLICY</dref> 
  6563.  
  6564.    EDF_FLOW_CONTROLLER_SCHED_POLICY : constant FlowControllerSchedulingPolicy := 1; 
  6565.    --  <dref>FlowControllerSchedulingPolicy_EDF_FLOW_CONTROLLER_SCHED_POLICY</dref> 
  6566.    --  <dref>Shared_EDF_FLOW_CONTROLLER_SCHED_POLICY</dref> 
  6567.  
  6568.    type FlowControllerTokenBucketProperty_T is record 
  6569.       Max_Tokens               : aliased DDS.Long := 0; 
  6570.       Tokens_Added_Per_Period  : aliased DDS.Long := 0; 
  6571.       Tokens_Leaked_Per_Period : aliased DDS.Long := 0; 
  6572.       Period                   : aliased Duration_T; 
  6573.       Bytes_Per_Token          : aliased DDS.Long := 0; 
  6574.    end record; 
  6575.    --  <dref>FlowControllerTokenBucketProperty_t</dref> 
  6576.    --  <dref>Shared_max_tokens</dref> 
  6577.    --  <dref>Shared_tokens_added_per_period</dref> 
  6578.    --  <dref>Shared_tokens_leaked_per_period</dref> 
  6579.    --  <dref>Shared_flow_controller_property_period</dref> 
  6580.    --  <dref>Shared_bytes_per_token</dref> 
  6581.    --  <dref name="max_tokens">FlowControllerTokenBucketProperty_t_max_tokens</dref> 
  6582.    --  <dref name="tokens_added_per_period">FlowControllerTokenBucketProperty_t_tokens_added_per_period</dref> 
  6583.    --  <dref name="tokens_leaked_per_period">FlowControllerTokenBucketProperty_t_tokens_leaked_per_period</dref> 
  6584.    --  <dref name="period">FlowControllerTokenBucketProperty_t_period</dref> 
  6585.    --  <dref name="bytes_per_token">FlowControllerTokenBucketProperty_t_bytes_per_token</dref> 
  6586.  
  6587.    pragma Convention (C, FlowControllerTokenBucketProperty_T); 
  6588.  
  6589.    type FlowControllerProperty_T is record 
  6590.       Scheduling_Policy  : aliased DDS.FlowControllerSchedulingPolicy := EDF_FLOW_CONTROLLER_SCHED_POLICY; 
  6591.       Token_Bucket       : aliased DDS.FlowControllerTokenBucketProperty_T := (-1, -1, 0, (1, 0), -1); 
  6592.       Is_Vendor_Specific : aliased DDS.Boolean := False; 
  6593.    end record; 
  6594.    --  <dref>FlowControllerProperty_t</dref> 
  6595.    --  <dref>Shared_FlowControllerProperty_t</dref> 
  6596.    --  <dref name="scheduling_policy">FlowControllerProperty_t_scheduling_policy</dref> 
  6597.    --  <dref name="token_bucket">FlowControllerProperty_t_token_bucket</dref> 
  6598.    --  <dref internal="true" name="is_vendor_specific">FlowControllerProperty_t_is_vendor_specific</dref> 
  6599.  
  6600.    pragma Convention (C, FlowControllerProperty_T); 
  6601.  
  6602.    FlowControllerProperty_T_INITIALIZER : constant FlowControllerProperty_T := 
  6603.                                             (Scheduling_Policy  => DDS.EDF_FLOW_CONTROLLER_SCHED_POLICY, 
  6604.                                              Token_Bucket       => (-1, -1, 0, (1, 0), -1), 
  6605.                                              Is_Vendor_Specific => False); 
  6606.    --  <dref>FlowControllerProperty_t_INITIALIZER</dref> 
  6607.  
  6608.    procedure Copy (C_Out : not null access FlowControllerProperty_T; 
  6609.                    C_In  : not null access FlowControllerProperty_T); 
  6610.    --  <dref internal="true">FlowControllerProperty_copy</dref> 
  6611.  
  6612.    -- 
  6613.    --  DLRL stuff 
  6614.    -- 
  6615.  
  6616.  
  6617.    type ReferenceScope is 
  6618.      (SIMPLE_CONTENT_SCOPE, 
  6619.       REFERENCED_CONTENTS_SCOPE); 
  6620.  
  6621.    type ObjectScope is 
  6622.      (SIMPLE_OBJECT_SCOPE, 
  6623.       CONTAINED_OBJECTS_SCOPE, 
  6624.       RELATED_OBJECTS_SCOPE); 
  6625.  
  6626.    type DCPSState is 
  6627.      (INITIAL, 
  6628.       REGISTERED, 
  6629.       ENABLED); 
  6630.  
  6631.    type CacheUsage is 
  6632.      (READ_ONLY, 
  6633.       WRITE_ONLY, 
  6634.       READ_WRITE); 
  6635.  
  6636.    type ObjectSubState is new Interfaces.Unsigned_16; 
  6637.  
  6638.    OBJECT_NEW       : constant ObjectSubState := 2#0000_0000_0000_0001#; 
  6639.    OBJECT_MODIFIED  : constant ObjectSubState := 2#0000_0000_0000_0010#; 
  6640.    OBJECT_READ      : constant ObjectSubState := 2#0000_0000_0000_0100#; 
  6641.    OBJECT_DELETED   : constant ObjectSubState := 2#0000_0000_0000_1000#; 
  6642.    OBJECT_CREATED   : constant ObjectSubState := 2#0000_0001_0000_0000#; 
  6643.    OBJECT_CHANGED   : constant ObjectSubState := 2#0000_0010_0000_0000#; 
  6644.    OBJECT_WRITTEN   : constant ObjectSubState := 2#0000_0100_0000_0000#; 
  6645.    OBJECT_DESTROYED : constant ObjectSubState := 2#0000_1000_0000_0000#; 
  6646.  
  6647.    type DLRLOid is record 
  6648.       Creator_Id : aliased Unsigned_Long; 
  6649.       Local_Id   : aliased Unsigned_Long; 
  6650.    end record; 
  6651.  
  6652.    type TimeOutDuration is    new Interfaces.Unsigned_32; 
  6653.  
  6654.    INFINITE_TIME_OUT : constant TimeOutDuration  := -1; 
  6655.  
  6656.    subtype ClassName is DDS.String; 
  6657.    subtype CacheName is  DDS.String; 
  6658.    subtype RelationName is DDS.String; 
  6659.  
  6660.    BadParameter    : exception; 
  6661.  
  6662.    NotFound        : exception; 
  6663.  
  6664.    --  type ReadOnlyMode_Members is 
  6665.  
  6666.    ReadOnlyMode    : exception; 
  6667.  
  6668.    WriteOnlyMode   : exception; 
  6669.  
  6670.    AlreadyClonedInWriteMode : exception; 
  6671.  
  6672.    ExpiredTimeOut  : exception; 
  6673.  
  6674.  
  6675.    type ObjectReference is record 
  6676.       Oid        : DLRLOid; 
  6677.       Home_Index : Unsigned_Long; 
  6678.    end record; 
  6679.  
  6680.    type RelationKind is 
  6681.      (REF_RELATION, 
  6682.       LIST_RELATION, 
  6683.       INT_MAP_RELATION, 
  6684.       STR_MAP_RELATION); 
  6685.  
  6686.  
  6687.    type RelatedObjectDepth is   new Short_Integer; 
  6688.    UNLIMITED_RELATED_OBJECTS : constant RelatedObjectDepth    := -1; 
  6689.  
  6690.    type MembershipState is 
  6691.      (UNDEFINED_MEMBERSHIP, 
  6692.       ALREADY_MEMBER, 
  6693.       NOT_MEMBER); 
  6694.  
  6695.    -- 
  6696.    --  end DLRL stuff 
  6697.    -- 
  6698.  
  6699.  
  6700.    Not_Implemented : exception; 
  6701.  
  6702.    --  type Wide_String is access all Standard.Wide_Character; 
  6703.  
  6704.    --  <internal> 
  6705.    --  DDS_Octets support methods 
  6706.    --  </internal> 
  6707.  
  6708.    function Octets_New 
  6709.      return Octets_Ptr; 
  6710.    --  <dref>Octets_new</dref> 
  6711.  
  6712.    function Octets_New_W_Size 
  6713.      (Size : Integer) 
  6714.       return Octets_Ptr; 
  6715.    --  <dref>Octets_new_with_length</dref> 
  6716.  
  6717.    procedure Octets_Delete 
  6718.      (Self : Octets_Ptr); 
  6719.    --  <dref>Octets_destroy</dref> 
  6720.  
  6721.    --  <internal> 
  6722.    --  DDS_KeyedString support methods 
  6723.    --  </internal> 
  6724.  
  6725.    function KeyedString_New 
  6726.      return KeyedString_Ptr; 
  6727.    --  <dref>KeyedString_new</dref> 
  6728.  
  6729.    function KeyedString_New_W_Size 
  6730.      (Key_Size : Integer; 
  6731.       Size     : Integer) 
  6732.       return KeyedString_Ptr; 
  6733.    --  <dref>KeyedString_new_with_length</dref> 
  6734.  
  6735.    procedure KeyedString_Delete 
  6736.      (Self : KeyedString_Ptr); 
  6737.    --  <dref>KeyedString_destroy</dref> 
  6738.  
  6739.    --  <internal> 
  6740.    --  DDS_KeyedOctets support methods 
  6741.    --  </internal> 
  6742.  
  6743.    function KeyedOctets_New 
  6744.      return KeyedOctets_Ptr; 
  6745.    --  <dref>KeyedOctets_new</dref> 
  6746.  
  6747.    function KeyedOctets_New_W_Size 
  6748.      (Key_Size : Integer; 
  6749.       Size     : Integer) 
  6750.       return KeyedOctets_Ptr; 
  6751.    --  <dref>KeyedOctets_new_with_length</dref> 
  6752.  
  6753.    procedure KeyedOctets_Delete 
  6754.      (Self : KeyedOctets_Ptr); 
  6755.    --  <dref>KeyedOctets_destroy</dref> 
  6756.  
  6757. private 
  6758.    use Interfaces.C.Strings; 
  6759.    --  private routines to get address of c-comaptible Qos 
  6760.  
  6761.    function GetInterface (P_Qos : TopicQos) return access RTIDDS.Low_Level.dds_c.topic_h.DDS_TopicQos; 
  6762.    function GetInterface (P_Qos : DataWriterQos) return access RTIDDS.Low_Level.dds_c.publication_h.DDS_DataWriterQos; 
  6763.    function GetInterface (P_Qos : PublisherQos) return access RTIDDS.Low_Level.dds_c.publication_h.DDS_PublisherQos; 
  6764.    function GetInterface (P_Qos : DataReaderQoS) return access RTIDDS.Low_Level.dds_c.subscription_h.DDS_DataReaderQos; 
  6765.    function GetInterface (P_Qos : SubscriberQos) return access RTIDDS.Low_Level.dds_c.subscription_h.DDS_SubscriberQos; 
  6766.    function GetInterface (P_Qos : DomainParticipantQos) return access RTIDDS.Low_Level.dds_c.domain_h.DDS_DomainParticipantQos; 
  6767.    function GetInterface (P_Qos : DomainParticipantFactoryQos) return access RTIDDS.Low_Level.dds_c.domain_h.DDS_DomainParticipantFactoryQos; 
  6768.    function GetInterface (FC_P : FlowControllerProperty_T) return access RTIDDS.Low_Level.dds_c.flowcontroller_h.DDS_FlowControllerProperty_t; 
  6769.  
  6770.    procedure Ret_Code_To_Exception (Code    : RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_ReturnCode_t; 
  6771.                                     Message : Standard.String := ""); 
  6772.  
  6773.    procedure Ret_Code_To_Exception (Code    : RTIDDS.Low_Level.dds_c.common_h.DDS_Boolean; 
  6774.                                     Message : Standard.String := ""); 
  6775.  
  6776.    procedure Free is new Ada.Unchecked_Deallocation (PublisherQos, PublisherQos_Access); 
  6777.    procedure Free is new Ada.Unchecked_Deallocation (SubscriberQos, SubscriberQos_Access); 
  6778.    procedure Free is new Ada.Unchecked_Deallocation (TopicQos, TopicQos_Access); 
  6779.  
  6780.    procedure Validate_Library; 
  6781.    use type Octet; 
  6782.  
  6783.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_Time_t; 
  6784.                         Source : DDS.Time_T); 
  6785.  
  6786.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_WriteParams_t; 
  6787.                         Source : DDS.WriteParams_T); 
  6788.  
  6789.    procedure Copy_Up (Dst    : out DDS.Time_T; 
  6790.                       Source : RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_Time_t); 
  6791.  
  6792.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.pres.participant_h.PRESInstanceHandle; 
  6793.                         Source : DDS.InstanceHandle_T); 
  6794.  
  6795.    procedure Copy_Up (Dst    : out DDS.InstanceHandle_T; 
  6796.                       Source : RTIDDS.Low_Level.pres.participant_h.PRESInstanceHandle); 
  6797.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.common_h.DDS_Boolean; 
  6798.                         Source : DDS.Boolean); 
  6799.  
  6800.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_SampleIdentity_t; 
  6801.                         Source : DDS.SampleIdentity_T); 
  6802.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_GUID_t; 
  6803.                         Source : DDS.Guid_T); 
  6804.  
  6805.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_GUID_t_value_array; 
  6806.                         Source : DDS.GUID_T_Value_Array); 
  6807.  
  6808.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.common_h.DDS_Long; 
  6809.                         Source : DDS.Long); 
  6810.  
  6811.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.common_h.DDS_Long; 
  6812.                         Source : DDS.SampleFlag); 
  6813.  
  6814.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.common_h.DDS_UnsignedLong; 
  6815.                         Source : DDS.Unsigned_Long); 
  6816.  
  6817.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_SequenceNumber_t; 
  6818.                         Source : DDS.SequenceNumber_T); 
  6819.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_OctetSeq; 
  6820.                         Source : DDS.Octet_Seq.Sequence); 
  6821.    procedure Copy_Down (Dst    : out RTIDDS.Low_Level.dds_c.infrastructure_h.DDS_Cookie_t; 
  6822.                         Source : DDS.Cookie_T); 
  6823.  
  6824.  
  6825.  
  6826.    Epoch  : constant Ada.Calendar.Time := Ada.Calendar.Time_Of (1970, 01, 01); 
  6827.    type DDS_Wchar_Ptr is access all RTIDDS.Low_Level.dds_c.common_h.DDS_Wchar; 
  6828.  
  6829.    function GetInterface (Item : String) return access Interfaces.C.Strings.chars_ptr; 
  6830.    function GetInterface (Item : String) return Interfaces.C.Strings.chars_ptr; 
  6831.    procedure Copy (To : in out String; From : Interfaces.C.Strings.chars_ptr); 
  6832.  
  6833.    procedure Debug_Trap; 
  6834.  
  6835. end DDS;