SilverLining: SilverLining::RandomNumberGenerator Class Reference

Public Member Functions

# SilverLining::RandomNumberGenerator Class Reference

Extend this class in order to use your own random number generator with SilverLining. More...

`#include <RandomNumberGenerator.h>`

List of all members.

## Public Member Functions
virtual | ~RandomNumberGenerator ()
| Virtual destructor.
virtual float SILVERLINING_API | UniformRandomFloat () const =0
| Return a uniformly distributed random float between 0.0 and 1.0.
virtual double SILVERLINING_API | UniformRandomDouble () const =0
| Return a uniformly distributed random double between 0.0 and 1.0.
virtual unsigned int SILVERLINING_API | UniformRandomIntRange (unsigned int start, unsigned int end) const =0
| Return a uniformly distributed random integer between the integers specified (inclusive.

## Detailed Description

Extend this class in order to use your own random number generator with SilverLining.

Pass your implementation into Atmosphere::SetRandomNumberGenerator().

## Constructor & Destructor Documentation

virtual SilverLining::RandomNumberGenerator::~RandomNumberGenerator | ( |  | ) | `[inline, virtual]`

Virtual destructor.

## Member Function Documentation

virtual unsigned int SILVERLINING_API SilverLining::RandomNumberGenerator::UniformRandomIntRange | ( | unsigned int | start,
|  | unsigned int | end |
| ) |  |  | const`[pure virtual]`

Return a uniformly distributed random integer between the integers specified (inclusive.

)

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

- /home/fkane/sl/trunk/Public Headers/RandomNumberGenerator.h