VR-Link API Documentation for HLA 1516
hPlatformDec.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #ifndef DtPlatformDecoder_H_
00008 #define DtPlatformDecoder_H_
00009 
00010 #if DtHLA 
00011 
00012 #include "hPhysEntDec.h"
00013 
00017 
00018 class DT_DLL_VL DtEntityStateRepository;
00019 
00025 
00026 class DT_DLL_VL DtPlatformDecoder : public DtPhysicalEntityDecoder
00027 {
00028 public:
00029 
00031    DtPlatformDecoder(
00032       DtExerciseConn* exConn,
00033       DtObjClassDesc* classDesc);
00034 
00036    virtual ~DtPlatformDecoder();
00037 
00039    DtPlatformDecoder(
00040       const DtPlatformDecoder& orig);
00041 
00043    DtPlatformDecoder& operator=(
00044       const DtPlatformDecoder& orig);
00045 
00046 public:
00047 
00050    static DtHlaStateDecoder* create(
00051       DtExerciseConn* exConn,
00052       DtObjClassDesc* classDesc);
00053 
00054 protected:
00055 
00059    void addMyDecoders();
00060 
00062    DtDECLARE_ENTITY_ATTR_DECODER(AfterburnerOn);
00063    DtDECLARE_ENTITY_ATTR_DECODER(AntiCollisionLightsOn);
00064    DtDECLARE_ENTITY_ATTR_DECODER(BlackOutBrakeLightsOn);
00065    DtDECLARE_ENTITY_ATTR_DECODER(BlackOutLightsOn);
00066    DtDECLARE_ENTITY_ATTR_DECODER(BrakeLightsOn);
00067    DtDECLARE_ENTITY_ATTR_DECODER(FormationLightsOn);
00068    DtDECLARE_ENTITY_ATTR_DECODER(HatchState);
00069    DtDECLARE_ENTITY_ATTR_DECODER(HeadLightsOn);
00070    DtDECLARE_ENTITY_ATTR_DECODER(InteriorLightsOn);
00071    DtDECLARE_ENTITY_ATTR_DECODER(LandingLightsOn);
00072    DtDECLARE_ENTITY_ATTR_DECODER(LauncherRaised);
00073    DtDECLARE_ENTITY_ATTR_DECODER(NavigationLightsOn);
00074    DtDECLARE_ENTITY_ATTR_DECODER(RampDeployed);
00075    DtDECLARE_ENTITY_ATTR_DECODER(RunningLightsOn);
00076    DtDECLARE_ENTITY_ATTR_DECODER(SpotLightsOn);
00077    DtDECLARE_ENTITY_ATTR_DECODER(TailLightsOn);
00078 };
00079 
00085 #define DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER_WITH_CAST( \
00086    attrName, netType, mutator, castExpr) \
00087    DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
00088       DtPlatformDecoder, DtEntityStateRepository, \
00089       attrName, netType, mutator, castExpr)
00090 
00091 #define DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER( \
00092    attrName, netType, inspector) \
00093    DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER_WITH_CAST( \
00094       attrName, netType, inspector, (netType))
00095 
00096 #define DtDEFINE_PLATFORM_LIGHT_ATTR_DECODER(attrName, arg1) \
00097    DtDEFINE_LIGHT_ATTR_DECODER(DtPlatformDecoder, attrName, arg1)
00098 
00099 #endif
00100 #endif
00101 

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)