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.Condition_Impl; 
  14. with DDS.StatusCondition; 
  15. with RTIDDS.Low_Level.ndds_dds_c_dds_c_infrastructure_h; use RTIDDS.Low_Level.ndds_dds_c_dds_c_infrastructure_h; 
  16.  
  17. package DDS.StatusCondition_Impl is 
  18.  
  19.    type Ref is limited new DDS.Condition_Impl.Ref and DDS.StatusCondition.Ref with 
  20.       record 
  21.          Owner : DDS.Entity.Ref_Access; 
  22.       end record; 
  23.    type Ref_Access is access all Ref'Class; 
  24.  
  25.    function Get_Enabled_Statuses 
  26.      (Self : not null access Ref) 
  27.       return DDS.StatusMask; 
  28.  
  29.    function Get_Trigger_Value 
  30.      (Self : access Ref) 
  31.       return DDS.Boolean; 
  32.  
  33.    procedure Set_Enabled_Statuses 
  34.      (Self : not null access Ref; 
  35.       Mask : in DDS.StatusMask); 
  36.  
  37.    function Get_Entity 
  38.      (Self : not null access Ref) 
  39.       return access DDS.Entity.Ref'Class; 
  40.  
  41.    function Get_Impl_I 
  42.      (Self : access Ref) 
  43.       return DDS.Condition_Impl.Ref_Access; 
  44.  
  45.    type DDS_StatusCondition_Access is access all DDS_StatusCondition with Storage_Size => 0; 
  46.  
  47.    function GetInterface (Self : not null access Ref) return DDS_StatusCondition_Access; 
  48.    procedure SetInterface (Self : not null access Ref; To : DDS_StatusCondition_Access); 
  49. end DDS.StatusCondition_Impl;