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. pragma Ada_05; 
  10.  
  11. --  Detailed Description 
  12. --  Root class for all the conditions that may be attached to a DDS.WaitSet. 
  13. --  This basic class is specialised in three classes: 
  14. --  DDS.GuardCondition, DDS.StatusCondition, and DDS.ReadCondition. 
  15. --  A DDSCondition has a trigger_value that can be 
  16. --   1 or 0 and is set automatically by the 
  17. --  Data Distribution Service. 
  18. -- 
  19. --  See also:DDS.SWaitSet 
  20.  
  21. --  <defgroup>ConditionsModuleDocs</defgroup> 
  22. --  <dref>Condition</dref> 
  23. package DDS.Condition is 
  24.  
  25.    type Ref is limited interface; 
  26.    type Ref_Access is access all Ref'Class; 
  27.    type Ref_Access_Access is access all Ref_Access; 
  28.    type Ref_Access_Array is array (Natural range <>) of aliased Ref_Access; 
  29.  
  30.    function Get_Trigger_Value 
  31.      (Self : access Ref) 
  32.       return DDS.Boolean is abstract; 
  33.    --  <dref>Condition_get_trigger_value</dref> 
  34.  
  35.    procedure Initialize 
  36.      (Self : in out Ref_Access) is null; 
  37.  
  38.    procedure Finalize 
  39.      (Self : in out Ref_Access) is null; 
  40.  
  41.    procedure Copy 
  42.      (Dst : in out Ref_Access; 
  43.       Src : in Ref_Access); 
  44.  
  45. end DDS.Condition;