VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ifControl.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifControl.h,v $ $Revision: 1.15 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 
19 #ifndef DtIfControl_H_
20 #define DtIfControl_H_
21 
22 #include <vlutil/vlString.h>
24 #include <vl/hostStructs.h>
25 
26 
30 {
31  DtNetFloat64 myTime;
32  DtNetU16 myControlType;
33  DtNetU32 myPadding1;
34  DtNetU16 myPadding2;
35 
36 
37 };
38 
50 #include "vrfmsgs/vrfmsgsDefines.h"
52 {
53 
54 public:
56  DtIfControl();
57 
59  DtIfControl(const DtIfControl & orig);
60 
62  const DtIfControl & operator=(const DtIfControl &
63  orig);
64 
65  virtual ~DtIfControl();
66 
68  virtual int type() const;
69 
70  virtual DtSimInterfaceContent * clone() const;
71 
74  virtual int controlType() const;
75  virtual void setControlType(int controlType);
76 
77  virtual int netRepSize() const;
78  virtual bool setFromNet(const char* contentBuffer,
79  unsigned contentSize);
80  virtual bool setToNet();
81 
82  virtual void printDataToString(DtString& str);
83 
84  static DtSimInterfaceContent* creator();
85 
88  virtual DtTime duration() const;
89  virtual void setDuration(DtTime time);
90 
91 protected:
94 };
95 
96 #endif
97 
98 
99 

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)