All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IRndmEngine.h
Go to the documentation of this file.
1 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/IRndmEngine.h,v 1.2 2001/01/19 14:22:55 mato Exp $
2 #ifndef GAUDIKERNEL_IRNDMENGINE_H
3 #define GAUDIKERNEL_IRNDMENGINE_H
4 
5 // STL include files
6 #include <vector>
7 
8 // Framework include files
10 
20 class GAUDI_API IRndmEngine: virtual public IInterface {
21 public:
25  virtual double rndm() const = 0;
32  virtual StatusCode rndmArray( std::vector<double>& array, long howmany, long start = 0) const = 0;
34  virtual StatusCode setSeeds(const std::vector<long>& seeds) = 0;
36  virtual StatusCode seeds(std::vector<long>& seeds) const = 0;
37 };
38 
39 #endif // GAUDI_INTERFACES_IRNDMENGINE_H
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Definition of the basic interface.
Definition: IInterface.h:160
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
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
tuple start
Definition: IOTest.py:88