VR-Link API Documentation for HLA 1516
hPlatformEnc.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 DtPlatformEncoder_H_
00008 #define DtPlatformEncoder_H_
00009 
00010 #if DtHLA 
00011 
00012 #include "hPhysEntEnc.h"
00013 #include "entitySR.h"
00014 
00018 
00024 
00025 class DT_DLL_VL DtPlatformEncoder : public DtPhysicalEntityEncoder
00026 {
00027 public:
00028 
00030    DtPlatformEncoder(
00031       DtExerciseConn* exConn,
00032       DtObjClassDesc* classDesc);
00033 
00035    virtual ~DtPlatformEncoder();
00036 
00038    DtPlatformEncoder( const DtPlatformEncoder& orig);
00039 
00041    DtPlatformEncoder& operator=( const DtPlatformEncoder& orig);
00042 
00043 public:
00044 
00047    static DtHlaStateEncoder* create(
00048       DtExerciseConn* exConn,
00049       DtObjClassDesc* classDesc);
00050 
00051 protected:
00052 
00054    DtDECLARE_ENTITY_ATTR_CHECKER(AfterburnerOn);
00055    DtDECLARE_ENTITY_ATTR_CHECKER(AntiCollisionLightsOn);
00056    DtDECLARE_ENTITY_ATTR_CHECKER(BlackOutBrakeLightsOn);
00057    DtDECLARE_ENTITY_ATTR_CHECKER(BlackOutLightsOn);
00058    DtDECLARE_ENTITY_ATTR_CHECKER(BrakeLightsOn);
00059    DtDECLARE_ENTITY_ATTR_CHECKER(FormationLightsOn);
00060    DtDECLARE_ENTITY_ATTR_CHECKER(HatchState);
00061    DtDECLARE_ENTITY_ATTR_CHECKER(HeadLightsOn);
00062    DtDECLARE_ENTITY_ATTR_CHECKER(InteriorLightsOn);
00063    DtDECLARE_ENTITY_ATTR_CHECKER(LandingLightsOn);
00064    DtDECLARE_ENTITY_ATTR_CHECKER(LauncherRaised);
00065    DtDECLARE_ENTITY_ATTR_CHECKER(NavigationLightsOn);
00066    DtDECLARE_ENTITY_ATTR_CHECKER(RampDeployed);
00067    DtDECLARE_ENTITY_ATTR_CHECKER(RunningLightsOn);
00068    DtDECLARE_ENTITY_ATTR_CHECKER(SpotLightsOn);
00069    DtDECLARE_ENTITY_ATTR_CHECKER(TailLightsOn);
00070 
00072    DtDECLARE_ENTITY_ATTR_ENCODER(AfterburnerOn);
00073    DtDECLARE_ENTITY_ATTR_ENCODER(AntiCollisionLightsOn);
00074    DtDECLARE_ENTITY_ATTR_ENCODER(BlackOutBrakeLightsOn);
00075    DtDECLARE_ENTITY_ATTR_ENCODER(BlackOutLightsOn);
00076    DtDECLARE_ENTITY_ATTR_ENCODER(BrakeLightsOn);
00077    DtDECLARE_ENTITY_ATTR_ENCODER(FormationLightsOn);
00078    DtDECLARE_ENTITY_ATTR_ENCODER(HatchState);
00079    DtDECLARE_ENTITY_ATTR_ENCODER(HeadLightsOn);
00080    DtDECLARE_ENTITY_ATTR_ENCODER(InteriorLightsOn);
00081    DtDECLARE_ENTITY_ATTR_ENCODER(LandingLightsOn);
00082    DtDECLARE_ENTITY_ATTR_ENCODER(LauncherRaised);
00083    DtDECLARE_ENTITY_ATTR_ENCODER(NavigationLightsOn);
00084    DtDECLARE_ENTITY_ATTR_ENCODER(RampDeployed);
00085    DtDECLARE_ENTITY_ATTR_ENCODER(RunningLightsOn);
00086    DtDECLARE_ENTITY_ATTR_ENCODER(SpotLightsOn);
00087    DtDECLARE_ENTITY_ATTR_ENCODER(TailLightsOn);
00088 };
00089 
00095 #define DtDEFINE_SIMPLE_PLATFORM_ATTR_ENCODER( \
00096    attrName, netType, inspector) \
00097    DtDEFINE_SIMPLE_ATTR_ENCODER( \
00098       DtPlatformEncoder, \
00099       DtEntityStateRepository, \
00100       attrName, netType, inspector)
00101 
00107 #define DtDEFINE_SIMPLE_PLATFORM_ATTR_CHECKER( \
00108    attrName, inspector) \
00109    DtDEFINE_SIMPLE_ATTR_CHECKER( \
00110       DtPlatformEncoder, \
00111       DtEntityStateRepository, \
00112       attrName, inspector)
00113 
00114 #define DtDEFINE_PLATFORM_LIGHTS_ATTR_CHECKER(attrName, arg1) \
00115    DtDEFINE_LIGHT_ATTR_CHECKER(DtPlatformEncoder, attrName, arg1)
00116 
00117 #define DtDEFINE_PLATFORM_LIGHTS_ATTR_ENCODER(attrName, arg1) \
00118    DtDEFINE_LIGHT_ATTR_ENCODER(DtPlatformEncoder, attrName, arg1)
00119 
00120 #endif
00121 #endif
00122 

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)