VR-Link API Documentation for DIS
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"
15 #include <iosfwd>
16 
21 {
22 public:
23 
26 
29 
32 
35  const DtGlobalObjectDesignatorList& orig);
36 
38  int operator==(const DtGlobalObjectDesignatorList& other) const;
39  int operator!=(const DtGlobalObjectDesignatorList& other) const;
40 
43  virtual void setNumObjects(int num);
44  virtual int numObjects() const;
45 
47  virtual bool setObject(int index,
48  const DtGlobalObjectDesignator& des);
49 
52  virtual const DtGlobalObjectDesignator& object(
53  int index, bool* valid = 0) const;
54 
56  virtual void printData() const;
57  virtual void printDataToStream(std::ostream& stream) const;
58 
60  virtual void setFromNet(const void* netRep, int length);
61 
65  virtual const void* netRep(int* size = 0) const;
66 
68  virtual int netSize() const;
69 
70 #if DtHLA
71 
72  virtual void setFromNetPre1_0(const void* netRep, int length);
73  virtual const void* netRepPre1_0(int* size = 0) const;
74  virtual int netSizePre1_0() const;
75 
77 
78  virtual void setFromNet2_0(const void* netRep, int length);
79  virtual const void* netRep2_0(int* size = 0) const;
80  virtual int netSize2_0() const;
82 
83 #endif
84 
85 protected:
86 
87  int myNum;
90  void* myNetRep;
91 };
92 
93 #endif
94 

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)