![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cRandomCombo.h>
Public Types | |
typedef BYTE | SOURCE_t |
Public Member Functions | |
cRandomCombo () noexcept | |
virtual | ~cRandomCombo () |
HRESULT | AddRandomSource (IRandomNoise *pRandom, size_t nSizeMax) |
UNITTEST2_PREDEF (cRandomCombo) | |
![]() | |
virtual HRESULT | GetNoise (void *pData, size_t iSize)=0 |
fill array with random bytes. return # bytes filled. More... | |
Public Attributes | |
SOURCE_t | m_nSourceQty |
cRandomComboSource | m_source [k_nMaxSources] |
Static Public Attributes | |
static const SOURCE_t | k_nMaxSources = 8 |
Combine multiple IRandomNoise sources. an array of entropy sources
typedef BYTE GrayLib::cRandomCombo::SOURCE_t |
|
inlinenoexcept |
|
inlinevirtual |
HRESULT GrayLib::cRandomCombo::AddRandomSource | ( | IRandomNoise * | pRandom, |
size_t | nSizeMax | ||
) |
Adds an entropy source to our poll set
GrayLib::cRandomCombo::UNITTEST2_PREDEF | ( | cRandomCombo | ) |
|
static |
SOURCE_t GrayLib::cRandomCombo::m_nSourceQty |
cRandomComboSource GrayLib::cRandomCombo::m_source[k_nMaxSources] |