1. pragma Ada_2012; 
  2. --  (c) Copyright, Real-Time Innovations, $Date:: 2012-02-16 #$ 
  3. --  All rights reserved. 
  4. -- 
  5. --  No duplications, whole or partial, manual or electronic, may be made 
  6. --  without express written permission.  Any such copies, or 
  7. --  revisions thereof, must display this notice unaltered. 
  8. --  This code contains trade secrets of Real-Time Innovations, Inc. 
  9.  
  10.  
  11.  
  12. with DDS.Entity; 
  13. with DDS.Domain_Entity; 
  14. with DDS.TopicListener; 
  15. with DDS.TopicDescription; 
  16. limited with DDS.DomainParticipant; 
  17.  
  18. --  <module name="DDSBuiltInTypesModule" actualName="Built-in Types">builtintypes</module> 
  19. --  <dref>Topic</dref> 
  20. package DDS.Topic is 
  21.  
  22.    type Ref is limited interface and DDS.TopicDescription.Ref and DDS.Domain_Entity.Ref; 
  23.    type Ref_Access is access all Ref'Class; 
  24.  
  25.    procedure Set_Qos 
  26.      (Self : not null access Ref; 
  27.       Qos  : in DDS.TopicQos) is abstract; 
  28.    --  <dref>Topic_set_qos</dref> 
  29.  
  30.    procedure Set_Qos_With_Profile 
  31.      (Self : not null access Ref; 
  32.       library_name  : in String; 
  33.       profile_name  : in String) is abstract; 
  34.    procedure Set_Qos_With_Profile 
  35.      (Self : not null access Ref; 
  36.       library_name  : in Standard.String; 
  37.       profile_name  : in Standard.String) is abstract; 
  38.    --  <dref>Topic_set_qos_with_profile</dref> 
  39.  
  40.    procedure Get_Qos 
  41.      (Self : not null access Ref; 
  42.       Qos  : in out DDS.TopicQos) is abstract; 
  43.    --  <dref>Topic_get_qos</dref> 
  44.  
  45.    procedure Set_Listener 
  46.      (Self       : not null access Ref; 
  47.       A_Listener : in DDS.TopicListener.Ref_Access; 
  48.       Mask       : in DDS.StatusMask) is abstract; 
  49.    --  <dref>Topic_set_listener</dref> 
  50.  
  51.    function Get_Listener 
  52.      (Self : not null access Ref) 
  53.       return DDS.TopicListener.Ref_Access is abstract; 
  54.    --  <dref>Topic_get_listener</dref> 
  55.  
  56.    procedure Get_Inconsistent_Topic_Status 
  57.      (Self   : not null access Ref; 
  58.       Status : in out DDS.InconsistentTopicStatus) is abstract; 
  59.    --  <dref>Topic_get_inconsistent_topic_status</dref> 
  60.  
  61.    --  --------------------- 
  62.    --  from TopicDescription 
  63.    --  --------------------- 
  64.  
  65.    function Get_Type_Name 
  66.      (Self : not null access Ref) 
  67.       return DDS.String is abstract; 
  68.  
  69.    function Get_Name 
  70.      (Self : not null access Ref) 
  71.       return DDS.String is abstract; 
  72.  
  73.    function Get_Participant 
  74.      (Self : not null access Ref) 
  75.      return access DDS.DomainParticipant.Ref'Class is abstract; 
  76.  
  77.    function As_TopicDescription 
  78.      (Self : not null access Ref) 
  79.       return DDS.TopicDescription.Ref_Access is abstract; 
  80.    --  <dref>Topic_as_topicdescription</dref> 
  81.  
  82.    function Narrow (Self : not null access DDS.TopicDescription.Ref'Class) 
  83.                     return Ref_Access; 
  84.    --  <dref>Topic_narrow</dref> 
  85.  
  86.    function To_Topic (Self : not null access DDS.TopicDescription.Ref'Class) 
  87.                     return Ref_Access; 
  88.    --  <dref>Topic_narrow</dref> 
  89.  
  90.    function Narrow_From_Entity (Self : not null access DDS.Entity.Ref'Class) 
  91.                                 return Ref_Access; 
  92.    --  <dref>Topic_narrow_from_entity</dref> 
  93. end DDS.Topic;