VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
militaryPlatformEntityEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtMilitaryPlatformEntityEncoder_H_
8 #define DtMilitaryPlatformEntityEncoder_H_
9 
10 #if DtHLA
11 
12 #include "militaryEntityEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
24 
26 {
27 public:
28 
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
36 
40 
44 
45 public:
46 
49  static DtHlaStateEncoder* create(
50  DtExerciseConn* exConn,
51  DtObjClassDesc* classDesc);
52 
53 protected:
54 
56  DtDECLARE_ENTITY_ATTR_CHECKER(AfterburnerOn);
57  DtDECLARE_ENTITY_ATTR_CHECKER(HasAmmunitionSupplyCap);
58  DtDECLARE_ENTITY_ATTR_CHECKER(LauncherRaised);
59 
61  DtDECLARE_ENTITY_ATTR_ENCODER(AfterburnerOn);
62  DtDECLARE_ENTITY_ATTR_ENCODER(HasAmmunitionSupplyCap);
63  DtDECLARE_ENTITY_ATTR_ENCODER(LauncherRaised);
64 };
65 
71 #define DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_ENCODER( \
72  attrName, netType, inspector) \
73  DtDEFINE_SIMPLE_ATTR_ENCODER(DtMilitaryPlatformEntityEncoder, \
74  DtEntityStateRepository, \
75  attrName, netType, inspector)
76 
82 #define DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_CHECKER( \
83  attrName, inspector) \
84  DtDEFINE_SIMPLE_ATTR_CHECKER(DtMilitaryPlatformEntityEncoder, \
85  DtEntityStateRepository, \
86  attrName, inspector)
87 
88 #endif
89 #endif
90 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtMilitaryEntityEncoder.
DtDECLARE_ENTITY_ATTR_CHECKER(AlternateEntityType)
Static need<Attribute> member functions.
Contains the DtEntityStateRepository class declaration.
DtMilitaryEntityEncoder & operator=(const DtMilitaryEntityEncoder &orig)
assignment operator
DtDECLARE_ENTITY_ATTR_ENCODER(AlternateEntityType)
Static decode<Attribute> member functions.
This file provides a declaration of the class DtMilitaryEntityEncoder.
class DtMilitaryEntityEncoder:
Definition: militaryEntityEncoder.h:25
class DtMilitaryPlatformEntityEncoder:
Definition: militaryPlatformEntityEncoder.h:25

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)