Zero  0.1.0
Static Private Member Functions | List of all members
zero::buffer_pool::SeedGeneratorChrono< seed_type > Class Template Reference

Seed generator using the wall-clock time for PRNGs. More...

#include <page_evictioner_selector_random.hpp>

Inheritance diagram for zero::buffer_pool::SeedGeneratorChrono< seed_type >:
zero::buffer_pool::SeedGenerator

Static Private Member Functions

static seed_type getSeed () noexcept
 Defined to prevent call of this in generic class. More...
 

Detailed Description

template<typename seed_type>
class zero::buffer_pool::SeedGeneratorChrono< seed_type >

Seed generator using the wall-clock time for PRNGs.

A seed generator for pseudorandom numbers generators that can be used as class template argument and called at runtime through its static member function getSeed().

It uses the current wall-clock time for seed generation.

Template Parameters
seed_typeThe datatype of the seed generated by this (currently supported are uint32_t , uint64_t and __uint128_t ).

Member Function Documentation

§ getSeed()

template<typename seed_type >
zero::buffer_pool::SeedGeneratorChrono< seed_type >::getSeed ( )
inlinestaticprivatenoexcept

Defined to prevent call of this in generic class.

Returns
Nothing!

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