The Gaudi Framework
master (37c0b60a)
ICPUCrunchSvc.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_ICPUCRUNCHSVC_H
12
#define GAUDIKERNEL_ICPUCRUNCHSVC_H 1
13
14
#include <
GaudiKernel/IService.h
>
15
#include <chrono>
16
17
class
GAUDI_API
ICPUCrunchSvc
:
virtual
public
IService
{
18
19
public
:
20
virtual
~ICPUCrunchSvc
(){};
21
22
DeclareInterfaceID
(
ICPUCrunchSvc
, 1, 0 );
23
24
public
:
25
virtual
std::chrono::milliseconds
crunch_for
(
const
std::chrono::milliseconds
& )
const
= 0;
26
};
27
28
#endif
IService
Definition:
IService.h:28
IService.h
std::chrono::milliseconds
ICPUCrunchSvc::crunch_for
virtual std::chrono::milliseconds crunch_for(const std::chrono::milliseconds &) const =0
ICPUCrunchSvc::~ICPUCrunchSvc
virtual ~ICPUCrunchSvc()
Definition:
ICPUCrunchSvc.h:20
ICPUCrunchSvc
Definition:
ICPUCrunchSvc.h:17
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
ICPUCrunchSvc::DeclareInterfaceID
DeclareInterfaceID(ICPUCrunchSvc, 1, 0)
GaudiKernel
include
GaudiKernel
ICPUCrunchSvc.h
Generated on Thu Dec 19 2024 15:35:01 for The Gaudi Framework by
1.8.18