![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 #ifndef hActSonarDec_H_ 00007 #define hActSonarDec_H_ 00008 #if DtHLA 00009 00013 00014 #include "hUndwaAcEmissDec.h" 00015 00016 class DtActiveSonarStateRepository; 00017 00023 class DT_DLL_VL DtActiveSonarDecoder : public DtUnderwaterAcousticsEmissionDecoder 00024 { 00025 public: 00027 DtActiveSonarDecoder( 00028 DtExerciseConn* exConn, 00029 DtObjClassDesc* classDesc); 00030 00032 virtual ~DtActiveSonarDecoder(); 00033 00035 DtActiveSonarDecoder(const DtActiveSonarDecoder& orig); 00036 00038 DtActiveSonarDecoder& operator=(const DtActiveSonarDecoder& orig); 00039 00040 public: 00042 static DtHlaStateDecoder* create( 00043 DtExerciseConn* exConn, 00044 DtObjClassDesc* classDesc); 00045 00046 protected: 00048 static void decodeAcousticName( 00049 DtActiveSonarStateRepository* stateRep, 00050 const RTI::AttributeHandleValuePairSet& attrs, 00051 int pairSetIndex); 00052 00054 static void decodeFunctionCode( 00055 DtActiveSonarStateRepository* stateRep, 00056 const RTI::AttributeHandleValuePairSet& attrs, 00057 int pairSetIndex); 00058 00060 static void decodeAcousticsIdentifier( 00061 DtActiveSonarStateRepository* stateRep, 00062 const RTI::AttributeHandleValuePairSet& attrs, 00063 int pairSetIndex); 00064 00065 }; 00066 00067 00068 #endif //DtActiveSonarDecoder_H_ 00069 00070 #endif //DtHLA 00071