Public Member Functions | List of all members
IRandomGenerator Class Referenceabstract

Interface for random number generation. More...

#include <ionRand.h>

Inheritance diagram for IRandomGenerator:
Inheritance graph
[legend]

Public Member Functions

virtual u32 const Generate ()=0
 
virtual void Seed (u32 const seed)=0
 
u32 const Generate (u32 const max)
 
u32 const Generate (u32 const min, u32 const max)
 
f32 const Generatef32 (u32 const modulus=100000)
 
f32 const Generatef32 (f32 const max, u32 const modulus=100000)
 
f32 const Generatef32 (f32 const min, f32 const max, u32 const modulus=100000)
 
f64 const Generatef64 (u32 const modulus=100000)
 
f64 const Generatef64 (f64 const max, u32 const modulus=100000)
 
f64 const Generatef64 (f64 const min, f64 const max, u32 const modulus=100000)
 

Detailed Description

Interface for random number generation.

Member Function Documentation

virtual u32 const IRandomGenerator::Generate ( )
pure virtual
u32 const IRandomGenerator::Generate ( u32 const  max)
inline
u32 const IRandomGenerator::Generate ( u32 const  min,
u32 const  max 
)
inline
f32 const IRandomGenerator::Generatef32 ( u32 const  modulus = 100000)
inline
f32 const IRandomGenerator::Generatef32 ( f32 const  max,
u32 const  modulus = 100000 
)
inline
f32 const IRandomGenerator::Generatef32 ( f32 const  min,
f32 const  max,
u32 const  modulus = 100000 
)
inline
f64 const IRandomGenerator::Generatef64 ( u32 const  modulus = 100000)
inline
f64 const IRandomGenerator::Generatef64 ( f64 const  max,
u32 const  modulus = 100000 
)
inline
f64 const IRandomGenerator::Generatef64 ( f64 const  min,
f64 const  max,
u32 const  modulus = 100000 
)
inline
virtual void IRandomGenerator::Seed ( u32 const  seed)
pure virtual

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