The Gaudi Framework
v30r3 (a5ef0a68)
|
Random Generator service interface definition Definition of a interface for a service to access random generators according to predefined distributions: More...
#include <GaudiKernel/IRndmGenSvc.h>
Public Member Functions | |
DeclareInterfaceID (IRndmGenSvc, 2, 1) | |
InterfaceID. More... | |
virtual IRndmEngine * | engine ()=0 |
Retrieve engine. More... | |
virtual StatusCode | generator (const IRndmGen::Param &par, IRndmGen *&refpGen)=0 |
Add a Generator factory. More... | |
SmartIF< IRndmGen > | generator (const IRndmGen::Param &par) |
Public Member Functions inherited from IService | |
DeclareInterfaceID (IService, 4, 0) | |
InterfaceID. More... | |
virtual StatusCode | sysInitialize ()=0 |
Initialize Service. More... | |
virtual StatusCode | sysStart ()=0 |
Start Service. More... | |
virtual StatusCode | sysStop ()=0 |
Stop Service. More... | |
virtual StatusCode | sysFinalize ()=0 |
Finalize Service. More... | |
virtual StatusCode | sysReinitialize ()=0 |
Re-initialize the Service. More... | |
virtual StatusCode | sysRestart ()=0 |
Re-start the Service. More... | |
Additional Inherited Members | |
Public Types inherited from extend_interfaces< INamedInterface, IStateful > | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type |
take union of the ext_iids of all Interfaces... More... | |
Protected Member Functions inherited from IService | |
virtual void | setServiceManager (ISvcManager *)=0 |
Random Generator service interface definition Definition of a interface for a service to access random generators according to predefined distributions:
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 35 of file IRndmGenSvc.h.
IRndmGenSvc::DeclareInterfaceID | ( | IRndmGenSvc | , |
2 | , | ||
1 | |||
) |
|
pure virtual |
Retrieve engine.
|
pure virtual |
Add a Generator factory.
fac | Pointer to factory to be added |
|
inline |
Definition at line 51 of file IRndmGenSvc.h.