![]() |
VR-Link API Documentation for HLA Evolved
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00009 00010 #ifndef DtIntercomEntityDestRec_H_ 00011 #define DtIntercomEntityDestRec_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 00026 00027 class DT_DLL_VL DtIntercomEntityDestRec : public DtIntercomParmRec 00028 { 00029 00030 public: 00031 00032 00034 DtIntercomEntityDestRec(); 00035 DtIntercomEntityDestRec(const DtIntercomEntityDestRec& orig); 00036 00037 00039 virtual ~DtIntercomEntityDestRec(); 00040 00041 00043 DtIntercomEntityDestRec& operator=( 00044 const DtIntercomEntityDestRec& orig); 00045 DtIntercomEntityDestRec& operator=( 00046 const DtNetIntercomEntityDestRec& orig); 00047 00048 00050 virtual void setDestEntityID(const DtEntityIdentifier& entityID); 00051 virtual const DtEntityIdentifier& destEntityID() const; 00052 00054 virtual void setDestDeviceID(DtU16 deviceID); 00055 virtual DtU16 destDeviceID() const; 00056 00058 virtual void setDestLineID(DtU8 lineID); 00059 virtual DtU8 destLineID() const; 00060 00062 virtual void setDestPriority(DtU8 priority); 00063 virtual DtU8 destPriority() const; 00064 00066 virtual void setDestLineStateCmd(DtIntercomDestLineStateCmd cmd); 00067 virtual DtIntercomDestLineStateCmd destLineStateCmd() const; 00068 00070 virtual void print() const; 00071 00073 virtual void printDataToStream(std::ostream& stream) const; 00074 00076 virtual void unloadNetRecord(const DtNetIntercomEntityDestRec& record); 00077 virtual void loadNetRecord(DtNetIntercomEntityDestRec& record) const; 00078 00079 00080 00081 protected: 00082 00083 DtEntityIdentifier myDestEntityID; 00084 DtU16 myDestDeviceID; 00085 DtU8 myDestLineID; 00086 DtU8 myDestPriority; 00087 DtIntercomDestLineStateCmd myDestLineStateCmd; 00088 00089 }; 00090 00091 #endif 00092 #endif 00093