#include <GaudiKernel/IRndmGenSvc.h>
Inheritance diagram for IRndmGenSvc:

Public Methods | |
| virtual IRndmEngine* | engine () = 0 |
| Retrieve engine. More... | |
| virtual StatusCode | addFactory (const IRndmGenFactory* fac) = 0 |
| Add a Generator factory. More... | |
| virtual StatusCode | removeFactory (const IID& type) = 0 |
| Remove a Generator factory. More... | |
| virtual StatusCode | generator (const IRndmGen::Param& par, IRndmGen*& refpGen) = 0 |
| Retrieve a valid generator from the service. More... | |
Static Public Methods | |
| const InterfaceID& | interfaceID () |
| Retrieve interface ID. More... | |
The Random Generator creates proper instances of requested random generators and delivers them to the user.
On request the service dumps the type and state of the random number engine to a StreamBuffer object allowing to save and to restore the exact state of the random number generator.
Definition at line 39 of file IRndmGenSvc.h.
|
|
Add a Generator factory.
|
|
|
Retrieve engine.
|
|
|
Retrieve a valid generator from the service.
Referenced by Rndm::Numbers::initialize(). |
|
|
Retrieve interface ID.
Reimplemented from IService. Definition at line 42 of file IRndmGenSvc.h. |
|
|
Remove a Generator factory.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000