VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
arealObjectEncoderHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 1992-2025 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #if DtHLA
11 
12 #pragma once
13 
15 
17 
20 #define DtDECLARE_AREAL_OBJ_ATTR_CHECKER( attrName ) \
21  DtDECLARE_ATTR_CHECKER( DtArealObjectRepository, attrName )
22 
25 #define DtDECLARE_AREAL_OBJ_ATTR_ENCODER( attrName ) \
26  DtDECLARE_ATTR_ENCODER( DtArealObjectRepository, attrName )
27 
32 {
33 public:
34 
36  static DtHlaStateEncoder* create( DtExerciseConn* exConn, DtObjClassDesc* classDesc );
37 
39  DtArealObjectEncoder( DtExerciseConn* exConn, DtObjClassDesc* classDesc );
40 
43 
45  virtual ~DtArealObjectEncoder();
46 
49 
50 protected:
51 
53  DtDECLARE_AREAL_OBJ_ATTR_CHECKER( PercentComplete );
54  DtDECLARE_AREAL_OBJ_ATTR_CHECKER( DamagedAppearance );
55  DtDECLARE_AREAL_OBJ_ATTR_CHECKER( ObjectPreDistributed );
56  DtDECLARE_AREAL_OBJ_ATTR_CHECKER( Deactivated );
59 
61  DtDECLARE_AREAL_OBJ_ATTR_ENCODER( PercentComplete );
62  DtDECLARE_AREAL_OBJ_ATTR_ENCODER( DamagedAppearance );
63  DtDECLARE_AREAL_OBJ_ATTR_ENCODER( ObjectPreDistributed );
64  DtDECLARE_AREAL_OBJ_ATTR_ENCODER( Deactivated );
67 
68 };
69 
75 #define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_ENCODER( \
76  attrName, netType, inspector ) \
77  DtDEFINE_SIMPLE_ATTR_ENCODER( DtArealObjectEncoder, \
78  DtArealObjectRepository, attrName, netType, inspector )
79 
85 #define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_CHECKER( \
86  attrName, inspector ) \
87  DtDEFINE_SIMPLE_ATTR_CHECKER( DtArealObjectEncoder, \
88  DtArealObjectRepository, attrName, inspector )
89 
90 #endif // DtHLA
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityEncoder. Caller is responsible for deletion.
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
class DtEnvironmentObjectEncoder:
Definition: environmentObjectEncoder.h:36
Instances of DtArealObjectEncoder are used to encode areal object state messages from a state reposit...
Definition: arealObjectEncoderHLA.h:31
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
#define DtDECLARE_AREAL_OBJ_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: arealObjectEncoderHLA.h:25
This file provides a declaration of the class DtEnvironmentObjectEncoder.
Instances of DtArealObjectRepository are used to maintain state information needed by areal object en...
Definition: arealObjectRepository.h:30
#define DtDECLARE_AREAL_OBJ_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: arealObjectEncoderHLA.h:20
DtEnvironmentObjectEncoder & operator=(const DtEnvironmentObjectEncoder &orig)
assignment operator

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)