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