Woman, Life, Freedom


Adaptive AUTOSAR
ARA public interface header documentation
ara::exec::WorkerThread Class Reference

DeterministicClient random number generator. More...

#include <worker_thread.h>

Public Member Functions

uint64_t GetRandom () noexcept
 Generate a unique random number for each container. More...
 

Static Public Attributes

static const uint64_t cOffsetStep = 6
 Offset step that WorkerThread takes to generate the next unique random number.
 

Detailed Description

DeterministicClient random number generator.

Member Function Documentation

◆ GetRandom()

uint64_t ara::exec::WorkerThread::GetRandom ( )
noexcept

Generate a unique random number for each container.

Returns
Random integer number