VR-Forces 4.1 Class Documentation
ifFrameMode.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifFrameMode.h,v $ $Revision: 1.14 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 
19 #ifndef DtIfSetFrameMode_H_
20 #define DtIfSetFrameMode_H_
21 
22 #include <vlutil/vlString.h>
24 #include <vl/hostStructs.h>
25 
26 
30 {
31  DtNetFloat64 myFrameTime;
32  DtNetU8 myFrameMode;
33 };
34 
57 #include "vrfmsgs/vrfmsgsDefines.h"
59 {
60 
61 public:
64 
66  DtIfSetFrameMode(const DtIfSetFrameMode & orig);
67 
69  const DtIfSetFrameMode & operator=(const DtIfSetFrameMode & orig);
70 
71  virtual ~DtIfSetFrameMode();
72 
74  virtual int type() const;
75 
76  virtual DtSimInterfaceContent * clone() const;
77 
79  virtual int frameMode() const;
80  virtual void setFrameMode(int frameMode);
81 
82  virtual DtReal frameTime() const;
83  virtual void setFrameTime(DtReal frameTime);
84 
85  virtual int netRepSize() const;
86  virtual bool setFromNet(const char* contentBuffer,
87  unsigned contentSize);
88  virtual bool setToNet();
89 
90  virtual void printDataToString(DtString& str);
91 
92  static DtSimInterfaceContent* creator();
93 
94 protected:
95 
96  DtReal myFrameTime;
98 };
99 
100 #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)