The Gaudi Framework
v33r1 (b1225454)
ICPUCrunchSvc.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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
std::chrono::milliseconds
ICPUCrunchSvc
Definition:
ICPUCrunchSvc.h:17
IService
General service interface definition.
Definition:
IService.h:28
IService.h
IService::DeclareInterfaceID
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
ICPUCrunchSvc::~ICPUCrunchSvc
virtual ~ICPUCrunchSvc()
Definition:
ICPUCrunchSvc.h:20
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
GaudiKernel
GaudiKernel
ICPUCrunchSvc.h
Generated on Mon Mar 23 2020 15:31:02 for The Gaudi Framework by
1.8.15