OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
RandomNumberGenerator.h
Go to the documentation of this file.
1
/*
2
* RandomNumberGenerator.h
3
*
4
* Created on: January 17, 2022
5
* Author: Jan Wagner
6
*/
7
8
#ifndef RANDOMNUMBERGENERATOR_H
9
#define RANDOMNUMBERGENERATOR_H
10
11
// OpenTwin header
12
#include "
OTRandom/OTRandomAPIExport.h
"
13
14
// std header
15
#include <stdlib.h>
16
17
class
OT_RANDOM_API_EXPORT
RandomNumberGenerator
{
18
public
:
19
virtual
unsigned
__int64
GetPositiveRandomInt64
(
unsigned
__int64 maxValue) = 0;
20
};
21
22
23
#endif
// !RANDOMNUMBERGENERATOR_H
OTRandomAPIExport.h
OT_RANDOM_API_EXPORT
#define OT_RANDOM_API_EXPORT
Definition
OTRandomAPIExport.h:6
RandomNumberGenerator
Definition
RandomNumberGenerator.h:17
RandomNumberGenerator::GetPositiveRandomInt64
virtual unsigned __int64 GetPositiveRandomInt64(unsigned __int64 maxValue)=0
Libraries
OTRandom
include
OTRandom
RandomNumberGenerator.h
Generated by
1.10.0