VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifFrameMode.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifFrameMode.h,v $ $Revision: 1.14 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtIfSetFrameMode_H_
00020 #define DtIfSetFrameMode_H_
00021 
00022 #include <vlutil/vlString.h>
00023 #include <vrfExtProtocol/ifaceCont.h>
00024 #include <vl/hostStructs.h>
00025 
00026 
00029 struct DtNetIfSetFrameMode
00030 {
00031    DtNetFloat64   myFrameTime;                   
00032    DtNetU8        myFrameMode;                   
00033 };                                
00034 
00057 #include "vrfmsgs/vrfmsgsDefines.h"
00058 class DT_DLL_vrfmsgs DtIfSetFrameMode : public DtSimInterfaceContent
00059 {
00060 
00061 public:
00063    DtIfSetFrameMode();
00064 
00066    DtIfSetFrameMode(const DtIfSetFrameMode & orig);
00067 
00069    const DtIfSetFrameMode & operator=(const DtIfSetFrameMode & orig);
00070 
00071    virtual ~DtIfSetFrameMode();
00072 
00074    virtual int type() const;
00075 
00076    virtual DtSimInterfaceContent * clone() const;
00077 
00079    virtual int frameMode() const;
00080    virtual void setFrameMode(int frameMode);
00081 
00082    virtual DtReal frameTime() const;
00083    virtual void setFrameTime(DtReal frameTime);
00084 
00085    virtual int netRepSize() const;
00086    virtual bool setFromNet(const char* contentBuffer, 
00087       unsigned contentSize);
00088    virtual bool setToNet();
00089 
00090    virtual void printDataToString(DtString& str);
00091 
00092    static DtSimInterfaceContent* creator();
00093 
00094 protected:
00095 
00096    DtReal   myFrameTime; 
00097    int myFrameMode;
00098 };
00099 
00100 #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)