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. with DDS.DataReaderListener; 
  11. with DDS.DataReader; 
  12.  
  13. package DDS.DataReaderAdapter is 
  14.    --<<eXtension>> A listener adapter. 
  15.    --  (The Adapter provides empty implementations for the listener methods) 
  16.    --  Clients who do not wish to implement all listener methods can subclass 
  17.    --  this class and override only the methods of interest. 
  18.  
  19.    type Ref is  limited interface and  DataReaderListener.Ref; 
  20.  
  21.    procedure On_Data_Available 
  22.      (Self       : not null access Ref; 
  23.       The_Reader : in DDS.DataReader.Ref'Class) is null; 
  24. end DDS.DataReaderAdapter;