![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00009 00010 #ifndef DtIntercomGroupAsgmtRec_H_ 00011 #define DtIntercomGroupAsgmtRec_H_ 00012 00013 #if DtDIS 00014 00015 #include <vlutil/vlMachineTypes.h> 00016 #include <vlpi/disEnums.h> 00017 #include "hostStructs.h" 00018 00019 #include "packets/intercmCtlP.h" 00020 #include "intercmParRec.h" 00021 00022 00023 00027 00028 class DT_DLL_VL DtIntercomGroupAsgmtRec : public DtIntercomParmRec 00029 { 00030 00031 public: 00032 00034 DtIntercomGroupAsgmtRec(); 00035 DtIntercomGroupAsgmtRec(const DtIntercomGroupAsgmtRec& orig); 00036 00038 virtual ~DtIntercomGroupAsgmtRec(); 00039 00041 DtIntercomGroupAsgmtRec& operator=( 00042 const DtIntercomGroupAsgmtRec& orig); 00043 DtIntercomGroupAsgmtRec& operator=( 00044 const DtNetIntercomGroupAsgmtRec& orig); 00045 00047 virtual void setGroupBitField(DtU32 bitField); 00048 virtual DtU32 groupBitField() const; 00049 00051 virtual void setDestEntityID(const DtEntityIdentifier& entityID); 00052 virtual const DtEntityIdentifier& destEntityID() const; 00053 00055 virtual void setDestEquipID(DtU16 equipID); 00056 virtual DtU16 destEquipID() const; 00057 00059 virtual void setDestLineID(DtU8 lineID); 00060 virtual DtU8 destLineID() const; 00061 00063 virtual void print() const; 00064 00066 virtual void printDataToStream(std::ostream& stream) const; 00067 00069 virtual void unloadNetRecord(const DtNetIntercomGroupAsgmtRec& record); 00070 virtual void loadNetRecord(DtNetIntercomGroupAsgmtRec& record) const; 00071 00072 protected: 00073 00074 DtU32 myGroupBitField; 00075 DtEntityIdentifier myDestEntityID; 00076 DtU16 myDestEquipID; 00077 DtU8 myDestLineID; 00078 00079 }; 00080 00081 #endif 00082 #endif 00083