Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:00:31

0001 /***********************************************************************************\
0002 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #ifndef GAUDIKERNEL_IDETDATASVC_H
0012 #define GAUDIKERNEL_IDETDATASVC_H 1
0013 
0014 // Base class
0015 #include "GaudiKernel/IInterface.h"
0016 
0017 // Forward declarations
0018 namespace Gaudi {
0019   class Time;
0020 }
0021 
0022 ///---------------------------------------------------------------------------
0023 /** @class IDetDataSvc IDetDataSvc.h GaudiKernel/IDetDataSvc.h
0024 
0025     Abstract interface for a DataSvc manipulating condition data
0026     (i.e. DataObjects implementing IValidity).
0027 
0028     @author Andrea Valassi
0029     @date August 2001
0030 */ //--------------------------------------------------------------------------
0031 
0032 class GAUDI_API IDetDataSvc : virtual public IInterface {
0033 public:
0034   /// InterfaceID
0035   DeclareInterfaceID( IDetDataSvc, 2, 0 );
0036 
0037   /// Check if the event time has been set
0038   virtual bool validEventTime() const = 0;
0039 
0040   /// Get the event time
0041   virtual const Gaudi::Time& eventTime() const = 0;
0042 
0043   /// Set the event time
0044   virtual void setEventTime( const Gaudi::Time& ) = 0;
0045 };
0046 
0047 #endif // GAUDIKERNEL_IDETDATASVC_H