VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
globalObjectDesignatorList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
10 
11 #ifndef DtGlobalObjectDesignatorList_H_
12 #define DtGlobalObjectDesignatorList_H_
13 
14 #include "hostStructs.h"
16 #include <iosfwd>
17 
22 {
23 public:
24 
27 
30 
33 
36  const DtGlobalObjectDesignatorList& orig);
37 
39  int operator==(const DtGlobalObjectDesignatorList& other) const;
40  int operator!=(const DtGlobalObjectDesignatorList& other) const;
41 
44  virtual void setNumObjects(int num);
45  virtual int numObjects() const;
46 
48  virtual bool setObject(int index,
49  const DtGlobalObjectDesignator& des);
50 
53  virtual const DtGlobalObjectDesignator& object(
54  int index, bool* valid = 0) const;
55 
57  virtual void printData() const;
58  virtual void printDataToStream(std::ostream& stream) const;
59 
61  virtual void setFromNet(const void* netRep, int length);
62 
66  virtual const void* netRep(int* size = 0) const;
67 
69  virtual int netSize() const;
70 
71 #if DtHLA
72 
73  virtual void setFromNetPre1_0(const void* netRep, int length);
74  virtual const void* netRepPre1_0(int* size = 0) const;
75  virtual int netSizePre1_0() const;
76 
78 
79  virtual void setFromNet2_0(const void* netRep, int length);
80  virtual const void* netRep2_0(int* size = 0) const;
81  virtual int netSize2_0() const;
83 
84 #endif
85 
86 protected:
87 
88  int myNum;
91  void* myNetRep;
92 };
93 
94 #endif
95 

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)