The Gaudi Framework  master (d98a2936)
IDetDataSvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 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 #pragma once
12 
13 // Base class
14 #include <GaudiKernel/IInterface.h>
15 
16 // Forward declarations
17 namespace Gaudi {
18  class Time;
19 }
20 
22  //--------------------------------------------------------------------------
30 
31 class GAUDI_API IDetDataSvc : virtual public IInterface {
32 public:
35 
37  virtual bool validEventTime() const = 0;
38 
40  virtual const Gaudi::Time& eventTime() const = 0;
41 
43  virtual void setEventTime( const Gaudi::Time& ) = 0;
44 };
IDetDataSvc::validEventTime
virtual bool validEventTime() const =0
Check if the event time has been set.
IDetDataSvc
Definition: IDetDataSvc.h:31
IDetDataSvc::DeclareInterfaceID
DeclareInterfaceID(IDetDataSvc, 2, 0)
InterfaceID.
Gaudi::Time
Definition: Time.h:235
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:225
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:49