All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IRndmGenSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_IRNDMGENSVC_H
2 #define GAUDIKERNEL_IRNDMGENSVC_H
3 
4 // STL include files
5 #include <string>
6 #include <vector>
7 
8 // Framework include files
9 #include "GaudiKernel/IService.h"
10 #include "GaudiKernel/IRndmGen.h"
11 
12 // Forward declarations
13 class IFactory;
14 class IRndmGen;
15 class StreamBuffer;
16 class IRndmEngine;
17 class IRndmGenFactory;
18 
35 class GAUDI_API IRndmGenSvc: virtual public IService {
36 public:
42  virtual IRndmEngine* engine() = 0;
43 
48  virtual StatusCode generator(const IRndmGen::Param& par, IRndmGen*& refpGen) = 0;
49 
51  virtual ~IRndmGenSvc() {}
52 };
53 
54 #endif // GAUDIKERNEL_IRNDMGENSVC_H
The stream buffer is a small object collecting object data.
Definition: StreamBuffer.h:40
Definition of a interface for a generic random number generators.
Definition: IRndmGen.h:36
virtual ~IRndmGenSvc()
virtual destructor
Definition: IRndmGenSvc.h:51
DeclareInterfaceID(IService, 3, 0)
InterfaceID.
Random Generator service interface definition Definition of a interface for a service to access rando...
Definition: IRndmGenSvc.h:35
General service interface definition.
Definition: IService.h:19
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
The IFactory is the interface used to create contrete instances of Objectes.
Definition: IFactory.h:17
Definition of a interface for a generic random number generator giving randomly distributed numbers i...
Definition: IRndmEngine.h:20
#define GAUDI_API
Definition: Kernel.h:108