Public Member Functions | Protected Attributes

RakNetRandom Class Reference

#include <Rand.h>

List of all members.

Public Member Functions

 RakNetRandom ()
 ~RakNetRandom ()
void SeedMT (unsigned int seed)
unsigned int ReloadMT (void)
unsigned int RandomMT (void)
float FrandomMT (void)
void FillBufferMT (void *buffer, unsigned int bytes)

Protected Attributes

unsigned int state [624+1]
unsigned int * next
int left

Detailed Description

Definition at line 39 of file Rand.h.


Constructor & Destructor Documentation

RakNetRandom::RakNetRandom (  ) 

Definition at line 221 of file Rand.cpp.

RakNetRandom::~RakNetRandom (  ) 

Definition at line 225 of file Rand.cpp.


Member Function Documentation

void RakNetRandom::FillBufferMT ( void *  buffer,
unsigned int  bytes 
)

Definition at line 248 of file Rand.cpp.

Here is the call graph for this function:

float RakNetRandom::FrandomMT ( void   ) 

Definition at line 243 of file Rand.cpp.

Here is the call graph for this function:

unsigned int RakNetRandom::RandomMT ( void   ) 

Definition at line 238 of file Rand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int RakNetRandom::ReloadMT ( void   ) 

Definition at line 233 of file Rand.cpp.

Here is the call graph for this function:

void RakNetRandom::SeedMT ( unsigned int  seed  ) 

Definition at line 228 of file Rand.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

int RakNetRandom::left [protected]

Definition at line 53 of file Rand.h.

unsigned int* RakNetRandom::next [protected]

Definition at line 52 of file Rand.h.

unsigned int RakNetRandom::state[624+1] [protected]

Definition at line 51 of file Rand.h.


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