VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvUtil
DtRandomNumberGenerator.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtRandomNumberGenerator.h,v $ $Revision: 1.7 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtRandomNumberGenerator_H_
14
#define DtRandomNumberGenerator_H_
15
16
#include <
vrvUtil/vrvUtil.h
>
17
18
namespace
makVrv
19
{
23
class
DT_DLL_VRVUTIL
DtRandomNumberGenerator
24
{
25
public
:
26
28
DtRandomNumberGenerator
();
29
31
~
DtRandomNumberGenerator
();
32
34
void
setSeed(
unsigned
int
seed);
35
38
int
generate(
int
min,
int
max);
39
40
private
:
41
struct
LocalPrivate; LocalPrivate*
_priv
;
42
};
43
}
44
45
#endif
46
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)