MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
federationSR.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright(c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: federationSR.h,v $ $Revision: 1.14 $ $State: Exp $
7 *********************************************************************/
8 #ifdef DtMOM
9 
12 #pragma once
13 
14 #include "momInspector.h"
15 #include "momSR.h"
16 
17 #include <omtReader/xmlEvolvedFileReader.h>
18 
19 
22 class DT_DLL_LRC DtMomFederationSR: public DtMomSR
23 {
24 public:
25 
27  DtMomFederationSR(DtFomClassMgr* fomPtr, DtMomInspector* servicePtr,
28  DtRtiObject* objPtr);
29 
31  virtual ~DtMomFederationSR();
32 
34  virtual void encodeAttribute(DtAhvps* vp, DtAttributeHandle attribute);
35 
36  // Called from constructor, non-virtual
37  virtual void populate();
38 
39  virtual void setFomModulesInFederation(const std::vector<MAKRti::DtString>& fomModules);
40  virtual const std::vector<MAKRti::DtString>& fomModulesInFederation() const;
41 
42  virtual void setCurrentFdd(const DtString& currentFdd);
43 
45 
46  ATTRIBUTE_DECLARATION_BY_REF(MAKRti::DtString, FederationName);
47  ATTRIBUTE_DECLARATION_BY_REF(DtMomHandleList, FederatesInFederation);
48  ATTRIBUTE_DECLARATION_BY_REF(MAKRti::DtString, RTIversion);
49  ATTRIBUTE_DECLARATION_BY_REF(MAKRti::DtString, LastSaveName);
50  ATTRIBUTE_DECLARATION_BY_REF(MAKRti::DtString, NextSaveName);
51  ATTRIBUTE_WITH_PARAM_DECLARATION(DtRtiApiTime, LastSaveTime);
52  ATTRIBUTE_WITH_PARAM_DECLARATION(DtRtiApiTime, NextSaveTime);
53 
54 #if defined(DtIFSPEC13) || defined(DtIFSPEC1516)
55  ATTRIBUTE_DECLARATION_BY_REF(MAKRti::DtString, FEDid);
56 #else
57  ATTRIBUTE_DECLARATION_BY_REF(std::vector<std::wstring>, FederationFOMmoduleDesignatorList);
58  ATTRIBUTE_DECLARATION_BY_REF(MAKRti::DtString, MIMDesignator);
59  ATTRIBUTE_DECLARATION_BY_REF(MAKRti::DtString, CurrentFDD);
60  ATTRIBUTE_DECLARATION_BY_REF(MAKRti::DtString, TimeImplementationName);
61 #endif
62 
63 #if !defined(DtIFSPEC13)
64  ATTRIBUTE_DECLARATION_BY_VALUE(bool, AutoProvideSwitch);
66 #if !defined(DtIFSPEC1516) && !defined(DtIFSPEC1516E)
67  ATTRIBUTE_DECLARATION_BY_VALUE(bool, AdvisoriesUseKnownClassSwitch);
68  ATTRIBUTE_DECLARATION_BY_VALUE(bool, DelaySubscriptionEvaluationSwitch);
69  ATTRIBUTE_DECLARATION_BY_VALUE(bool, NonRegulatedGrantSwitch);
70  ATTRIBUTE_DECLARATION_BY_VALUE(bool, AllowRelaxedDDMSwitch);
71 #endif
72 #endif
73 // Macro ends with protected:
74 public:
76 
77 protected:
78 
80  DtMomFederationSR(const DtMomFederationSR& orig);
81 
82 protected:
83  DtXMLEvolvedFileReader myFedReader;
84 
85  // This should be in the correct Merge order (including the MIM)
86  std::vector<MAKRti::DtString> myFederationFoms;
87 
88  DtString myCurrentFdd;
89 
90 };
91 #endif
RTI_API::LogicalTime DtRtiApiTime
Typedefs for RTI API types that frequently require conditional precompile directives.
Definition: rtiApiTypes.h:91
The RTI object maintains the internal RTI object state.
Definition: rtiObject.h:123
Definition: fomMgr.h:49
DtHandle DtAttributeHandle
Definition: internalTypes.h:54
Definition: aHandValSet.h:33
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)