15 #include <mtl/mtlEnvironment.h>
18 #include <vlutil/vlFilename.h>
19 #include <vlutil/vlList.h>
20 #include <vlutil/vlLogFileInfo.h>
56 #define DtDECLARE_INT_ACCESSOR_MUTATOR( varName, accessor, mutator ) \
57 int accessor() const; \
58 void mutator( int var ); \
59 mutable bool varName##Initialized; \
60 mutable IntParameterMap::const_iterator varName##mapHandle;
63 #define DtDECLARE_BOOL_ACCESSOR_MUTATOR( varName, accessor, mutator ) \
64 bool accessor() const; \
65 void mutator( bool var ); \
66 mutable bool varName##Initialized; \
67 mutable IntParameterMap::const_iterator varName##mapHandle;
70 #define DtDECLARE_FLOAT_ACCESSOR_MUTATOR( varName, accessor, mutator ) \
71 float accessor() const; \
72 void mutator( float var ); \
73 mutable bool varName##Initialized; \
74 mutable FloatParameterMap::const_iterator varName##mapHandle;
77 #define DtDECLARE_STRING_ACCESSOR_MUTATOR( varName, accessor, mutator ) \
78 MAKRti::DtString accessor() const; \
79 void mutator( const char* var ); \
80 mutable bool varName##Initialized; \
81 mutable StringParameterMap::const_iterator varName##mapHandle;
102 DtInconsistentRidDoNothing = 0,
104 DtInconsistentRidThrowException
113 DtSynchronousMode = 0,
116 DtAsynchronousCallbacks
124 DtFomTransportTypeUseFomSettings = 0,
126 DtFomTransportTypeUseReliable
136 DtLrcMinidumperLevelNotEnabled = 0,
137 DtLrcMinidumperLevelEnabled = 1,
138 DtLrcMinidumperLevelEnabledNoPrompt = 2,
139 DtLrcMinidumperLevelSilentExit = 3
148 const MAKRti::DtString& toolTip,
const MAKRti::DtString& parentLabel,
149 bool editable, MAKRti::DtString rangeString )
152 , myToolTip( toolTip )
153 , myParentLabel( parentLabel )
154 , myEditable( editable )
155 , myRangeString( rangeString )
159 const MAKRti::DtString&
label()
const {
return myLabel; }
160 const MAKRti::DtString&
name()
const {
return myName; }
161 const MAKRti::DtString&
toolTip()
const {
return myToolTip; }
162 const MAKRti::DtString&
parentLabel()
const {
return myParentLabel; }
164 const MAKRti::DtString&
rangeString()
const {
return myRangeString; }
184 const MAKRti::DtString& toolTip,
const MAKRti::DtString& parentLabel,
int value,
185 int* ref,
bool editable,
const MAKRti::DtString& rangeString )
186 :
DtRidParameter( label, name, toolTip, parentLabel, editable, rangeString )
187 , myDefaultValue( value )
213 const MAKRti::DtString& toolTip,
const MAKRti::DtString& parentLabel,
float value,
214 float* ref,
bool editable,
const MAKRti::DtString& rangeString )
215 :
DtRidParameter( label, name, toolTip, parentLabel, editable, rangeString )
216 , myDefaultValue( value )
241 const MAKRti::DtString& toolTip,
const MAKRti::DtString& parent,
242 const MAKRti::DtString& value, MAKRti::DtString* ref,
243 bool editable, MAKRti::DtString rangeString )
244 :
DtRidParameter( label, name, toolTip, parent, editable, rangeString )
245 , myDefaultValue( value )
252 const MAKRti::DtString&
defaultVal()
const {
return myDefaultValue; }
253 const MAKRti::DtString&
currVal()
const {
return *myCurrVal; }
255 void setCurrVal(
const MAKRti::DtString& val ) { *myCurrVal = val; }
293 const std::vector<MAKRti::DtString>*
const ridExpressions,
294 bool enableRtiExec );
307 virtual MAKRti::DtString compareRIDParameters(
DtRIDParameters* ridParam )
const;
312 std::map<MAKRti::DtString,int>& intMap,
313 std::map<MAKRti::DtString,float>& floatMap,
314 std::map<MAKRti::DtString,MAKRti::DtString>& stringMap )
const;
318 virtual MAKRti::DtString ridsToConsistencyCheck();
322 virtual void toLispString( MAKRti::DtString& lispString,
bool versionHeader =
false )
const;
326 virtual bool ridMapFromLispString(
const MAKRti::DtString& inputString,
327 std::map<MAKRti::DtString,int>& intMap,
328 std::map<MAKRti::DtString,float>& floatMap,
329 std::map<MAKRti::DtString,MAKRti::DtString>& stringMap )
const;
332 virtual void applySpecifiedRidParameters(
const MAKRti::DtString& expression );
344 bool isStringParameter(
const MAKRti::DtString& )
const;
347 bool isIntParameter(
const MAKRti::DtString& )
const;
350 bool isFloatParameter(
const MAKRti::DtString& )
const;
355 virtual bool getParameter(
const MAKRti::DtString& name, MAKRti::DtString& value,
356 StringParameterMap::const_iterator& iter )
const;
357 virtual bool getParameter(
const MAKRti::DtString& name, MAKRti::DtString& value )
const;
361 virtual bool getParameter(
const MAKRti::DtString& name,
int& value,
362 IntParameterMap::const_iterator& iter )
const;
363 virtual bool getParameter(
const MAKRti::DtString& name,
int& value )
const;
367 virtual bool getParameter(
const MAKRti::DtString& name,
float& value,
368 FloatParameterMap::const_iterator& iter )
const;
369 virtual bool getParameter(
const MAKRti::DtString& name,
float& value )
const;
374 bool setParameter(
const MAKRti::DtString& name,
const MAKRti::DtString& val );
378 bool setParameter(
const MAKRti::DtString& name,
int val );
382 bool setParameter(
const MAKRti::DtString& name,
float val );
385 const MAKRti::DtMtlEnvironment& mtlEnvironment()
const;
388 const MAKRti::DtFilename& ridName()
const;
391 const MAKRti::DtFilename forwarderRoutesFile()
const;
394 void setForwarderRoutesFile(
const MAKRti::DtFilename& file );
397 MAKRti::DtInetAddr destAddr()
const;
400 MAKRti::DtInetAddr udpNetworkInterfaceAddr()
const;
403 MAKRti::DtString udpNetworkInterfaceAddrString()
const;
406 void setUdpNetworkInterfaceAddr(
const MAKRti::DtString& networkIFace );
409 MAKRti::DtInetAddr tcpNetworkInterfaceAddr()
const;
412 MAKRti::DtString tcpNetworkInterfaceAddrString()
const;
415 void setTcpNetworkInterfaceAddr(
const MAKRti::DtString& networkIFace );
418 MAKRti::DtString tcpForwarderAddrString()
const;
420 void setTcpForwarderAddr(
const MAKRti::DtString& addr );
423 MAKRti::DtInetAddr tcpForwarderAddr()
const;
426 MAKRti::DtInetAddr minChannel()
const;
429 MAKRti::DtInetAddr maxChannel()
const;
432 MAKRti::DtInetAddr mcastDiscoveryAddr()
const;
440 bool buildDdmGrid(
const MAKRti::DtFilename& gridConfigFilename);
444 MAKRti::DtInetAddr DMMulticastGroupInterface( MAKRti::DtInetAddr multicastGroup )
const;
447 bool useGroupSocket()
const;
450 bool useDMFiltering()
const;
453 bool isPreconfiguredRid()
const;
456 MAKRti::DtString getRidConfigurationName()
const;
459 MAKRti::DtFilename getFullPathToRidFile()
const;
462 const std::string& getCreationFileName()
const;
465 bool isCreationFileOverriden()
const;
468 const MAKRti::DtString& getCreationLispExprs()
const;
471 MAKRti::DtFilename saveRestoreDirectoryPath();
474 int maxObjectsPerFederate()
const;
477 void setMaxObjectsPerFederate(
int val );
480 int transmitLaggardLBTS()
const;
483 void setTransmitLaggardLBTS(
int yesNo );
488 int enableBigMessage()
const;
489 int asynchronousIO()
const;
490 int asynchronousCallbacks()
const;
491 int asynchronousProcessMessage()
const;
492 MAKRti::DtString mcastDevAddrString()
const;
524 MAKRti::DtU64 fomMergeTableEnabledMask();
533 unsigned int forwarderGroupSize();
536 bool useRoutesFile()
const;
537 void setUseRoutesFile(
bool fileShouldBeUsed );
540 void clearAncillaryForwarderGroupAddrs();
546 const std::vector<DtUpdateRateSubscriptionStruct>& updateRateSubscriptions()
const;
550 void setCredentialsType(
const std::wstring& type);
551 const std::wstring& credentialsType()
const;
556 void setCredentialsData(
const void* data,
unsigned int size);
557 void setCredentialsData(
const std::vector<char>& data);
558 const std::vector<char>& credentialsData()
const;
562 void clearCredentials();
570 void fullyCompliantParameters( std::map<MAKRti::DtString,int>& parameters )
const;
573 bool isFullyCompliant()
const;
576 bool requiredComplianceParameter(
const MAKRti::DtString& parameter )
const;
579 int compliantSettingForParameter(
const MAKRti::DtString& parameter )
const;
582 void forceParametersToCompliance();
586 void saveOriginalCompliantSettings();
589 void revertComplianceParametersToOriginalSettings();
593 void sanityCheckRIDParameters();
596 void sanityCheckReliableConnRIDParameters();
601 void sanityCheckAddressFamily();
602 void sanityCheckTcpAddressFamily();
603 void sanityCheckUdpAddressFamily();
608 void printParameters();
614 static void overrideRidParameters(
const std::map<std::string,std::string>& params );
618 void applyParameterOverrides();
624 void extractRidExpressions(
const std::vector<MAKRti::DtString>& ridExpressions);
629 void applyAmbassadorCreationArguments();
632 void makeLogDirectory()
const;
638 MAKRti::DtFilename& makeApplicationLogFilePath(MAKRti::DtFilename& logFilePath,
639 MAKRti::DtString
const& fileName = theDefaultLogFileToken)
const;
653 static const DtRIDParameters* preconfiguredRid(
const MAKRti::DtString& name );
658 static int maxObjectsPerFederateLimit();
661 static int maxNumFederatesLimit();
664 static const int numBitsInObjectInstanceHandle();
667 static MAKRti::DtLogFileInfo& logFileInfo(std::string
const& appName, std::string
const& protocol,
668 std::string
const& svnRev, std::string
const& version);
679 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theObjectClassRelevanceAdvisorySwitchName, objectClassRelevanceAdvisorySwitch, setObjectClassRelevanceAdvisorySwitch )
680 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theInteractionRelevanceAdvisorySwitchName, interactionRelevanceAdvisorySwitch, setInteractionRelevanceAdvisorySwitch )
709 DtDECLARE_INT_ACCESSOR_MUTATOR( theDualTransmitFirstInteractionRegionsRidName, dualTransmitFirstInteractionRegions, setDualTransmitFirstInteractionRegions )
721 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableLRCNetworkStatisticsMonitoringRidName, lrcNetworkStatisticsMonitoringEnabled, setLrcNetworkStatisticsMonitoringEnabled )
724 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableSaveRestoreWhenUsingRtiexecRidName, enableSaveRestoreWhenUsingRtiexec, setEnableSaveRestoreWhenUsingRtiexec )
744 DtDECLARE_INT_ACCESSOR_MUTATOR( theInternalMsgReliableWhenUsingRtiexecRidName, internalMsgReliableWhenUsingRtiexec, setInternalMsgReliableWhenUsingRtiexec )
745 DtDECLARE_INT_ACCESSOR_MUTATOR( theInternalMsgSmartForwardingWhenUsingRtiexecRidName, internalMsgSmartForwardingWhenUsingRtiexec, setInternalMsgSmartForwardingWhenUsingRtiexec )
773 DtDECLARE_INT_ACCESSOR_MUTATOR( theProcessUnknownUpdatesForDiscoveryRidName, processUnknownUpdatesForDiscovery, setProcessUnknownUpdatesForDiscovery )
801 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theStrictHLA1516eAttributeOwnershipUnavailableCallbackRidName, strictHLA1516eAttributeOwnershipUnavailableCallback, setStrictHLA1516eAttributeOwnershipUnavailableCallback )
808 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theThrowExceptionCallNotAllowedFromWithinCallbackRidName, throwExceptionCallNotAllowedFromWithinCallback, setThrowExceptionCallNotAllowedFromWithinCallback )
809 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableWarningsForDisabledServicesRidName, enableWarningsForDisabledServices, setEnableWarningsForDisabledServices )
823 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theNextEventRequestAndRetractServiceEnabledRidName, nextEventRequestAndRetractServiceEnabled, setNextEventRequestAndRetractServiceEnabled )
825 DtDECLARE_INT_ACCESSOR_MUTATOR(thePeerForwarderReconnectNumberOfTriesRidName, peerForwarderReconnectNumberOfTries, setPeerForwarderReconnectNumberOfTries)
841 void registerParameters();
845 void loadLispFile( const MAKRti::DtFilename& fileName );
849 void loadLispExpressions();
852 MAKRti::DtMtlEnvironment& mtlEnvironment();
855 virtual
void accessorError( const
char* parameterName ) const;
858 virtual
void mutatorError( const
char* parameterName ) const;
869 virtual
int* createRidParameter( const MAKRti::DtString& label, const MAKRti::DtString& name, const MAKRti::DtString& toolTip,
870 const MAKRti::DtString& parent,
int defaultValue,
bool editable, const MAKRti::DtString& range );
871 virtual MAKRti::DtString* createRidParameter( const MAKRti::DtString& label, const MAKRti::DtString& name, const MAKRti::DtString& toolTip,
872 const MAKRti::DtString& parent, const MAKRti::DtString& defaultValue,
bool editable, const MAKRti::DtString& range );
873 virtual
float* createRidParameter( const MAKRti::DtString& label, const MAKRti::DtString& name, const MAKRti::DtString& toolTip,
874 const MAKRti::DtString& parent,
float defaultValue,
bool editable, const MAKRti::DtString& range );
884 void destroyAllRidParameters();
888 void destroyRidParameter( const MAKRti::DtString& name );
897 MAKRti::DtFilename findLispFile();
902 bool extractRidFileName( const MAKRti::DtString& arg );
905 void buildDmFilterList(
bool forObjectsElseInteractions );
908 void buildFomModulesList();
912 void initializeParameters(
bool forceEnableRtiExec,
913 const MAKRti::DtString& expression, const MAKRti::DtFilename& fileName );
917 void checkUseRtiExec(
bool forceEnableRtiExec );
920 void initializeFixedGrid();
923 void populateRidGroups();
926 void initializeFomTableMap();
929 void initializeDestAddrs();
932 void initializeForwarderGroups();
935 void initializeUpdateRates();
939 void verifyPortsAreUnique() const;
942 void verifyIpAddresses() const;
945 void verifyIpAddress( const MAKRti::DtString& ip, const MAKRti::DtString& name = MAKRti::DtString::nullString() ) const;
954 int RTI_maxObjectsPerFederate;
955 int RTI_transmitLaggardLBTS;
956 int RTI_enableBigMessage;
957 int RTI_asynchronousIO;
958 int RTI_asynchronousProcessMessage;
959 int RTI_asynchronousCallbacks;
960 MAKRti::DtString RTI_mcastDevAddrString;
965 MAKRti::DtMtlEnvironment* myEnv;
983 MAKRti::DtFilename myName;
986 MAKRti::DtFilename myForwarderRoutesFile;
989 bool myIsPreconfiguredRidFlag;
993 MAKRti::DtString myPreconfiguredRidName;
996 MAKRti::DtFilename myFullPathToRidFile;
1002 MAKRti::DtString myCreationLispExprs;
1005 std::
string myCreationFileName;
1006 bool myIsCreationFileOverriden;
1035 std::map<MAKRti::DtString, std::pair<
int,
int> > myFullyCompliantParameters;
1038 bool myUseRoutesFile;
1041 std::wstring myCredentialsType;
1044 std::vector<
char> myCredentials;
1046 std::map<MAKRti::DtString, MAKRti::DtMergeFomTableMask> myFomTableNameToEnum;
1047 MAKRti::DtU64 myMergeTableEnabledMask;
1051 mutable
bool theForwarderRoutesFileRidNameInitialized;
1052 mutable
bool theProcessingModelRidNameInitialized;
1053 mutable
bool theRidConsistencyCheckingRidNameInitialized;
1054 mutable
bool theMaxObjectsPerFederateRidNameInitialized;
1055 mutable
bool theTransmitLaggardLBTSRidNameInitialized;
1056 mutable
bool theTcpForwarderAddrRidNameInitialized;
1057 mutable
bool theUdpNetworkInterfaceAddrRidNameInitialized;
1058 mutable
bool theTcpNetworkInterfaceAddrRidNameInitialized;
1063 static const
int theCompliantUseRtiExec;
1064 static const
int theCompliantInternalMsgReliableWhenUsingRtiexec;
1065 static const
int theCompliantFomDataTransportTypeControl;
1066 static const
int theCompliantTimeMgmt;
1067 static const
int theCompliantDataDistMgmt;
1068 static const
int theCompliantMomServiceAvailable;
1069 static const
int theCompliantMomFederateUpdateInterval;
1070 static const
int theCompliantStrictFomChecking;
1071 static const
int theCompliantCheckFlag;
1072 static const
int theCompliantEnableHlaObjectNamePrefix;
1073 static const
int theCompliantSendDiscoveredClass;
1074 static const
int theCompliantExtend13and1516interop;
1075 static const
int theCompliantProcessUnknownUpdatesForDiscovery;
1076 static const
int theCompliantEnableNameReservation;
1077 static const
int theCompliantEnableSaveRestoreWhenUsingRtiexec;
1078 static const
int theCompliantFomModuleMerging;
1079 static const
int theCompliantFomModuleSorting;
1080 static const
int theCompliantDistributeFedFile;
1081 static const
int theCompliantPreferRidToFedSwitchTable;
1082 static const
int theCompliantEnableUpdateRateReduction;
1083 static const
int theCompliantThrowExceptionCallNotAllowedFromWithinCallback;
1084 static const
int theResignResponseEnabled;
1085 static const
int theCompliantUse32BitsForValueSize;
1086 static const
int theCompliantDualTransmitFirstInteractionRegions;
1087 static const
int theCompliantStrictHLA1516eAttributeOwnershipUnavailableCallback;
1088 static const
int theCompliantNextEventRequestAndRetractServiceEnabled;
1096 const static MAKRti::DtString theOptionalServicesGroupName;
1097 const static MAKRti::DtString theFaultToleranceGroupName;
1098 const static MAKRti::DtString theMessageThrottlingGroupName;
1099 const static MAKRti::DtString theAdvanceConnectionGroupName;
1100 const static MAKRti::DtString theHlaGroupName;
1101 const static MAKRti::DtString theDiagnosticGroupName;
1102 const static MAKRti::DtString theAssistantGroupName;
1103 const static MAKRti::DtString theBundlingGroupName;
1105 const static MAKRti::DtString theAdvancedNetworkingGroupName;
1106 const static MAKRti::DtString theAdvisoriesGroupName;
1107 const static MAKRti::DtString theAsynchGroupName;
1108 const static MAKRti::DtString theCommunicationsGroupName;
1109 const static MAKRti::DtString theDdmGroupName;
1110 const static MAKRti::DtString theFomGroupName;
1111 const static MAKRti::DtString theForwarderGroupName;
1112 const static MAKRti::DtString theLicensingGroupName;
1113 const static MAKRti::DtString theMomGroupName;
1114 const static MAKRti::DtString theMulticastDiscoveryGroupName;
1115 const static MAKRti::DtString theNameReservationGroupName;
1116 const static MAKRti::DtString theRtiSpyGroupName;
1117 const static MAKRti::DtString theSaveRestoreGroupName;
1118 const static MAKRti::DtString theServiceImplGroupName;
1119 const static MAKRti::DtString theSharedMemoryGroupName;
1127 const static MAKRti::DtString thePreferRidToFedSwitchTableName;
1128 const static MAKRti::DtString theAutoProvideSwitchName;
1129 const static MAKRti::DtString theConveyRegionDesignatorSwitchName;
1130 const static MAKRti::DtString theConveyProducingFederateSwitchName;
1131 const static MAKRti::DtString theAttributeScopeAdvisorySwitchName;
1132 const static MAKRti::DtString theAttributeRelevanceAdvisorySwitchName;
1133 const static MAKRti::DtString theObjectClassRelevanceAdvisorySwitchName;
1134 const static MAKRti::DtString theInteractionRelevanceAdvisorySwitchName;
1135 const static MAKRti::DtString theServiceReportingSwitchName;
1136 const static MAKRti::DtString theExceptionReportingSwitchName;
1137 const static MAKRti::DtString theDelaySubscriptionEvaluationSwitchName;
1139 const static MAKRti::DtString theAddressDelayRidName;
1140 const static MAKRti::DtString theAutoProvideDelayRidName;
1141 const static MAKRti::DtString theAllProvideUpdateRequestsDelayedRidName;
1142 const static MAKRti::DtString theBestEffortSendRetriesRidName;
1143 const static MAKRti::DtString theBestEffortSendRetryWaitUsecRidName;
1144 const static MAKRti::DtString theCatchFedAmbExceptionsRidName;
1145 const static MAKRti::DtString theCheckFlagRidName;
1146 const static MAKRti::DtString theConfigureConnectionWithRidRidName;
1147 const static MAKRti::DtString theConveyOnlyAvailableDimensionsRidName;
1148 const static MAKRti::DtString theCrcCheckFedFileRidName;
1149 const static MAKRti::DtString theDataDistMgmtRidName;
1150 const static MAKRti::DtString theDdmFixedGridFilenameRidName;
1151 const static MAKRti::DtString theDdmFixedGridRidName;
1152 const static MAKRti::DtString theDefaultTimeImplementationRidName;
1153 const static MAKRti::DtString theDefaultFedFileRidName;
1154 const static MAKRti::DtString theDeleteOrphansRidName;
1155 const static MAKRti::DtString theDeprecatedAsynchronousIORidName;
1156 const static MAKRti::DtString theDeprecatedEnableBigMessageRidName;
1157 const static MAKRti::DtString theDeprecatedAsynchronousProcessMessageRidName;
1158 const static MAKRti::DtString theDeprecatedAsynchronousCallbacksRidName;
1159 const static MAKRti::DtString theDestAddrStringRidName;
1160 const static MAKRti::DtString theDetachNotifyLevelFromStdOutRidName;
1161 const static MAKRti::DtString theDisableUnlicensedForTwoRidName;
1162 const static MAKRti::DtString theDiscoveryMsgBundlingDelayRidName;
1163 const static MAKRti::DtString theDistributedForwarderPortRidName;
1164 const static MAKRti::DtString theDistributedUdpForwarderModeRidName;
1165 const static MAKRti::DtString theDistributeFedFileAsynchronouslyRidName;
1166 const static MAKRti::DtString theDistributeFedFileRidName;
1167 const static MAKRti::DtString theFullFedFileDistributionName;
1168 const static MAKRti::DtString theDualTransmitFirstInteractionRegionsRidName;
1169 const static MAKRti::DtString theDumpFedRidName;
1170 const static MAKRti::DtString theDumpRidRidName;
1171 const static MAKRti::DtString theEnableBestEffortSendRetryRidName;
1172 const static MAKRti::DtString theAutomaticNameReserveEnabledRidName;
1173 const static MAKRti::DtString theEnableCheckVersionRidName;
1174 const static MAKRti::DtString theEnableFederateHeartbeatRidName;
1175 const static MAKRti::DtString theEnableFedexMsgRoutingRidName;
1176 const static MAKRti::DtString theEnableFomComponentSortingRidName;
1177 const static MAKRti::DtString theEnableHlaObjectNamePrefixRidName;
1178 const static MAKRti::DtString theEnableMessageThrottlingRidName;
1179 const static MAKRti::DtString theEnableNameReservationRidName;
1180 const static MAKRti::DtString theEnableLRCNetworkStatisticsMonitoringRidName;
1181 const static MAKRti::DtString theEnableNetworkTestingRidName;
1182 const static MAKRti::DtString theEnablePacketBundlingRidName;
1183 const static MAKRti::DtString theEnableSaveRestoreWhenUsingRtiexecRidName;
1184 const static MAKRti::DtString theEnableSharedMemoryExecEventLogRidName;
1185 const static MAKRti::DtString theEnableTcpCompressionRidName;
1186 const static MAKRti::DtString theEnableTcpSmartForwardingRidName;
1187 const static MAKRti::DtString theEnableUdpCompressionRidName;
1188 const static MAKRti::DtString theEnableUdpSmartForwardingRidName;
1189 const static MAKRti::DtString theEnableUpdateRateReductionRidName;
1190 const static MAKRti::DtString theExecMcastDiscoveryDelayRidName;
1191 const static MAKRti::DtString theExtend13and1516interopRidName;
1192 const static MAKRti::DtString theFederateHeartbeatIntervalRidName;
1193 const static MAKRti::DtString theFederateReconnectPauseRidName;
1194 const static MAKRti::DtString theFederateTimeoutIntervalRidName;
1195 const static MAKRti::DtString theFlushTimeoutIntervalRidName;
1197 const static MAKRti::DtString theFomDataTransportTypeControlRidName;
1198 const static MAKRti::DtString theFomModuleMergingRidName;
1199 const static MAKRti::DtString theFomModuleSortingRidName;
1201 const static MAKRti::DtString theForceFullComplianceRidName;
1202 const static MAKRti::DtString theForceUnlicensedForTwoRidName;
1203 const static MAKRti::DtString theForwarderRoutesFileRidName;
1204 const static MAKRti::DtString theForwardingDelayRidName;
1205 const static MAKRti::DtString theImplicitDdmParamsFileRidName;
1206 const static MAKRti::DtString theInternalMsgReliableWhenUsingRtiexecRidName;
1207 const static MAKRti::DtString theInternalMsgSmartForwardingWhenUsingRtiexecRidName;
1208 const static MAKRti::DtString theIOPeriodRidName;
1209 const static MAKRti::DtString theLogFileDirectoryName;
1210 const static MAKRti::DtString theTickWaitPeriodRidName;
1211 const static MAKRti::DtString theLogFileNameRidName;
1212 const static MAKRti::DtString theLrcMcastDiscoveryDelayRidName;
1213 const static MAKRti::DtString theMaxChannelAddrRidName;
1214 const static MAKRti::DtString theMaxForwarderQueueRidName;
1215 const static MAKRti::DtString theMaxIOCountRidName;
1216 const static MAKRti::DtString theMaxIOQueueRidName;
1217 const static MAKRti::DtString theIOQueueIndicatorRidName;
1218 const static MAKRti::DtString theMaxObjectsPerFederateRidName;
1219 const static MAKRti::DtString theMaxNumFederatesRidName;
1220 const static MAKRti::DtString theMaxUdpPacketSizeRidName;
1221 const static MAKRti::DtString theDeprecatedMcastDevAddrStringRidName;
1222 const static MAKRti::DtString theMcastDiscoveryAddrStringRidName;
1223 const static MAKRti::DtString theMcastDiscoveryEnabledRidName;
1224 const static MAKRti::DtString theMcastDiscoveryPortRidName;
1225 const static MAKRti::DtString theMcastDiscoveryTriesRidName;
1226 const static MAKRti::DtString theMcastTtlRidName;
1227 const static MAKRti::DtString theMinChannelAddrRidName;
1228 const static MAKRti::DtString theMomExceptionLoggingRidName;
1229 const static MAKRti::DtString theMomFederateUpdateIntervalRidName;
1230 const static MAKRti::DtString theMomModuleExtensionFileNameRidName;
1231 const static MAKRti::DtString theMomServiceAvailableRidName;
1232 const static MAKRti::DtString theUdpNetworkInterfaceAddrRidName;
1233 const static MAKRti::DtString theTcpNetworkInterfaceAddrRidName;
1234 const static MAKRti::DtString theNotifyLevelRidName;
1235 const static MAKRti::DtString thePacketBundlingSizeRidName;
1236 const static MAKRti::DtString theTcpPacketBundlingSizeRidName;
1237 const static MAKRti::DtString theUdpPacketBundlingSizeRidName;
1238 const static MAKRti::DtString thePreferLocalFomModulesRidName;
1239 const static MAKRti::DtString theProcessingModelRidName;
1240 const static MAKRti::DtString theProcessUnknownUpdatesForDiscoveryRidName;
1241 const static MAKRti::DtString theReceiveToleranceRidName;
1242 const static MAKRti::DtString theReconnectEnabledRidName;
1243 const static MAKRti::DtString theResignResponseEnabledRidName;
1244 const static MAKRti::DtString theResponseIntervalRidName;
1245 const static MAKRti::DtString theReuseLogFileRidName;
1246 const static MAKRti::DtString theReuseReleasedObjectHandlesRidName;
1247 const static MAKRti::DtString theRouteToAllByDefaultRidName;
1248 const static MAKRti::DtString theRidConsistencyCheckingRidName;
1249 const static MAKRti::DtString theRtiExecLogFileNameRidName;
1250 const static MAKRti::DtString theRtiExecPerformsLicensingRidName;
1251 const static MAKRti::DtString theRtiExecReconnectPauseRidName;
1252 const static MAKRti::DtString theRtiForwarderLogFileNameRidName;
1253 const static MAKRti::DtString theRtiFederationShadowLogFileNameRidName;
1254 const static MAKRti::DtString theSaveRestoreDirectoryRidName;
1255 const static MAKRti::DtString theSaveRestoreTimeoutRidName;
1256 const static MAKRti::DtString theSaveTransientMessagesRidName;
1257 const static MAKRti::DtString theSendDiscoveredClassRidName;
1258 const static MAKRti::DtString theSharedMemExecLogFileNameRidName;
1259 const static MAKRti::DtString theSharedMemoryMgrMaxWaitRidName;
1260 const static MAKRti::DtString theSharedMemoryModeRidName;
1261 const static MAKRti::DtString theSharedMemoryNameRidName;
1262 const static MAKRti::DtString theSharedMemoryQueueLengthRidName;
1263 const static MAKRti::DtString theSingleCallbackPerTickRidName;
1264 const static MAKRti::DtString theSocketReceiveBufferSizeRidName;
1265 const static MAKRti::DtString theSmartForwardingLevelRidName;
1266 const static MAKRti::DtString theSocketSendBufferSizeRidName;
1267 const static MAKRti::DtString theStrictFomCheckingRidName;
1268 const static MAKRti::DtString theStrictNameReservationRidName;
1269 const static MAKRti::DtString theStrictHLA1516eAttributeOwnershipUnavailableCallbackRidName;
1270 const static MAKRti::DtString theWaitIOPeriodForBundlingRidName;
1271 const static MAKRti::DtString theTcpBufferSizeRidName;
1272 const static MAKRti::DtString theTcpCompressionLevelRidName;
1273 const static MAKRti::DtString theTcpForwarderAddrRidName;
1274 const static MAKRti::DtString theTcpNoDelayRidName;
1275 const static MAKRti::DtString theThrowExceptionForDisabledServiceRidName;
1276 const static MAKRti::DtString theThrowExceptionOnConcurrentAccessRidName;
1277 const static MAKRti::DtString theThrowExceptionCallNotAllowedFromWithinCallbackRidName;
1278 const static MAKRti::DtString theEnableWarningsForDisabledServicesRidName;
1279 const static MAKRti::DtString theTickFavorsNetworkRidName;
1280 const static MAKRti::DtString theTimeMgmtRidName;
1281 const static MAKRti::DtString theTransmitDelayRidName;
1282 const static MAKRti::DtString theTransmitLaggardLBTSRidName;
1283 const static MAKRti::DtString theTransmitRateRidName;
1284 const static MAKRti::DtString theUdpCompressionLevelRidName;
1285 const static MAKRti::DtString theUdpPortRidName;
1286 const static MAKRti::DtString theTcpPortRidName;
1287 const static MAKRti::DtString theUse32BitsForValueSizeRidName;
1288 const static MAKRti::DtString theUseBusyWaitForTickMinMaxRidName;
1289 const static MAKRti::DtString theUseRandomNumberForFedHandleRidName;
1290 const static MAKRti::DtString theUseRtiExecRidName;
1291 const static MAKRti::DtString theMomVerboseLevelRidName;
1292 const static MAKRti::DtString theNextEventRequestAndRetractServiceEnabledRidName;
1293 const static MAKRti::DtString theTestConnectionThresholdRidName;
1294 const static MAKRti::DtString thePeerForwarderReconnectNumberOfTriesRidName;
1295 const static MAKRti::DtString thePeerForwarderReconnectDelayRidName;
1296 const static MAKRti::DtString theLrcMinidumperLevelRidName;
1297 const static MAKRti::DtString theMomEvokeCallbackObserverEnabledRidName;
1298 const static MAKRti::DtString theProfilingEnabledRidName;
1299 const static MAKRti::DtString theFederationShadowEnabledRidName;
1300 const static MAKRti::DtString thePlainTextPasswordRidName;
1301 const static MAKRti::DtString theAuthorizerNameRidName;
1307 const static MAKRti::DtString theDefaultIpv4DestAddr;
1308 const static MAKRti::DtString theDefaultIpv6DestAddr;
1315 const static MAKRti::DtString theDefaultIpv4MinChannelAddr;
1316 const static MAKRti::DtString theDefaultIpv4MaxChannelAddr;
1317 const static MAKRti::DtString theDefaultIpv6MinChannelAddr;
1318 const static MAKRti::DtString theDefaultIpv6MaxChannelAddr;
1319 const static MAKRti::DtString theUseTheDefaultChannelAddrStr;
1324 const static
int theMaxObjectsPerFederateLimit;
1327 const static
int theMaxNumFederatesLimit;
1332 static ParameterOverridesMap theOverrideParameters;
int currVal() const
Definition: RIDparams.h:194
float * myCurrVal
Definition: RIDparams.h:231
const long DtGlobalSpaceHandle
Definition: RIDparams.h:29
bool inclusive
Definition: RIDparams.h:49
MAKRti::DtString myRangeString
Definition: RIDparams.h:173
MAKRti::DtInetAddr address
Definition: RIDparams.h:39
DtRidParameter(const MAKRti::DtString &label, const MAKRti::DtString &name, const MAKRti::DtString &toolTip, const MAKRti::DtString &parentLabel, bool editable, MAKRti::DtString rangeString)
Definition: RIDparams.h:147
DtStringRidParameter(const MAKRti::DtString &label, const MAKRti::DtString &name, const MAKRti::DtString &toolTip, const MAKRti::DtString &parent, const MAKRti::DtString &value, MAKRti::DtString *ref, bool editable, MAKRti::DtString rangeString)
Definition: RIDparams.h:240
const MAKRti::DtString & currVal() const
Definition: RIDparams.h:253
DtFixedGridConfiguration loads and processes a DDM fixed grid configuration file. ...
Definition: fixedGridConfiguration.h:27
DtAsynchronousIOModeEnum
0 == no Async IO 1 == Asynchronous IO, (same as old parameter RTI_asynchronousIO ) 2 == Asynchronous ...
Definition: RIDparams.h:111
MAKRti::DtString myParentLabel
Definition: RIDparams.h:171
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
MAKRti::DtString myToolTip
Definition: RIDparams.h:170
Definition: RIDparams.h:103
int defaultVal() const
Definition: RIDparams.h:197
std::map< MAKRti::DtString, DtFloatRidParameter > FloatParameterMap
Definition: RIDparams.h:278
MAKRti::DtString * myCurrVal
Definition: RIDparams.h:260
void setCurrVal(const MAKRti::DtString &val)
Definition: RIDparams.h:255
const MAKRti::DtString & name() const
Definition: RIDparams.h:160
void destroyStoredVar()
Definition: RIDparams.h:196
std::map< MAKRti::DtString, MAKRti::DtString > ParameterOverridesMap
Overridden RID parameters.
Definition: RIDparams.h:1331
DtRidFileSearchStatus
Status of RID file search.
Definition: RIDparams.h:265
float currVal() const
Definition: RIDparams.h:223
bool inclusive
Definition: RIDparams.h:41
std::map< MAKRti::DtString, DtStringRidParameter > StringParameterMap
Definition: RIDparams.h:279
const MAKRti::DtString & rangeString() const
Definition: RIDparams.h:164
~DtIntRidParameter()
Definition: RIDparams.h:192
void setCurrVal(int val)
Definition: RIDparams.h:195
Update rate subscription information.
Definition: RIDparams.h:45
Definition: RIDparams.h:114
DtFomDataTransportTypeControlEnum
0 == ( Default ) FOM data is sent either best effort or reliable based on FOM settings.
Definition: RIDparams.h:122
int myDefaultValue
Definition: RIDparams.h:201
bool isEditable() const
Definition: RIDparams.h:163
#define DtDECLARE_STRING_ACCESSOR_MUTATOR(varName, accessor, mutator)
Declare a string accessor & mutator.
Definition: RIDparams.h:77
MAKRti::DtString className
Definition: RIDparams.h:47
std::map< MAKRti::DtString, DtIntRidParameter > IntParameterMap
Definition: RIDparams.h:277
const MAKRti::DtString & parentLabel() const
Definition: RIDparams.h:162
Generic Rid information.
Definition: RIDparams.h:143
#define DtDECLARE_INT_ACCESSOR_MUTATOR(varName, accessor, mutator)
Declare an integer accessor & mutator.
Definition: RIDparams.h:56
const long DtDefaultPasRegionSetHandle
Definition: RIDparams.h:32
const MAKRti::DtString & label() const
Definition: RIDparams.h:159
DtFloatRidParameter(const MAKRti::DtString &label, const MAKRti::DtString &name, const MAKRti::DtString &toolTip, const MAKRti::DtString &parentLabel, float value, float *ref, bool editable, const MAKRti::DtString &rangeString)
Definition: RIDparams.h:212
DtIntRidParameter(const MAKRti::DtString &label, const MAKRti::DtString &name, const MAKRti::DtString &toolTip, const MAKRti::DtString &parentLabel, int value, int *ref, bool editable, const MAKRti::DtString &rangeString)
Definition: RIDparams.h:183
Int based Rid parameter.
Definition: RIDparams.h:179
static const std::string theDefaultLogFileToken
Definition: RIDparams.h:281
Definition: RIDparams.h:125
std::vector< DtDMFilterStruct > DtDMFilterList
Definition: RIDparams.h:91
std::map< MAKRti::DtString, float > DtUpdateNameRateMap
Map from update rate name to its value.
Definition: RIDparams.h:53
MAKRti::DtInetAddr devAddress
Definition: RIDparams.h:40
MAKRti::DtString myLabel
Definition: RIDparams.h:168
Definition: RIDparams.h:269
Definition: RIDparams.h:270
~DtFloatRidParameter()
Definition: RIDparams.h:221
const MAKRti::DtString & toolTip() const
Definition: RIDparams.h:161
#define DtDECLARE_FLOAT_ACCESSOR_MUTATOR(varName, accessor, mutator)
Declare a float accessor & mutator.
Definition: RIDparams.h:70
std::vector< MAKRti::DtInetAddr > DtInetAddrList
Definition: RIDparams.h:93
#define DtDECLARE_BOOL_ACCESSOR_MUTATOR(varName, accessor, mutator)
Declare a bool accessor & mutator.
Definition: RIDparams.h:63
void destroyStoredVar()
Definition: RIDparams.h:225
Definition: RIDparams.h:268
Definition: RIDparams.h:271
Declaration management multicast filter information.
Definition: RIDparams.h:36
void destroyStoredVar()
Definition: RIDparams.h:254
DtLrcMinidumperLevelEnum
0 == ( Default ) Minidumper is not enabled 1 == Minidumper will prompt the user to generate a ...
Definition: RIDparams.h:134
String based Rid parameter.
Definition: RIDparams.h:237
Float based Rid parameter.
Definition: RIDparams.h:208
void setCurrVal(float val)
Definition: RIDparams.h:224
DtInconsistentRidReaction
0 == no RID consistency checking.
Definition: RIDparams.h:100
const long DtDefaultSpaceHandle
Configuration defaults.
Definition: RIDparams.h:28
const MAKRti::DtString & defaultVal() const
Definition: RIDparams.h:252
MAKRti::DtString rateName
Definition: RIDparams.h:48
bool myEditable
Definition: RIDparams.h:172
Definition: RIDparams.h:272
MAKRti::DtString className
Definition: RIDparams.h:38
int * myCurrVal
Definition: RIDparams.h:202
MAKRti::DtString myDefaultValue
Definition: RIDparams.h:259
#define DT_DLL_RTIUTIL
Definition: rtiMsConfig.h:160
const long DtDefaultRegionSetHandle
Definition: RIDparams.h:31
float defaultVal() const
Definition: RIDparams.h:226
~DtStringRidParameter()
Definition: RIDparams.h:250
Definition: RIDparams.h:115
std::map< MAKRti::DtString, DtRIDParameters > PreconfiguredRidMap
Returns a const reference to the map of preconfigured RIDs.
Definition: RIDparams.h:645
const long DtDefaultRegionHandle
Definition: RIDparams.h:30
float myDefaultValue
Definition: RIDparams.h:230
std::vector< MAKRti::DtString > DtStringList
Definition: RIDparams.h:92
std::set< DtInetAddrAndPort > DtInetAddrAndPortSet
Definition: RIDparams.h:95
Definition: RIDparams.h:273
MAKRti::DtString myName
Definition: RIDparams.h:169