VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vehicleEnc.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 #if DtHLA
6 
7 #ifndef VehicleEncoder_H_
8 #define VehicleEncoder_H_
9 
10 #include "myFomMap.h"
11 #include <vl/hlaStateEncoder.h>
12 
14 
18 #define DtDECLARE_TEST_ATTR_CHECKER(attrName) \
19  DtDECLARE_ATTR_CHECKER(DtEntityStateRepository, attrName)
20 
24 #define DtDECLARE_TEST_ATTR_ENCODER(attrName) \
25  DtDECLARE_ATTR_ENCODER(DtEntityStateRepository, attrName)
26 
29 class DT_DLL_FOMMAP VehicleEncoder : public DtHlaStateEncoder
30 {
31 public:
32 
33  // default constructor
34  VehicleEncoder(DtExerciseConn* exConn, DtObjClassDesc* classDesc);
35 
36  // destructor
37  virtual ~VehicleEncoder();
38 
39 protected:
40 
41  // Individual attribute encoding functions - one for each attribute.
42  // This macro expands to look like this:
43  // static void encodeVehicleType(const DtEntityStateRepository& rep,
44  // RTI::AttributeHandleValuePairSet* attrs,
45  // RTI::AttributeHandle attrHandle)
46  DtDECLARE_TEST_ATTR_ENCODER(VehicleType);
47  DtDECLARE_TEST_ATTR_ENCODER(GeocLoc);
48 
49  // Individual attribute checking functions - one for each attribute.
50  // This macro expands to look like this:
51  // static bool needNumber(const DtEntityStateRepository& rep,
52  // const DtEntityStateRepository& asSeenByRemote);
53 
54  DtDECLARE_TEST_ATTR_CHECKER(VehicleType);
55  DtDECLARE_TEST_ATTR_CHECKER(GeocLoc);
56 };
57 
58 #endif
59 #endif
#define DT_DLL_FOMMAP
Definition: myFomMap.h:21
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtHlaStateEncoder.
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42

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)