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. with DDS.Condition_Impl; 
  12.  
  13. package DDS.GuardCondition_Impl is 
  14.  
  15.    type Ref is limited new DDS.Condition_Impl.Ref with null record; 
  16.    type Ref_Access is access all Ref'Class; 
  17.  
  18.    procedure Initialize 
  19.      (Self : in out Ref); 
  20.  
  21.    procedure Adjust 
  22.      (Self : in out Ref); 
  23.  
  24.    procedure Finalize 
  25.      (Self : in out Ref); 
  26.  
  27.    procedure Set_Trigger_Value 
  28.      (Self : access Ref; 
  29.       Value : DDS.Boolean); 
  30.  
  31.    function Get_Trigger_Value 
  32.      (Self : access Ref) return DDS.Boolean; 
  33.  
  34.    procedure Free (This : in out Ref_Access); 
  35. private 
  36.  
  37.    procedure Free_Impl is new Ada.Unchecked_Deallocation (Ref'Class, Ref_Access); 
  38.    procedure Free (This : in out Ref_Access) renames Free_Impl; 
  39. end DDS.GuardCondition_Impl;