VR-Forces 4.5 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
vrfmsgs
ifSetRandomNumberSeed.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/simInterfaceContent.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 Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)