VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifRandSeed.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifRandSeed.h,v $ $Revision: 1.12 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
19
#ifndef DtIfSetRandomNumberSeed_H_
20
#define DtIfSetRandomNumberSeed_H_
21
22
#include <vlutil/vlString.h>
23
#include <
vrfExtProtocol/ifaceCont.h
>
24
#include <vlpi/NetStructs.h>
25
26
29
struct
DtNetIfSetRandomNumberSeed
30
{
31
DtNetU16
myRandomNumberSeed
;
32
};
33
44
#include "
vrfmsgs/vrfmsgsDefines.h
"
45
class
DT_DLL_vrfmsgs
DtIfSetRandomNumberSeed
:
public
DtSimInterfaceContent
46
{
47
48
public
:
50
DtIfSetRandomNumberSeed
();
51
53
DtIfSetRandomNumberSeed
(
const
DtIfSetRandomNumberSeed
& orig);
54
56
const
DtIfSetRandomNumberSeed
&
operator=
(
const
DtIfSetRandomNumberSeed
& orig);
57
58
virtual
~
DtIfSetRandomNumberSeed
();
59
61
virtual
int
type
()
const
;
62
63
virtual
DtSimInterfaceContent
*
clone
()
const
;
64
65
virtual
unsigned
int
randomNumberSeed()
const
;
66
virtual
void
setRandomNumberSeed(
unsigned
int
numberSeed);
67
68
virtual
int
netRepSize
()
const
;
69
virtual
bool
setFromNet
(
const
char
* contentBuffer,
70
unsigned
contentSize);
71
virtual
bool
setToNet
();
72
73
virtual
void
printDataToString
(
DtString
& str);
74
75
static
DtSimInterfaceContent
* creator();
76
77
protected
:
78
79
unsigned
int
myRandomNumberSeed
;
80
};
81
82
#endif
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
)