VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
24 #include <vlpi/netStructs.h>
25 
26 
30 {
32 };
33 
44 #include "vrfmsgs/vrfmsgsDefines.h"
46 {
47 
48 public:
51 
54 
57 
58  virtual ~DtIfSetRandomNumberSeed() override;
59 
61  virtual int type() const override;
62 
63  virtual DtSimInterfaceContent * clone() const override;
64 
65  virtual unsigned int randomNumberSeed() const;
66  virtual void setRandomNumberSeed(unsigned int numberSeed);
67 
68  virtual int netRepSize() const override;
69  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
70  virtual bool setToNet() override;
71 
72  virtual void printDataToString(DtString& str) override;
73 
74  static DtSimInterfaceContent* creator();
75 
76 protected:
77 
78  unsigned int myRandomNumberSeed;
79 };
80 
81 #endif
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
DtNetU16 myRandomNumberSeed
Definition: ifSetRandomNumberSeed.h:31
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
unsigned int myRandomNumberSeed
Definition: ifSetRandomNumberSeed.h:78
File: ifRandSeed.h.
Definition: ifSetRandomNumberSeed.h:29
DtIfSetRandomNumberSeed is the content portion of a random number seed message. It is sent from the f...
Definition: ifSetRandomNumberSeed.h:45
virtual void printDataToString(DtString &str)
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
virtual DtSimInterfaceContent * clone() const =0

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)