DDraceNetwork Docs
CPrng Class Reference

#include <prng.h>

Public Member Functions

 CPrng ()
 
const char * Description () const
 
void Seed (uint64_t aSeed[2])
 
unsigned int RandomBits ()
 

Private Attributes

char m_aDescription [64]
 
bool m_Seeded
 
uint64_t m_State
 
uint64_t m_Increment
 

Constructor & Destructor Documentation

◆ CPrng()

CPrng::CPrng ( )

Member Function Documentation

◆ Description()

const char * CPrng::Description ( ) const

◆ RandomBits()

unsigned int CPrng::RandomBits ( )

◆ Seed()

void CPrng::Seed ( uint64_t  aSeed[2])

Member Data Documentation

◆ m_aDescription

char CPrng::m_aDescription[64]
private

◆ m_Increment

uint64_t CPrng::m_Increment
private

◆ m_Seeded

bool CPrng::m_Seeded
private

◆ m_State

uint64_t CPrng::m_State
private

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