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.Condition; 
  13. limited with DDS.Entity; 
  14.  
  15. --  <dref>StatusCondition</dref> 
  16. package DDS.StatusCondition is 
  17.  
  18.    type Ref is limited interface and DDS.Condition.Ref; 
  19.    type Ref_Access is access all Ref'Class; 
  20.  
  21.    function Get_Enabled_Statuses 
  22.      (Self : not null access Ref) 
  23.       return DDS.StatusMask is abstract; 
  24.    --  <dref>StatusCondition_get_enabled_statuses</dref> 
  25.  
  26.    procedure Set_Enabled_Statuses 
  27.      (Self : not null access Ref; 
  28.       Mask : in DDS.StatusMask) is abstract; 
  29.    --  <dref>StatusCondition_set_enabled_statuses</dref> 
  30.  
  31.    function Get_Entity 
  32.      (Self : not null access Ref) 
  33.       return access DDS.Entity.Ref'Class is abstract; 
  34.    --  <dref>StatusCondition_get_entity</dref> 
  35.  
  36.    function "=" (L : StatusCondition.Ref_Access; 
  37.                  R : Condition.Ref_Access) return Boolean; 
  38.  
  39.    function "=" (L : Condition.Ref_Access; 
  40.                  R : StatusCondition.Ref_Access) return Boolean; 
  41.  
  42. end DDS.StatusCondition; 
  43.