| The Gaudi Framework v32r1 (f65d50dc)

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
12 DeclareInterfaceID( ICPUCrunchSvc, 1, 0 );
13
14 public:
15 virtual std::chrono::milliseconds crunch_for( const std::chrono::milliseconds& ) const = 0;
16 };
17
18 #endif
std::chrono::milliseconds
ICPUCrunchSvc
Definition: ICPUCrunchSvc.h:7
IService
General service interface definition.
Definition: IService.h:18
IService.h
IService::DeclareInterfaceID
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
ICPUCrunchSvc::~ICPUCrunchSvc
virtual ~ICPUCrunchSvc()
Definition: ICPUCrunchSvc.h:10
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71