Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ICPUCrunchSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ICPUCRUNCHSVC_H
2 #define GAUDIKERNEL_ICPUCRUNCHSVC_H 1
3 
4 #include "GaudiKernel/IService.h"
5 #include <chrono>
6 
7 class GAUDI_API ICPUCrunchSvc : virtual public IService {
8 
9 public:
10  virtual ~ICPUCrunchSvc(){};
11 
13 
14 public:
15  virtual std::chrono::milliseconds crunch_for( const std::chrono::milliseconds& ) const = 0;
16 };
17 
18 #endif
General service interface definition.
Definition: IService.h:18
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
virtual ~ICPUCrunchSvc()
Definition: ICPUCrunchSvc.h:10
#define GAUDI_API
Definition: Kernel.h:71