35 #ifndef OPENMS_CONCEPT_UNIQUEIDGENERATOR_H 36 #define OPENMS_CONCEPT_UNIQUEIDGENERATOR_H 41 #include <boost/random/mersenne_twister.hpp> 42 #include <boost/random/variate_generator.hpp> 43 #include <boost/random/uniform_int.hpp> 66 static UInt64 getUniqueId();
69 static void setSeed(
const UInt64);
81 static boost::mt19937_64*
rng_;
82 static boost::uniform_int<UInt64>*
dist_;
91 #endif // OPENMS_CONCEPT_UNIQUEIDGENERATOR_H
static boost::mt19937_64 * rng_
Definition: UniqueIdGenerator.h:81
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
static boost::uniform_int< UInt64 > * dist_
Definition: UniqueIdGenerator.h:82
A generator for unique ids.
Definition: UniqueIdGenerator.h:60
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:78
static UInt64 seed_
Definition: UniqueIdGenerator.h:79
static UniqueIdGenerator * instance_
Definition: UniqueIdGenerator.h:80