VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifRandSeed.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifRandSeed.h,v $ $Revision: 1.12 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtIfSetRandomNumberSeed_H_
00020 #define DtIfSetRandomNumberSeed_H_
00021 
00022 #include <vlutil/vlString.h>
00023 #include <vrfExtProtocol/ifaceCont.h>
00024 #include <vlpi/NetStructs.h>
00025 
00026 
00029 struct DtNetIfSetRandomNumberSeed
00030 {
00031    DtNetU16     myRandomNumberSeed;
00032 };
00033 
00044 #include "vrfmsgs/vrfmsgsDefines.h"
00045 class DT_DLL_vrfmsgs DtIfSetRandomNumberSeed : public DtSimInterfaceContent
00046 {
00047 
00048 public:
00050    DtIfSetRandomNumberSeed();
00051 
00053    DtIfSetRandomNumberSeed(const DtIfSetRandomNumberSeed & orig);
00054 
00056    const DtIfSetRandomNumberSeed & operator=(const DtIfSetRandomNumberSeed & orig);
00057 
00058    virtual ~DtIfSetRandomNumberSeed();
00059 
00061    virtual int type() const;
00062 
00063    virtual DtSimInterfaceContent * clone() const;
00064 
00065    virtual unsigned int randomNumberSeed() const;
00066    virtual void setRandomNumberSeed(unsigned int numberSeed);
00067 
00068    virtual int netRepSize() const;
00069    virtual bool setFromNet(const char* contentBuffer, 
00070       unsigned contentSize);
00071    virtual bool setToNet();
00072 
00073    virtual void printDataToString(DtString& str);
00074 
00075    static DtSimInterfaceContent* creator();
00076 
00077 protected:
00078    
00079    unsigned int myRandomNumberSeed;
00080 };
00081 
00082 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)