The Gaudi Framework  master (37c0b60a)
IDetDataSvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_IDETDATASVC_H
12 #define GAUDIKERNEL_IDETDATASVC_H 1
13 
14 // Base class
15 #include <GaudiKernel/IInterface.h>
16 
17 // Forward declarations
18 namespace Gaudi {
19  class Time;
20 }
21 
23  //--------------------------------------------------------------------------
31 
32 class GAUDI_API IDetDataSvc : virtual public IInterface {
33 public:
36 
38  virtual bool validEventTime() const = 0;
39 
41  virtual const Gaudi::Time& eventTime() const = 0;
42 
44  virtual void setEventTime( const Gaudi::Time& ) = 0;
45 };
46 
47 #endif // GAUDIKERNEL_IDETDATASVC_H
IDetDataSvc::validEventTime
virtual bool validEventTime() const =0
Check if the event time has been set.
IDetDataSvc
Definition: IDetDataSvc.h:32
IDetDataSvc::DeclareInterfaceID
DeclareInterfaceID(IDetDataSvc, 2, 0)
InterfaceID.
Gaudi::Time
Definition: Time.h:241
IInterface.h
IDetDataSvc::setEventTime
virtual void setEventTime(const Gaudi::Time &)=0
Set the event time.
IDetDataSvc::eventTime
virtual const Gaudi::Time & eventTime() const =0
Get the event time.
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
IInterface
Definition: IInterface.h:239
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81