TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SFMTEngine Class Reference

#include <Random.h>

Public Types

typedef uint32 result_type
 

Public Member Functions

result_type operator() () const
 

Static Public Member Functions

static TRINITY_CONSTEXPR
result_type 
min ()
 
static TRINITY_CONSTEXPR
result_type 
max ()
 
static SFMTEngineInstance ()
 

Member Typedef Documentation

Member Function Documentation

SFMTEngine & SFMTEngine::Instance ( )
static
80 {
81  static SFMTEngine engine;
82  return engine;
83 }
Definition: Random.h:61

+ Here is the caller graph for this function:

static TRINITY_CONSTEXPR result_type SFMTEngine::max ( )
inlinestatic
T max(const T &x, const T &y)
Definition: g3dmath.h:320

+ Here is the call graph for this function:

static TRINITY_CONSTEXPR result_type SFMTEngine::min ( )
inlinestatic
T min(const T &x, const T &y)
Definition: g3dmath.h:305

+ Here is the call graph for this function:

result_type SFMTEngine::operator() ( ) const
inline
68 { return rand32(); }
TC_COMMON_API uint32 rand32()
Definition: Random.cpp:64

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: