1. --  (c) Copyright, Real-Time Innovations, $Date:: 2012-02-16 #$ 
  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 DDS; 
  10. with DDS.DomainParticipant; 
  11. with DDS.TypeSupport; 
  12. with DDS.DataReader; 
  13. with DDS.DataWriter; 
  14.  
  15. --  <module name="DDSBuiltInTypesModule" actualName="Built-in Types">builtintypes</module> 
  16. --  <defgroup>StringBuiltInTypeGroupDocs</defgroup> 
  17. --  <dref>StringTypeSupport</dref> 
  18. package DDS.Builtin_String_TypeSupport is 
  19.  
  20.    type Ref is new Standard.DDS.TypeSupport.Ref with null record; 
  21.    type Ref_Access is access all Ref'Class; 
  22.  
  23.    function Create_TypedDataReaderI 
  24.      (Self : access Ref) return Standard.DDS.DataReader.Ref_Access; 
  25.  
  26.    procedure Destroy_TypedDataReaderI 
  27.      (Self   : access Ref; 
  28.       Reader : in out Standard.DDS.DataReader.Ref_Access); 
  29.  
  30.    function Create_TypedDataWriterI 
  31.      (Self : access Ref) return Standard.DDS.DataWriter.Ref_Access; 
  32.  
  33.    procedure Destroy_TypedDataWriterI 
  34.      (Self   : access Ref; 
  35.       Writer : in out Standard.DDS.DataWriter.Ref_Access) is null; 
  36.  
  37.    --  <internal> 
  38.    --  static methods 
  39.    --  </internal> 
  40.  
  41.    procedure Register_Type 
  42.      (Participant : not null access Standard.DDS.DomainParticipant.Ref'Class; 
  43.       Type_Name   : in Standard.DDS.String); 
  44.    --  <dref>StringTypeSupport_register_type</dref> 
  45.  
  46.    procedure Unregister_Type 
  47.      (Participant : not null access Standard.DDS.DomainParticipant.Ref'Class; 
  48.       Type_Name   : in Standard.DDS.String); 
  49.    --  <dref>StringTypeSupport_unregister_type</dref> 
  50.  
  51.    function Get_Type_Name return Standard.DDS.String; 
  52.    --  <dref>StringTypeSupport_get_type_name</dref> 
  53.  
  54.    procedure Get_Type_Name (name : out Standard.DDS.String); 
  55.  
  56.    function Create_Data (AllocatePointers : in Boolean := True) 
  57.      return DDS.String; 
  58.  
  59.    procedure Delete_Data 
  60.      (A_Data : in out DDS.String; DeletePointers : in Boolean := True); 
  61.  
  62.    procedure Print_Data (A_Data : DDS.String); 
  63.    --  <dref>StringTypeSupport_print_data</dref> 
  64.  
  65.    procedure Copy_Data (desc : DDS.String; source : DDS.String); 
  66.  
  67.    procedure Initialize_Data (a_data : DDS.String); 
  68.  
  69.    procedure Finalize_Data (a_data : DDS.String); 
  70.  
  71.    function Create_Data_w_Size 
  72.      (size : Integer) 
  73.       return DDS.String; 
  74.  
  75.    procedure Initialize_Data_w_Size 
  76.      (a_data : DDS.String; 
  77.       size   : Integer); 
  78.  
  79. end DDS.Builtin_String_TypeSupport;