70 long ID()
const override {
return long(
this ); }
Definition of the basic interface.
Definition of a interface for a generic random number generator giving randomly distributed numbers i...
SmartIF< IRndmEngine > m_engine
Hosting service: Access must always be possible.
long ID() const override
Random number generator ID.
RndmGen(IInterface *engine)
Standard Constructor.
StatusCode finalize() override
Finalize the generator.
std::unique_ptr< IRndmGen::Param > m_params
Generation parameters.
StatusCode shootArray(std::vector< double > &array, long howmany, long start) const override
Multiple shots returning vector with random number according to specified distribution.
const InterfaceID & type() const override
Random number generator type.
StatusCode initialize(const IRndmGen::Param &par) override
IRndmGen implementation.
const IRndmGen::Param * parameters() const override
Access to random number generator parameters.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.