VR-Link API Documentation for HLA 1516
 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 
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtNetEnvironmentalRecord * myNetRep
Definition: environmentalRecord.h:83
unsigned char DtU8
An eight bit unsigned integer value.
Definition: vlMachineTypes.h:137
DtNetEnvironmentalRecord is the network structure for the environmental process PDU record header (de...
Definition: envProcP.h:34
DtEnvironmentalRecord is the base class from which all geometry and state environmental records are d...
Definition: environmentalRecord.h:22
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
unsigned long DtU32
A 32 bit unsigned integer value.
Definition: vlMachineTypes.h:153
This file declares classes related to the EnvironmentalProcess Object.
This file contains typedefs for machine dependant types.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)