qngmeter/RandTest/MonkeyBitmap.h

22 lines
450 B
C
Raw Permalink Normal View History

2024-03-02 17:58:28 +02:00
#pragma once
#pragma warning( disable : 4005 )
#include <stdint.h>
#pragma warning( default : 4005 )
class CMonkeyBitmap
{
public:
CMonkeyBitmap(void);
~CMonkeyBitmap(void);
// Sets the entire bit memory map to 0's
void Clearmap(void);
// Check in Bitmap if this word has already been used, true if tested previously, false otherwise;
bool CheckWord(uint32_t Word20Bit);
protected:
// Bitmap
uint32_t Word[32768];
};