36 #ifndef _GLOBAL_RANDOM_GENERATOR_HPP_INCLUDED
37 #define _GLOBAL_RANDOM_GENERATOR_HPP_INCLUDED
42 #if defined( _MSC_VER )
43 #define WOLFRAME_EXPORT __declspec( dllexport )
45 #define WOLFRAME_EXPORT
80 #endif // _GLOBAL_RANDOM_GENERATOR_HPP_INCLUDED
const GlobalRandomGenerator & operator=(const GlobalRandomGenerator &)
WOLFRAME_EXPORT const std::string & device() const
Random Generator interface class.
Definition: randomGenerator.hpp:45
#define WOLFRAME_EXPORT
Definition: globalRngGen.hpp:45
Random Generator interface class.
static WOLFRAME_EXPORT GlobalRandomGenerator & instance()
std::string m_device
random generator device
Definition: globalRngGen.hpp:75
WOLFRAME_EXPORT unsigned random() const
Global random generator (sort of a pseudo-singleton)
Definition: globalRngGen.hpp:52
WOLFRAME_EXPORT void generate(unsigned char *buffer, size_t bytes) const