![]() |
VR-Link API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 #ifndef DtSilentAggregateList_H_ 00006 #define DtSilentAggregateList_H_ 00007 00008 00009 #include <vlutil/vlMachineTypes.h> 00010 #include <vlpi/disEnums.h> 00011 #include "hostStructs.h" 00012 #include "packets/aggStateP.h" 00013 #include <iosfwd> 00014 00019 00023 class DT_DLL_VL DtSilentAggregateList 00024 { 00025 00026 public: 00027 00029 DtSilentAggregateList(); 00030 DtSilentAggregateList(const DtSilentAggregateList& orig); 00031 00033 virtual ~DtSilentAggregateList(); 00034 00036 DtSilentAggregateList& operator=(const DtSilentAggregateList& orig); 00037 DtSilentAggregateList& operator=(const DtNetSilentAggregateList& orig); 00038 00040 int operator==(const DtSilentAggregateList& otherguy) const; 00041 int operator!=(const DtSilentAggregateList& otherguy) const; 00042 00044 virtual void setNumberOfAggregates(const DtU16 value); 00045 virtual DtU16 numberOfAggregates() const; 00046 00048 virtual void setAggregateType(const DtEntityType& type); 00049 virtual const DtEntityType& aggregateType() const; 00050 00051 00053 virtual void printData() const; 00054 virtual void printDataToStream(std::ostream &) const; 00055 00057 virtual void unloadNetRecord(const DtNetSilentAggregateList& record); 00058 virtual void loadNetRecord(DtNetSilentAggregateList& record) const; 00059 00060 00061 public: 00062 00064 static int byteLengthOfNetworkRecord(); 00065 00066 protected: 00067 00069 DtU16 myNumberOfAggregates; 00070 DtEntityType myEntityType; 00071 00072 }; 00073 00074 DT_DLL_VL std::ostream& operator<< (std::ostream& stream, const DtSilentAggregateList&); 00075 00076 #endif 00077