MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrDisArtPartList.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 
10 #ifndef lgrDisArtPartList_H_
11 #define lgrDisArtPartList_H_
12 
13 #if DtDIS
14 
15 #include <lgrSim/lgrSim.h>
16 
17 #include "uniqEntryArr.h"
18 #include <lgrSim/lgrDisArtPart.h>
19 
20 #include <vlutil/vlList.h>
21 #include <vlutil/vlTime.h>
22 #include <vlpi/netStructs.h>
23 
24 namespace MAKLogger
25 {
26 
27 
31  class DT_DLL_LGRSIM DtLgrArtPartList
32  {
33  public:
35  DtLgrArtPartList();
36 
38  virtual ~DtLgrArtPartList();
39 
41  DtLgrArtPartList( const DtLgrArtPartList& src );
42 
44  DtLgrArtPartList& operator=( const DtLgrArtPartList& src );
45 
46  public:
53  virtual bool init( const DtArtPartSpec* partSpecs );
54 
58  virtual bool init( int numParams, const DtNetArtParamRecord* netParams,
59  int& numAttachPartRecords, int& numAttachPartRecordsCopied,
60  char* bfr, int bsz );
61 
64  void clear();
65 
67  int fillNetParams( DtNetArtParamRecord* netParams ) const;
68 
72  virtual bool setArtParamVal(
73  int partType, int paramType, DtFloat32 val );
74  virtual bool getArtParamVal(
75  int partType, int paramType, DtFloat32& val ) const;
76 
78  virtual int numArtParts() const;
79 
81  virtual int numArtParams() const;
82 
84  virtual DtLgrArtPart* artPartFromPartNum( int partNum ) const;
85 
87  virtual DtLgrArtPart* artPartFromPartType( int partType ) const;
88 
90  virtual int partNumFromPartType( int partType ) const;
91 
92  public:
94  virtual void print() const;
95  virtual void print( DtString& str ) const;
96 
97  protected:
99  bool copyInstance( const DtLgrArtPartList& src );
101  bool resize( int numParts );
102 
103  public:
106  static bool partNotAttached( const DtNetArtParamRecord* param );
107 
108  protected:
109  DtUniqueEntryArrWData myPartTypes;
110  DtLgrArtPart** myPartList;
111  int myPartListSize;
112  };
113 
114 }
115 
116 #endif
117 #endif
118 
Defines IMPORT/EXPORT macros for lgrSim library.
#define DT_DLL_LGRSIM
Definition: lgrSim.h:21
Contains MAKLogger::DtLgrArtPart class.
Contains legacy code.

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)