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