VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vlFedTarget.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2026 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
9 #pragma once
10 
11 #include <map>
12 #include <set>
13 #include <vector>
14 #include <cmath>
15 
16 #include "vlutil/vlMachineTypes.h"
17 #include "vlutil/vlString.h"
18 #include "vlutil/vlUtil.h"
19 #include "vlutil/vlSmartPointers.h"
21 
22 #include <mtl/fedTargetHelper.h>
23 
24 #ifdef DtUSE_UTILITIES_NAMESPACE
25 namespace DtUSE_UTILITIES_NAMESPACE
26 {
27 #endif
28 
29  typedef std::set<std::shared_ptr<DtUpdateRateType>, FomTypeCompare<DtUpdateRateType> > DtUpdateRateSetT;
30 
31  typedef std::set<DtString> DtNameSet;
32  typedef std::pair<DtString, DtString> DtNamePair;
33  typedef std::set<DtNamePair> DtNamePairSet;
34  typedef std::map<DtString, DtNamePairSet> DtNameToNamePairSetMap;
35  typedef std::map<DtString, DtNameSet> DtNameToNameSetMap;
36  typedef std::pair<DtString, DtNamePair> DtNameWithNamePair;
37  typedef std::set<DtNameWithNamePair> DtNameWithNamePair_Set;
38  typedef std::map< DtString, bool > DtSwitchesMap;
39 
40  typedef std::vector<DtString> DtNameVector;
41 
42  enum DtFomType
43  {
45  DtFom13 = 1,
46  DtFom1516 = 2,
49  };
50 
52  {
53  DtMergeFomTableUnknown = 0X00000000, // 0
54  DtMergeFomTableIdentification = 0X00000001, // 1
55  DtMergeFomTableObjectClass = 0X00000002, // 2
58  DtMergeFomTableDimensions = 0X00000010, // 16
59  DtMergeFomTableTime = 0X00000020, // 32
60  DtMergeFomTableUserDefinedTags = 0X00000040, // 64
61  DtMergeFomTableSyncPoints = 0X00000080, // 128
62  DtMergeFomTableTransportTypes = 0X00000100, // 256
63  DtMergeFomTableUpdateRates = 0X00000200, // 512
64  DtMergeFomTableSwitches = 0X00000400, // 1024
65  DtMergeFomTableBasicDataRepType = 0X00000800, // 2048
66  DtMergeFomTableSimpleDataType = 0X00001000, // 4096
67  DtMergeFomTableEnumeratedDataType = 0X00002000, // 8192
68  DtMergeFomTableArrayDataType = 0X00004000, // 16384
69  DtMergeFomTableFixedRecordDataType = 0X00008000, // 32768
70  DtMergeFomTableVariantRecordDataType = 0X00010000, // 65536
71  DtMergeFomTableReferenceType = 0X00020000, // 131072
72  DtMergeFomTableNotes = 0X00040000, // 262144
73  };
74 
75  #define DEFAULT_MERGE_MASK DtMergeFomTableObjectClass | DtMergeFomTableInteractionClass \
76  | DtMergeFomTableDimensions | DtMergeFomTableTime | DtMergeFomTableUserDefinedTags | DtMergeFomTableSyncPoints \
77  | DtMergeFomTableTransportTypes | DtMergeFomTableUpdateRates | DtMergeFomTableSwitches | DtMergeFomTableBasicDataRepType \
78  | DtMergeFomTableSimpleDataType | DtMergeFomTableEnumeratedDataType | DtMergeFomTableArrayDataType \
79  | DtMergeFomTableFixedRecordDataType | DtMergeFomTableVariantRecordDataType
80  //| DtMergeFomTableNotes (removed from defaults to hide merge issues in VRL 5.9.1 FOMs)
81  //| DtMergeFomTableReferenceType | DtMergeFomTableDirectedInteraction (not implemented yet)
82 
83 
85  {
89  };
90 
92  {
96  };
97 
99  {
103  };
104 
108  {
115  };
116 
117  typedef void (*fptr)(void *);
118 
123 
125  {
126  public:
127 
129  DtFedTarget();
130 
132  virtual ~DtFedTarget();
133 
135  DtFedTarget(const DtFedTarget& orig);
136 
138  DtFedTarget& operator=(const DtFedTarget& orig);
139 
141 
142  virtual void setFomType(DtFomType type);
143  virtual DtFomType fomType() const;
145 
147  virtual void addSpace(const char* name);
148 
151  virtual void addDimension(const char* SpaceName, const char* dimName);
152 
154  virtual void addDimension(const char* dimName, unsigned long upperBound,
155  unsigned long defaultLowerBound, unsigned long defaultUpperBound,
156  bool excluded, const DtString& normalization);
157 
160  virtual bool addInterClass(const char* name, const char* baseName,
161  DtTransportType transport, DtOrderType order, const char* space=0) = 0;
162 
165  virtual void addParameter(const char* className, const char* paramName) = 0;
166 
169  virtual bool addInteractionDimension(const char* interactionName, const char* dimension) = 0;
170 
173  virtual bool addObjClass(const char* name, const char* baseName) = 0;
174 
177  virtual bool addObjectDimension(const char* objectClassName, const char* dimension) = 0;
178 
182  virtual bool addDirectedInteraction(const char* objectClassName, const char* interactionClassName) = 0;
183 
186  virtual void addAttribute(const char* className, const char* attrName,
187  DtTransportType transport, DtOrderType order, DtSharingType sharing,
188  DtFomUpdateType updateType, const DtString& updateCondition,
189  DtOwnershipType ownershipType, const DtString& semantics, const char* spaceName=NULL ) = 0;
190 
193  virtual void addAttribute(const char* className, const char* attributeName,
194  DtTransportType transport, DtOrderType order, const char* space=0) = 0;
195 
198  virtual bool addAttributeDimension(const char* className, const char* attrName, const char* dimName) = 0;
199 
200  //-------------------------------------------------------------------------
202 
203 
204  virtual bool autoProvide() const;
205  virtual void setAutoProvide(bool value);
206 
207  virtual bool conveyRegionDesignatorSets() const;
208  virtual void setConveyRegionDesignatorSets(bool value);
209 
210  virtual bool conveyProducingFederate() const;
211  virtual void setConveyProducingFederate(bool value);
212 
213  virtual bool attributeScopeAdvisory() const;
214  virtual void setAttributeScopeAdvisory(bool value);
215 
216  virtual bool attributeRelevanceAdvisory() const;
217  virtual void setAttributeRelevanceAdvisory(bool value);
218 
219  virtual bool objectClassRelevanceAdvisory() const;
220  virtual void setObjectClassRelevanceAdvisory(bool value);
221 
222  virtual bool interactionRelevanceAdvisory() const;
223  virtual void setInteractionRelevanceAdvisory(bool value);
224 
225  virtual bool serviceReporting() const;
226  virtual void setServiceReporting(bool value);
227 
228  virtual bool exceptionReporting() const;
229  virtual void setExceptionReporting(bool value);
230 
231  virtual bool delaySubscriptionEvaluation() const;
232  virtual void setDelaySubscriptionEvaluation(bool value);
233 
234  virtual DtResignAction automaticResignAction() const;
235  virtual void setAutomaticResignAction(DtResignAction value);
236 
237  virtual bool nonRegulatedGrant() const;
238  virtual void setNonRegulatedGrant(bool value);
239 
240  virtual bool sendServiceReportsToFile() const;
241  virtual void setSendServiceReportsToFile(bool value);
242 
243  virtual bool advisoriesUseKnownClass() const;
244  virtual void setAdvisoriesUseKnownClass(bool value);
245 
246  virtual bool allowRelaxedDdm() const;
247  virtual void setAllowRelaxedDdm(bool value);
248 
250  //-------------------------------------------------------------------------
251 
253 
254  virtual unsigned int numUpdateRates() const;
255  virtual void addUpdateRate(DtUpdateRateType* updateRate);
256  virtual bool knownUpdateRate( const DtUpdateRateType & updateRate ) const;
258 
259 
261 
262  virtual unsigned int numSyncPoints() const;
263  virtual void addSyncPoint(DtSynchronizationPointsType* syncName);
264  virtual bool knownSyncPoint( const DtSynchronizationPointsType & syncName ) const;
266 
267 
269 
270  virtual unsigned int numTransports() const;
271  virtual void addTransportType(DtTransportationType* transportName);
272  virtual bool knownTransportType( const DtTransportationType & transportName) const;
273  virtual bool transportTypeConsistencyTest(const DtTransportationType & transportName);
274  virtual DtTransportType transportTypeFromTransportation( const DtString & transportTypeName) const;
275  virtual DtMergeFomStatus mergeTransportTypes(DtFedTarget const& module);
277 
279 
280  virtual unsigned int numUserSuppliedTags() const;
281  virtual void addUserSuppliedTag(DtUserSuppliedTagsType* tag);
282  virtual bool knownUserSuppliedTag(const DtUserSuppliedTagsType& tag) const;
284 
285 
287 
288  virtual unsigned int numNotes() const;
289  virtual void addNote(DtNotesType* noteName);
290  virtual bool knownNote(const DtNotesType & noteName) const;
292 
293 
295 
296  virtual unsigned int numSwitches() const;
297  virtual void addSwitch(const DtString& switchName, bool switchVal);
298  virtual bool knownSwitch(const DtString& switchName) const;
300  virtual bool isStandardSwitch(const DtString& switchName) const;
301  virtual bool switchValue(const DtString& switchName) const;
304  virtual DtMergeFomStatus mergeSwitches(DtFedTarget const& module, bool allowCreateMerges);
306 
308 
309  virtual unsigned int numTimeTypes() const;
310  virtual void addTime(DtTimeType* timeName);
311  virtual bool knownTime(const DtTimeType & timeName) const;
312  virtual bool timeTypesSame(DtFedTarget const& module ) const;
313  virtual DtMergeFomStatus mergeTimeTypes(DtFedTarget const& module);
315 
317 
318  virtual void addBasicDataRepresentation(DtBasicDataRepresentationType * theBasicDataRepresentation);
319  virtual bool knownBasicDataRepresentation(const DtBasicDataRepresentationType& theBasicDataRepresentation) const;
321 
322 
324 
325  virtual void addSimpleDataType(DtSimpleDatatypeType * theSimpleDataType);
326  virtual bool knownSimpleDatatype(const DtSimpleDatatypeType & theSimpleDatatype) const;
328 
329 
331 
332  virtual void addEnumeratedDataType(DtEnumeratedDatatypeType * theEnumeratedDataType);
333  virtual bool knownEnumeratedDatatype(const DtEnumeratedDatatypeType& theEnumeratedDatatype) const;
335 
336 
338 
339  virtual void addArrayDataType(DtArrayDatatypeType * theArrayDataType);
340  virtual bool knownArrayDatatype(const DtArrayDatatypeType& theArrayDatatype) const;
342 
343 
345 
346  virtual void addFixedRecordDataType(DtFixedRecordDatatypeType * theFixedRecordDataType);
347  virtual bool knownFixedRecordDatatype(const DtFixedRecordDatatypeType theFixedRecordDatatype) const;
349 
350 
352 
353  virtual void addVariantRecordDataType(DtVariantRecordDatatypeType * theVariantRecordDataType);
354  virtual bool knownVariantRecordDatatype(const DtVariantRecordDatatypeType& theVariantRecordDatatype) const;
356 
357 
359 
360  virtual void addModelIdentification(const char * nameTag);
361  virtual bool knownModelIdentification(DtString const & nameTag) const;
362  virtual bool modelIdentificationSame(DtFedTarget const& module) const;
364 
366 
367  virtual void setFomDependencies(const DtNameVector& fomDependencies);
368  virtual const DtNameVector& fomDependencies();
369  virtual const DtNameVector& fomDependencies() const;
371 
373  virtual void setMergeTableMask(DtU64 mergeTableMask);
374 
376  virtual bool fomTableMergeEnabled(DtMergeFomTableMask fomTableMask) const;
377 
381  virtual DtMergeFomStatus mergeTarget( DtFedTarget const& module, bool allowCreateMerges);
382 
384  virtual DtMergeFomStatus mergeSpaces( DtFedTarget const& module );
385 
387  virtual DtMergeFomStatus mergeObjectClasses(const DtFedTarget& module);
388 
390  virtual DtMergeFomStatus mergeInteractionClasses(const DtFedTarget& module);
391 
393  virtual DtMergeFomStatus postMergeCheckTarget(DtString & errorString);
394 
396 
397  virtual void addUnresolvedAttributeTransportation(const DtString& transportationName, const DtString& className, const DtString& attrName);
398  virtual void removeResolvedAttributeTransportation(const DtString& transportationName, DtNamePair classAttrPair);
400 
402 
403  virtual void addUnresolvedInteractionTransportation(const DtString& transportationName, const DtString& interactionName);
404  virtual void removeResolvedInteractionTransportation(const DtString& transportationName, const DtString& interactionName);
406 
408  virtual const DtString& modelIdentification() const;
409 
411  virtual const DtString& lastError() const;
412 
414  virtual bool isStrictChecking() const;
415  virtual void setStrictChecking(bool doStrictChecking);
416 
417  public:
418 
420 
421 
423  static void setDefaultAutoProvide(bool onOff);
424  static bool defaultAutoProvide();
425 
427  static void setDefaultConveyRegionDesignatorSets(bool onOff);
428  static bool defaultConveyRegionDesignatorSets();
429 
431  static void setDefaultConveyProducingFederate(bool onOff);
432  static bool defaultConveyProducingFederate();
433 
435  static void setDefaultObjectClassRelevanceAdvisory(bool onOff);
436  static bool defaultObjectClassRelevanceAdvisory();
437 
439  static void setDefaultAttributeRelevanceAdvisory(bool onOff);
440  static bool defaultAttributeRelevanceAdvisory();
441 
443  static void setDefaultAttributeScopeAdvisory(bool onOff);
444  static bool defaultAttributeScopeAdvisory();
445 
447  static void setDefaultInteractionRelevanceAdvisory(bool onOff);
448  static bool defaultInteractionRelevanceAdvisory();
449 
451  static void setDefaultServiceReporting(bool onOff);
452  static bool defaultServiceReporting();
453 
455  static void setDefaultExceptionReporting(bool onOff);
456  static bool defaultExceptionReporting();
457 
459  static void setDefaultAutomaticResignAction(DtResignAction val);
460  static DtResignAction defaultAutomaticResignAction();
461 
463  static void setDefaultDelaySubscriptionEvaluation(bool value);
464  static bool defaultDelaySubscriptionEvaluation();
465 
467  static void setDefaultNonRegulatedGrant(bool value);
468  static bool defaultNonRegulatedGrant();
469 
471  static void setDefaultSendServiceReportsToFile(bool value);
472  static bool defaultSendServiceReportsToFile();
473 
475  static void setDefaultAdvisoriesUseKnownClass(bool value);
476  static bool defaultAdvisoriesUseKnownClass();
477 
479  static void setDefaultAllowRelaxedDdm(bool value);
480  static bool defaultAllowRelaxedDdm();
481 
483 
485  static char const* enumAsString(DtResignAction action);
486 
488  static char const* enumAsString(DtMergeFomTableMask mergeTable);
489 
490  protected:
491 
493  typedef void (*DtSwitchSetterFunc)(DtFedTarget* target, bool enableSwitch);
494 
496  typedef bool (*DtSwitchGetterFunc)(DtFedTarget const* target);
497 
499  typedef std::map<DtString, DtSwitchSetterFunc> DtSwitchSetterMap;
500 
502  typedef std::map<DtString, DtSwitchGetterFunc> DtSwitchGetterMap;
503 
506  void initSwitchSetters();
507 
509 
510  virtual void addUnresolvedObjectDimension(const DtString& dimensionName, const DtString& objectClassName);
511  virtual void removeResolvedObjectDimension(const DtString& dimensionName, const DtString& objectClassName);
513 
515 
516  virtual void addUnresolvedDirectedInteraction(const DtString& interactionClassName, const DtString& objectClassName);
517  virtual void removeResolvedDirectedInteraction(const DtString& interactionClassName, const DtString& objectClassName);
519 
521 
522  virtual void addUnresolvedAttributeDimension(const DtString& dimensionName, const DtString& className,
523  const DtString& attrName);
524  virtual void removeResolvedAttribute(const DtString& dimensionName, DtNamePair classAttrPair);
526 
528 
529  virtual void addUnresolvedInteractionDimension(const DtString& dimensionName, const DtString& interactionName);
530  virtual void removeResolvedInteractionDimension(const DtString& dimensionName, const DtString& interactionName);
532 
534 
535  virtual void mergeUnresolved(DtFedTarget const & module);
536  virtual bool resolveObjectModelIdentification(DtString & errorString);
537  virtual bool resolveObjectClasses(DtString & errorString, bool& fomReadError);
538  virtual bool resolveInteractionClasses(DtString & errorString, bool& fomReadError);
539  virtual bool resolveAttributes(DtString & errorString, bool& fomReadError);
540  virtual bool resolveParameters(DtString & errorString, bool& fomReadError);
541  virtual bool resolveDimensions(DtString & errorString, bool& fomReadError);
542  // Not necessary
543  virtual bool resolveTimeRepresentations(DtString & errorString);
544  // Not Necessary
545  virtual bool resolveUserSuppliedTags(DtString & errorString);
546  // Not Necessary
547  virtual bool resolveSynchronizationPoints(DtString & errorString);
548  virtual bool resolveTranportationTypes(DtString & errorString);
549  virtual bool resolveUpdateRates(DtString & errorString);
550  virtual bool resolveSwitches(DtString & errorString);
551  virtual void checkSpecificSwitch(const DtString & switchName, bool &mySwitchMissing, DtString &mySwitchesError);
552  // Not necessary
553  virtual bool resolveDatatypes(DtString & errorString);
554  // Not Necessary
555  virtual bool resolveNotes(DtString & errorString);
556  // Not Necessary
557  virtual bool resolveServiceUsage(DtString & errorString);
558  virtual void unionUnresolvedClassDimensions(DtNameToNameSetMap& thisUnresolvedClassDimensions,
559  DtNameToNameSetMap const& otherUnresolvedObjectDimensions);
560  virtual void unionUnresolvedDirectedInteractions(DtNameToNameSetMap& thisUnresolvedInteractions,
561  const DtNameToNameSetMap & otherUnresolvedInteractions);
562  virtual void unionUnresolvedAttributeDimensions(const DtNameToNamePairSetMap& unresolvedAttributeDimensions);
563  virtual void unionUnresolvedAttributeTransportation(const DtNameToNamePairSetMap& unresolvedAttributetransportations);
564  virtual void unionUnresolvedInteractionTransportation(const DtNameToNameSetMap& unresolvedInteractiontransportations);
566 
567  virtual bool checkStringsIgnoringWhiteSpaceAndNewline(const DtString & left, const DtString & right);
568 
569 
571 
572 
573  static void setAutoProvide(DtFedTarget*, bool onOff);
574  static bool autoProvide(DtFedTarget const*);
575  static void setConveyRegionDesignatorSets(DtFedTarget*, bool onOff);
576  static bool conveyRegionDesignatorSets(DtFedTarget const*);
577  static void setConveyProducingFederate(DtFedTarget*, bool onOff);
578  static bool conveyProducingFederate(DtFedTarget const*);
579  static void setObjectClassRelevanceAdvisory(DtFedTarget*, bool onOff);
580  static bool objectClassRelevanceAdvisory(DtFedTarget const*);
581  static void setAttributeRelevanceAdvisory(DtFedTarget*, bool onOff);
582  static bool attributeRelevanceAdvisory(DtFedTarget const*);
583  static void setAttributeScopeAdvisory(DtFedTarget*, bool onOff);
584  static bool attributeScopeAdvisory(DtFedTarget const*);
585  static void setInteractionRelevanceAdvisory(DtFedTarget*, bool onOff);
586  static bool interactionRelevanceAdvisory(DtFedTarget const*);
587  static void setServiceReporting(DtFedTarget*, bool onOff);
588  static bool serviceReporting(DtFedTarget const*);
589  static void setExceptionReporting(DtFedTarget*, bool onOff);
590  static bool exceptionReporting(DtFedTarget const*);
591  static void setDelaySubscriptionEvaluation(DtFedTarget*, bool onOff);
592  static bool delaySubscriptionEvaluation(DtFedTarget const*);
593  static void setNonRegulatedGrant(DtFedTarget*, bool onOff);
594  static bool nonRegulatedGrant(DtFedTarget const*);
595  static void setSendServiceReportsToFile(DtFedTarget*, bool onOff);
596  static bool sendServiceReportsToFile(DtFedTarget const*);
597  static void setAdvisoriesUseKnownClass(DtFedTarget*, bool onOff);
598  static bool advisoriesUseKnownClass(DtFedTarget const*);
599  static void setAllowRelaxedDdm(DtFedTarget*, bool onOff);
600  static bool allowRelaxedDdm(DtFedTarget const*);
601 
603 
604  protected:
605 
608 
609 #define DEFINE_COMPONENT_SET_TYPEDEF(componentType) \
610  typedef std::set<std::shared_ptr<componentType>, FomTypeCompare<componentType>> componentType##Set
622  typedef std::set< std::shared_ptr<DtTimeType>> DtTimeTypeSet;
624 
626 
627  // FOM components
632  DtUserSuppliedTagsTypeSet myUserSuppliedTags;
633  DtSynchronizationPointsTypeSet mySyncPoints;
634  DtTransportationTypeSet myTransportTypes;
636 // std::set<DtNotesType> myNotes;
637  DtNotesTypeSet myNotes;
638 
640 
641  DtBasicDataRepresentationTypeSet myBasicDataRepTypes;
642  DtSimpleDatatypeTypeSet mySimpleDatatypeTypes;
643  DtEnumeratedDatatypeTypeSet myEnumeratedDatatypeTypes;
644  DtArrayDatatypeTypeSet myArrayDatatypeTypes;
645  DtFixedRecordDatatypeTypeSet myFixedRecordDatatypeTypes;
646  DtVariantRecordDatatypeTypeSet myVariantRecordDatatypeTypes;
648 
649  // Mask that determines which tables are merged
651 
653 
671 
672  // Bookkeeping/configuration
677 
680 
687 
691 
692  const DtString myAdvisoriesUseKnownClassTag = "advisoriesUseKnownClass";
693  const DtString myAllowRelaxedDdmTag = "allowRelaxedDDM";
694  const DtString myAttributeRelevanceAdvisoryTag = "attributeRelevanceAdvisory";
695  const DtString myAttributeScopeAdvisoryTag = "attributeScopeAdvisory";
696  const DtString myAutomaticResignActionTag = "automaticResignAction";
697  const DtString myAutoProvideTag = "autoProvide";
698  const DtString myConveyProducingFederateTag = "conveyProducingFederate";
699  const DtString myConveyRegionDesignatorSetsTag = "conveyRegionDesignatorSets";
700  const DtString myDelaySubscriptionEvaluationTag = "delaySubscriptionEvaluation";
701  const DtString myExceptionReportingTag = "exceptionReporting";
702  const DtString myInteractionRelevanceAdvisoryTag = "interactionRelevanceAdvisory";
703  const DtString myNonRegulatedGrantTag = "nonRegulatedGrant";
704  const DtString myObjectClassRelevanceAdvisoryTag = "objectClassRelevanceAdvisory";
705  const DtString myServiceReportingTag = "serviceReporting";
706  const DtString mySendServiceReportsToFileTag = "sendServiceReportsToFile";
707 
708  protected:
709 
725 
726  };
727 
728 #ifdef DtUSE_UTILITIES_NAMESPACE
729 }
730 #endif
731 
Definition: vlFedTarget.h:62
Definition: vlFedTargetTypes.h:604
std::pair< DtString, DtNamePair > DtNameWithNamePair
Definition: vlFedTarget.h:36
DtU64 myFomTableMergeMask
Definition: vlFedTarget.h:650
Definition: vlFedTarget.h:86
DtEnumeratedDatatypeTypeSet myEnumeratedDatatypeTypes
Definition: vlFedTarget.h:643
static bool theDefaultConveyProducingFederate
Definition: vlFedTarget.h:716
Definition: vlFedTarget.h:113
std::map< DtString, DtNamePairSet > DtNameToNamePairSetMap
Definition: vlFedTarget.h:34
Definition: vlFedTarget.h:111
std::set< DtString > DtNameSet
Definition: vlFedTarget.h:31
DtNameToNameSetMap myUnresolvedObjectDimensions
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:681
DtFixedRecordDatatypeTypeSet myFixedRecordDatatypeTypes
Definition: vlFedTarget.h:645
Definition: vlFedTarget.h:67
static bool theDefaultServiceReporting
Definition: vlFedTarget.h:723
Definition: vlFedTarget.h:57
static bool theDefaultAdvisoriesUseKnownClass
Definition: vlFedTarget.h:710
static bool theDefaultAllowRelaxedDdm
Definition: vlFedTarget.h:711
enum DtFomUpdateType_enum DtFomUpdateType
Update type for object.
Definition: vlFedTarget.h:59
DtString myLastError
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:688
static bool theDefaultAttributeRelevanceAdvisory
Definition: vlFedTarget.h:712
bool myDelaySubscriptionEvaluation
Switches.
Definition: vlFedTarget.h:663
Contains the DtString class declaration.
DtSwitchGetterMap mySwitchGetters
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:676
DtNameVector myFomDependencies
Definition: vlFedTarget.h:630
DtNameToNameSetMap myUnresolvedInteractionDimensions
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:684
static bool theDefaultDelaySubscriptionEvaluation
Definition: vlFedTarget.h:718
DtResignAction myAutomaticResignAction
Switches.
Definition: vlFedTarget.h:658
Definition: vlFedTargetTypes.h:190
bool myConveyRegionDesignatorSets
Switches.
Definition: vlFedTarget.h:661
std::set< DtNamePair > DtNamePairSet
Definition: vlFedTarget.h:33
unsigned long long DtU64
-------—— Network Layout for a long long (64 bytes unsigned)
Definition: vlMachineTypes.h:197
Definition: vlFedTarget.h:102
Definition: vlFedTarget.h:112
The FOM type components are stored in sets of shared pointers This comparator orders them by the valu...
Definition: vlFedTargetTypes.h:702
Includes utility functions for weak and shared pointers.
Definition: vlFedTargetTypes.h:422
Definition: vlFedTarget.h:63
Definition: vlFedTarget.h:56
std::map< DtString, DtNameSet > DtNameToNameSetMap
Definition: vlFedTarget.h:35
Definition: vlFedTarget.h:44
Definition: vlFedTarget.h:46
DtVariantRecordDatatypeTypeSet myVariantRecordDatatypeTypes
Definition: vlFedTarget.h:646
Definition: vlFedTargetTypes.h:51
DtFomType myFomType
Definition: vlFedTarget.h:625
DtArrayDatatypeTypeSet myArrayDatatypeTypes
Definition: vlFedTarget.h:644
bool myConveyProducingFederate
Switches.
Definition: vlFedTarget.h:662
Definition: vlFedTarget.h:66
Definition: vlFedTarget.h:88
DtSynchronizationPointsTypeSet mySyncPoints
Definition: vlFedTarget.h:633
DtSimpleDatatypeTypeSet mySimpleDatatypeTypes
Definition: vlFedTarget.h:642
DtUpdateRateSetT myUpdateRates
Definition: vlFedTarget.h:635
enum DtSharingType_enum DtSharingType
Definition: vlFedTarget.h:110
DtTransportationTypeSet myTransportTypes
Definition: vlFedTarget.h:634
Definition: vlFedTarget.h:100
DtUserSuppliedTagsTypeSet myUserSuppliedTags
Definition: vlFedTarget.h:632
bool mySendServiceReportsToFile
Switches.
Definition: vlFedTarget.h:668
static bool theDefaultInteractionRelevanceAdvisory
Definition: vlFedTarget.h:720
Definition: vlFedTarget.h:69
bool myExceptionReporting
Switches.
Definition: vlFedTarget.h:664
bool myAttributeScopeAdvisory
Switches.
Definition: vlFedTarget.h:656
std::set< std::shared_ptr< DtTimeType > > DtTimeTypeSet
no ordering needed for sets consisting of these types:
Definition: vlFedTarget.h:622
bool myAttributeRelevanceAdvisory
Switches.
Definition: vlFedTarget.h:657
bool myAutoProvide
Switches.
Definition: vlFedTarget.h:660
std::map< DtString, DtSwitchSetterFunc > DtSwitchSetterMap
List of switch setters by switch name.
Definition: vlFedTarget.h:499
DtNotesTypeSet myNotes
Definition: vlFedTarget.h:637
DtTimeTypeSet myTimeTypes
Definition: vlFedTarget.h:631
class DtFedTarget:
Definition: vlFedTarget.h:124
Definition: vlFedTarget.h:101
FOM component types With a few exceptions, these types are stored in sets ordered by their key subcom...
Definition: vlFedTargetTypes.h:21
bool myNonRegulatedGrant
Switches.
Definition: vlFedTarget.h:667
DtString myModelIdentification
Definition: vlFedTarget.h:629
static bool theDefaultNonRegulatedGrant
Definition: vlFedTarget.h:722
bool myMergingFomModule
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:679
DtNameToNameSetMap myUnresolvedDirectedInteractions
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:682
Definition: vlFedTarget.h:45
bool myAutomaticResignActionWasSet
Switches.
Definition: vlFedTarget.h:659
DtReliableType
Definition: vlFedTarget.h:98
void(* fptr)(void *)
Definition: vlFedTarget.h:117
DtMergeFomTableMask
Definition: vlFedTarget.h:51
Definition: vlFedTargetTypes.h:238
bool myAdvisoriesUseKnownClass
Switches.
Definition: vlFedTarget.h:654
enum DtMergeFomStatus_enum DtMergeFomStatus
DtSwitchesMap mySwitches
Definition: vlFedTarget.h:639
Definition: vlFedTargetTypes.h:377
DtTransportType
Definition: vlFedTarget.h:84
Definition: vlFedTarget.h:109
Definition: vlFedTarget.h:65
Definition: vlFedTarget.h:95
bool myServiceReporting
Switches.
Definition: vlFedTarget.h:669
Definition: vlFedTarget.h:64
Definition: vlFedTarget.h:87
DtSwitchSetterMap mySwitchSetters
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:675
Definition: vlFedTarget.h:55
Definition: vlFedTarget.h:54
static DtResignAction theDefaultAutomaticResignAction
Definition: vlFedTarget.h:714
enum DtOwnershipType_enum DtOwnershipType
DtOrderType
Definition: vlFedTarget.h:91
std::vector< DtString > DtNameVector
Definition: vlFedTarget.h:40
static const xmlChar * attrName
Definition: xmlFedTags.h:117
DtNameToNamePairSetMap myUnresolvedAttributeTransportations
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:685
static bool theDefaultAutoProvide
Definition: vlFedTarget.h:715
Definition: vlFedTargetTypes.h:658
DtFomType
Definition: vlFedTarget.h:42
Definition: vlFedTarget.h:47
bool myInteractionRelevanceAdvisory
Switches.
Definition: vlFedTarget.h:665
Definition: vlFedTarget.h:68
bool myObjectClassRelevanceAdvisory
Switches.
Definition: vlFedTarget.h:666
DtNameToNameSetMap myUnresolvedInteractionTransportations
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:686
std::pair< DtString, DtString > DtNamePair
Definition: vlFedTarget.h:32
bool myAllowRelaxedDdm
Switches.
Definition: vlFedTarget.h:655
provides basic Operating Independent Methods useful to a federate
std::map< DtString, bool > DtSwitchesMap
Definition: vlFedTarget.h:38
Definition: vlFedTargetTypes.h:285
Definition: vlFedTarget.h:53
Definition: vlFedTarget.h:71
Instances of DtString are used to represent strings.
Definition: vlString.h:38
static bool theDefaultObjectClassRelevanceAdvisory
Definition: vlFedTarget.h:721
std::map< DtString, DtSwitchGetterFunc > DtSwitchGetterMap
List of switch getters by switch name.
Definition: vlFedTarget.h:502
static bool theDefaultExceptionReporting
Definition: vlFedTarget.h:719
Definition: vlFedTargetTypes.h:102
Definition: vlFedTargetTypes.h:146
static bool theDefaultAttributeScopeAdvisory
Definition: vlFedTarget.h:713
DtNameToNamePairSetMap myUnresolvedAttributeDimensions
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:683
#define DEFINE_COMPONENT_SET_TYPEDEF(componentType)
Component type sets hold shared pointers; comparators provided to order by value of instances (not po...
Definition: vlFedTarget.h:609
Definition: vlFedTarget.h:61
Definition: vlFedTargetTypes.h:514
bool myStrictChecking
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:674
Definition: vlFedTarget.h:93
DtResignAction
Order of enumerations matches HLA 1516+ HLA 1.3 has to convert.
Definition: vlFedTarget.h:107
Definition: vlFedTarget.h:60
DtBasicDataRepresentationTypeSet myBasicDataRepTypes
Definition: vlFedTarget.h:641
std::set< std::shared_ptr< DtUpdateRateType >, FomTypeCompare< DtUpdateRateType > > DtUpdateRateSetT
Definition: vlFedTarget.h:29
bool myErrorFlag
Indicates a FOM module merge is taking place.
Definition: vlFedTarget.h:689
Definition: vlFedTarget.h:94
This file contains typedefs for machine dependant types.
Definition: vlFedTarget.h:72
Definition: vlFedTarget.h:48
static bool theDefaultSendServiceReportsToFile
Definition: vlFedTarget.h:724
#define DT_DLL_VLUTIL
Definition: vlMachineTypes.h:121
static bool theDefaultConveyRegionDesignatorSets
Definition: vlFedTarget.h:717
Definition: vlFedTarget.h:114
std::set< DtNameWithNamePair > DtNameWithNamePair_Set
Definition: vlFedTarget.h:37
Definition: vlFedTarget.h:70
Definition: vlFedTarget.h:58

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)