VR-Link API Documentation for HLA 1.3
hActSonBmDec.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #if DtHLA 
00008 
00009 #ifndef hActSonBmDec_H_
00010 #define hActSonBmDec_H_
00011 
00012 #include "hStateDecoder.h"
00013 
00016 
00017 class DT_DLL_VL DtActiveSonarBeamRepository;
00018 
00021 #define DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(attrName) \
00022    DtDECLARE_ATTR_DECODER(DtActiveSonarBeamRepository, attrName) 
00023 
00024 
00029 class DT_DLL_VL DtActiveSonarBeamDecoder : public DtHlaStateDecoder
00030 {
00031 public:
00033    DtActiveSonarBeamDecoder(
00034       DtExerciseConn* exConn,
00035       DtObjClassDesc* classDesc);
00036 
00038    virtual ~DtActiveSonarBeamDecoder();
00039 
00041    DtActiveSonarBeamDecoder(const DtActiveSonarBeamDecoder& orig);
00042 
00044    DtActiveSonarBeamDecoder& operator=
00045       (const DtActiveSonarBeamDecoder& orig);
00046 
00047 public:
00049    static DtHlaStateDecoder* create(
00050       DtExerciseConn* exConn,
00051       DtObjClassDesc* classDesc);
00052 
00053 protected:
00054    DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ActiveEmissionParameterIndex);
00055    DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(AzimuthBeamwidth);
00056    DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(AzimuthCenter);
00057    DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(BeamIdentifier);
00058    DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ElevationBeamwidth);
00059    DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ElevationCenter);
00060    DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(EventIdentifier);
00061    DtDECLARE_ACTIVE_SONAR_ATTR_DECODER(ScanPattern);
00062 };
00063 
00069 #define DtDEFINE_SIMPLE_ACTIVE_SONAR_ATTR_DECODER_WITH_CAST( \
00070    attrName, netType, mutator, castExpr) \
00071    DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
00072    DtActiveSonarBeamDecoder, DtActiveSonarBeamRepository, \
00073    attrName, netType, mutator, castExpr)
00074 
00075 #define DtDEFINE_SIMPLE_ACTIVE_SONAR_ATTR_DECODER( \
00076    attrName, netType, inspector) \
00077    DtDEFINE_SIMPLE_ACTIVE_SONAR_ATTR_DECODER_WITH_CAST( \
00078    attrName, netType, inspector, (netType))
00079 
00080 #endif   
00081 #endif   
00082 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)