VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)