![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00008 00009 #ifndef DtIffAtcNavaidsLayerHeader_H_ 00010 #define DtIffAtcNavaidsLayerHeader_H_ 00011 00012 #if DtDIS 00013 00014 #include <vlutil/vlMachineTypes.h> 00015 #include <vlpi/disEnums.h> 00016 00017 #include "packets/iffAtcNavP.h" 00018 00019 00025 class DT_DLL_VL DtIffAtcNavaidsLayerHeader 00026 { 00027 00028 00029 public: 00030 00032 DtIffAtcNavaidsLayerHeader(); 00033 DtIffAtcNavaidsLayerHeader(const DtIffAtcNavaidsLayerHeader& orig); 00034 00036 DtIffAtcNavaidsLayerHeader& operator=( 00037 const DtIffAtcNavaidsLayerHeader& orig); 00038 DtIffAtcNavaidsLayerHeader& operator=( 00039 const DtNetIffAtcNavaidsLayerHeader& orig); 00040 00042 virtual ~DtIffAtcNavaidsLayerHeader(); 00043 00045 virtual void setLayerNumber(DtU8 num); 00046 virtual DtU8 layerNumber() const; 00047 00049 virtual void setLayerInfo(DtIffAtcNavaidsLayerSpecificInfo info); 00050 virtual DtIffAtcNavaidsLayerSpecificInfo layerInfo() const; 00051 00053 virtual void setLayerLength(DtU16 length); 00054 virtual DtU16 layerLength() const; 00055 00057 virtual void print() const; 00058 00060 virtual void printDataToStream(std::ostream& stream) const; 00061 00063 virtual void unloadNetRecord(const DtNetIffAtcNavaidsLayerHeader& record); 00064 virtual void loadNetRecord(DtNetIffAtcNavaidsLayerHeader& record) const; 00065 00066 00067 protected: 00068 00070 DtU8 myLayerNumber; 00071 DtU8 myLayerInfo; 00072 DtU16 myLayerLength; 00073 00074 }; 00075 00076 #endif 00077 #endif 00078