VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
silentEntityList.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vlutil/vlMachineTypes.h>
13 #include <vl/packets/aggStateP.h>
14 #include <vl/hostStructs.h>
15 #include <vlpi/disEnums.h>
16 #include <iosfwd>
17 
22 {
23 public:
24 
28 
30  virtual ~DtSilentEntityList();
31 
33  DtSilentEntityList& operator=(const DtSilentEntityList& orig);
34  DtSilentEntityList& operator=(const DtNetSilentEntityList& orig);
35 
37  int operator==(const DtSilentEntityList& otherguy) const;
38  int operator!=(const DtSilentEntityList& otherguy) const;
39 
41  virtual void setNumberOfEntities(const DtU16 value);
42  virtual DtU16 numberOfEntities() const;
43 
45  virtual void setEntityType(const DtEntityType& type);
46  virtual const DtEntityType& entityType() const;
47 
52  virtual bool setNumberOfAppearanceRecords(const DtU16 value);
53  virtual DtU16 numberOfAppearanceRecords() const;
54 
55 #if DtHLA
56 
60  virtual void setAppearance(DtU32 app);
61  virtual DtU32 appearance() const;
62 
63 #endif
64 
70  virtual bool setAppearance(int index, DtU32 app);
71  virtual bool getAppearance(int index, DtU32& app) const;
72 
75  virtual bool setAppearanceAttribute(int index,
76  const DtAppearAttribute attr, const DtAppearAttrVal val);
77  virtual bool getAppearanceAttribute(int index,
78  const DtAppearAttribute attr, DtAppearAttrVal& val) const;
79 
80 
82  virtual void printData() const;
83 
84  virtual void printDataToStream(std::ostream &stream) const;
85 
87  virtual void unloadNetRecord(const DtNetSilentEntityList& record);
88  virtual void unloadNetRecord(const DtNetSilentEntityList_RPR_20& record, bool useAppearanceList = false);
89  virtual void loadNetRecord(DtNetSilentEntityList& record) const;
90  virtual void loadNetRecord(DtNetSilentEntityList_RPR_20& record, bool useAppearanceList = false) const;
91 
94  virtual int networkByteLength(double rpr_version = 1.0) const;
95 
96 public:
97 
100  static int byteLengthOfNetworkRecord(
101  DtNetSilentEntityList* recPtr, double rprVersion = 1.0);
102 
103 protected:
104 
109 #if DtHLA
111 #endif
113 
114 };

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)