VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentalRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #ifndef DtEnvironmentalRecord_H_
10 #define DtEnvironmentalRecord_H_
11 
12 
13 #include <vlutil/vlMachineTypes.h>
14 #include "packets/envProcP.h"
15 
23 {
24 public:
25 
28 
31 
34  const DtEnvironmentalRecord& operator=(const DtEnvironmentalRecord& orig);
35 
37  virtual ~DtEnvironmentalRecord();
38 
41  virtual DtEnvironmentalRecord* clone() const;
42 
46  virtual bool createNetworkRepresentation();
47 
48  virtual void setType(DtU32 type);
49  virtual DtU32 type() const;
50 
51  virtual void setLength(DtU16 length);
52  virtual DtU16 length() const;
53 
54  virtual void setIndex(DtU8 index);
55  virtual DtU8 index() const;
56 
58  const DtNetEnvironmentalRecord* netRep() const;
59  DtNetEnvironmentalRecord* netRep();
60 
62  virtual int netRepSize() const;
63 
65  virtual void setFromNet(const DtNetEnvironmentalRecord& buffer, int protocolVersion);
66 
67 protected:
70  virtual bool checkAndCreate();
71 
76  virtual bool resizeNetRep(int newSize);
77 
79  DtEnvironmentalRecord* self() const;
80 
81 protected:
82 
84 };
85 
86 
87 #endif
88 

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)