MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrHlaUnknownAttributeRepository.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 #ifndef lgrHlaUnknownAttributeRepository_H_
11 #define lgrHlaUnknownAttributeRepository_H_
12 
13 #if DtHLA
14 
15 #include <lgrSim/lgrSim.h>
17 
18 #include <vl/rtiCompatibility.h>
19 #include <vl/stateRepository.h>
20 
21 #include <vector>
22 
23 namespace MAKLogger
24 {
25 
29  {
30  public:
31 #if !DtHLA_1516
32  typedef std::pair<RTI::AttributeHandleSet*, RTI::AttributeHandleValuePairSet*> DtHandleSetValueSet;
35  typedef std::vector<DtHandleSetValueSet> DtHandleSetValueSetVector;
36 
39  static unsigned int theSubSetSize;
40 #endif
41 
42  public:
43 
46 
47 
49 
50  virtual const void* value(RTI::AttributeHandle handle) const;
51  virtual int valueLength(RTI::AttributeHandle handle) const;
52  virtual void setValue(RTI::AttributeHandle handle, char* buffer, int length);
53  virtual bool isMember(RTI::AttributeHandle handle) const;
54 
55  protected:
56 
57 #if !DtHLA_1516
58  virtual DtHandleSetValueSet* setToUse(RTI::AttributeHandle handle);
59  virtual const DtHandleSetValueSet* setToUse(RTI::AttributeHandle handle) const;
60 #endif
61 
62  public:
63  static void unknownEncoder(const DtStateRepository &stateRep, RTI::AttributeHandleValuePairSet *avList, RTI::AttributeHandle handle);
64 
65  static void unknownDecoder(DtStateRepository* stateRep, const RTI::AttributeHandleValuePairSet& avlist, unsigned long pairSetIndex);
66 
67 
68  protected:
69 
70 #if DtHLA_1516
71  RTI::AttributeHandleValueMap myAttrs;
72 #else
73  DtHandleSetValueSetVector myAttrs;
74 #endif
75 
76  };
77 
78 }
79 
80 #endif
81 
82 #endif
Defines IMPORT/EXPORT macros for lgrSim library.
#define DT_DLL_LGRSIM
Definition: lgrSim.h:21
#define DT_VIRTUAL_CTR(CLASS_NAME, ARG_TYPES_LIST)
Declare a Virtual Constructor Create using DT_VIRTUAL_CTR(CLASS_NAME,ARG_TYPES_LIST) Where CLASS_NAME...
Definition: virtualConstructor.h:34
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
An HLA Entity publisher.
Definition: lgrHlaUnknownAttributeRepository.h:28
RTI::AttributeHandleValueMap myAttrs
Definition: lgrHlaUnknownAttributeRepository.h:71

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)