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. limited with DDS.DomainParticipant; 
  12. with DDS.FlowController; 
  13. with RTIDDS.Obj_Impl; 
  14. with RTIDDS.Low_Level.ndds_dds_c_dds_c_flowcontroller_h; 
  15.  
  16. package DDS.FlowController_Impl is 
  17.    use RTIDDS.Low_Level.ndds_dds_c_dds_c_flowcontroller_h; 
  18.    type Ref is limited new RTIDDS.Obj_Impl.Ref and DDS.FlowController.Ref with null record; 
  19.    type Ref_Access is access all Ref'Class; 
  20.  
  21.    --  DDS.FlowController 
  22.  
  23.    procedure Set_Property 
  24.      (Self : not null access Ref; 
  25.       prop : access DDS.FlowControllerProperty_T); 
  26.  
  27.    procedure Get_Property 
  28.      (Self : not null access Ref; 
  29.       prop : access DDS.FlowControllerProperty_T); 
  30.  
  31.    procedure Trigger_Flow 
  32.      (Self : not null access Ref); 
  33.  
  34.    function Get_Name 
  35.      (Self : not null access Ref) 
  36.       return DDS.String; 
  37.  
  38.    procedure Get_Name 
  39.      (Self : not null access Ref; 
  40.       name : out DDS.String); 
  41.  
  42.    function Get_Participant 
  43.      (Self : not null access Ref) 
  44.       return access DDS.DomainParticipant.Ref'Class; 
  45.  
  46.    function CreateI 
  47.      (participant : access DDS.DomainParticipant.Ref'Class; 
  48.       name        : DDS.String; 
  49.       explicitDestroyOnly : Boolean; 
  50.       property    : access DDS_FlowControllerProperty_t) 
  51.       return access DDS.FlowController_Impl.Ref'Class; 
  52.  
  53.    type DDS_FlowController_Access is access all DDS_FlowController with Storage_Size => 0; 
  54.    function GetInterface (Self : not null access Ref) return DDS_FlowController_Access; 
  55.    procedure SetInterface (Self : not null access Ref; To : DDS_FlowController_Access); 
  56. end DDS.FlowController_Impl;