29 #ifndef RANDOMIZER_CACHE_HEADER_GUARD
30 #define RANDOMIZER_CACHE_HEADER_GUARD
49 template <
typename T_Container>
56 RandomizerCache (
const typename T_Container::CryptoProvider &cryptoProvider,
const typename T_Container::Parameters &
parameters);
62 const T_Container &
Pop ();
92 #endif//RANDOMIZER_CACHE_HEADER_GUARD
const T_Container::CryptoProvider & cryptoProvider
Reference to the crypto provider.
const T_Container & Pop()
Extracts one element.
Definition of class Config.
RandomizerCache(const typename T_Container::CryptoProvider &cryptoProvider, const std::string &configurationPath)
Constructor.
~RandomizerCache()
Destructor - void implementation.
RandomizerCache operator=(const RandomizerCache &)
Copy assignment operator - not implemented.
Implementation of template class RandomizerCache.
void initialize()
Populates the cache.
std::vector< T_Container > cache
Internal cache vector.
size_t index
The index of the next element that will be retrieved.
const T_Container::Parameters parameters
Parameters required to build the cache.