![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1998 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: RIDparams.h,v $ $Revision: 1.52 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef RID_PARAMS_H_ 00013 #define RID_PARAMS_H_ 00014 00015 #include "rtiMsConfig.h" 00016 #include <mtl/mtl.h> 00017 #include <mtl/lispEnv.h> 00018 #include <vlutil/vlList.h> 00019 #include <vlutil/vlFilename.h> 00020 #include "rtiUtil.h" 00021 #include <map> 00022 #include <vector> 00023 00024 00025 //Forward declarations 00026 class DtFixedGridConfiguration; 00027 00029 const long DtDefaultSpaceHandle = 0; 00030 const long DtGlobalSpaceHandle = 1; 00031 const long DtDefaultRegionHandle = 0; 00032 const long DtDefaultRegionSetHandle = 0; 00033 const long DtDefaultPasRegionSetHandle = 1; 00034 00035 00037 struct DtDMFilterStruct 00038 { 00039 MAKRti::DtString className; 00040 MAKRti::DtInetAddr address; 00041 MAKRti::DtInetAddr devAddress; 00042 bool inclusive; 00043 }; 00044 00046 struct DtUpdateRateSubscriptionStruct 00047 { 00048 MAKRti::DtString className; 00049 MAKRti::DtString rateName; 00050 bool inclusive; 00051 }; 00052 00054 typedef std::map<MAKRti::DtString, float> DtUpdateNameRateMap; 00055 00057 #define DtDECLARE_INT_ACCESSOR_MUTATOR(varName, accessor, mutator) \ 00058 int accessor() const; \ 00059 void mutator(int var ); \ 00060 mutable bool varName##Initialized; \ 00061 mutable std::map<MAKRti::DtString, DtIntRidParameter>::const_iterator varName##mapHandle; 00062 00064 #define DtDECLARE_BOOL_ACCESSOR_MUTATOR(varName, accessor, mutator) \ 00065 bool accessor() const; \ 00066 void mutator(bool var ); \ 00067 mutable bool varName##Initialized; \ 00068 mutable std::map<MAKRti::DtString, DtIntRidParameter>::const_iterator varName##mapHandle; 00069 00071 #define DtDECLARE_FLOAT_ACCESSOR_MUTATOR(varName, accessor, mutator) \ 00072 float accessor() const; \ 00073 void mutator(float var ); \ 00074 mutable bool varName##Initialized; \ 00075 mutable std::map<MAKRti::DtString, DtFloatRidParameter>::const_iterator varName##mapHandle; 00076 00078 #define DtDECLARE_STRING_ACCESSOR_MUTATOR(varName, accessor, mutator) \ 00079 MAKRti::DtString accessor() const; \ 00080 void mutator( const char* var ); \ 00081 mutable bool varName##Initialized; \ 00082 mutable std::map<MAKRti::DtString, DtStringRidParameter>::const_iterator varName##mapHandle; 00083 00084 00085 00088 class DT_DLL_RTIUTIL DtRIDParameters 00089 { 00090 public: 00091 00092 typedef std::vector< DtDMFilterStruct > DtDMFilterList; 00093 typedef std::vector< MAKRti::DtString > DtStringList; 00094 typedef std::vector< MAKRti::DtInetAddr > DtInetAddrList; 00095 typedef std::set< DtInetAddrAndPort > DtInetAddrAndPortSet; 00096 00100 enum DtInconsistentRidReaction { 00101 DtInconsistentRidDoNothing = 0, 00102 DtInconsistentRidAutoCorrect, 00103 DtInconsistentRidThrowException 00104 }; 00105 00110 enum DtAsynchronousIOModeEnum { 00111 DtSynchronousMode = 0, 00112 DtAsynchronousMode, 00113 DtAsynchronousProcessMessage, 00114 DtAsynchronousCallbacks 00115 }; 00116 00118 // (default, forced setting when using forceFullCompliance is enabled) 00121 enum DtFomDataTransportTypeControlEnum { 00122 DtFomTransportTypeUseFomSettings = 0, 00123 DtFomTransportTypeUseBestEffort, 00124 DtFomTransportTypeUseReliable 00125 }; 00126 00128 class DtRidParameter 00129 { 00130 public: 00131 DtRidParameter(MAKRti::DtString label, MAKRti::DtString name, MAKRti::DtString toolTip, MAKRti::DtString parentLabel, bool editable, MAKRti::DtString rangeString ) : 00132 myLabel(label), 00133 myName(name), 00134 myToolTip(toolTip), 00135 myParentLabel(parentLabel), 00136 myEditable(editable), 00137 myRangeString(rangeString) 00138 {} 00139 00140 MAKRti::DtString label() const { return myLabel; } 00141 MAKRti::DtString name() const { return myName; } 00142 MAKRti::DtString toolTip() const { return myToolTip; } 00143 MAKRti::DtString parentLabel() const { return myParentLabel; } 00144 bool isEditable() const { return myEditable; } 00145 MAKRti::DtString rangeString() const { return myRangeString ; } 00146 00147 private: 00148 MAKRti::DtString myLabel; 00149 MAKRti::DtString myName; 00150 MAKRti::DtString myToolTip; 00151 MAKRti::DtString myParentLabel; 00152 bool myEditable; 00153 MAKRti::DtString myRangeString; 00154 }; 00155 00156 00158 class DtIntRidParameter : public DtRidParameter 00159 { 00160 public: 00161 DtIntRidParameter(MAKRti::DtString label, MAKRti::DtString name, MAKRti::DtString toolTip, MAKRti::DtString parentLabel, int value, int* ref, bool editable, MAKRti::DtString rangeString ): 00162 DtRidParameter(label, name, toolTip, parentLabel, editable, rangeString ), 00163 myDefaultValue(value), 00164 myCurrVal(ref) 00165 {}; 00166 ~DtIntRidParameter(){ } 00167 int currVal() const { return *myCurrVal; } 00168 void setCurrVal( int val ) { *myCurrVal = val; } 00169 void destroyStoredVar() { delete myCurrVal; } 00170 int defaultVal() const { return myDefaultValue; } 00171 private: 00172 int myDefaultValue; 00173 int* myCurrVal; 00174 }; 00175 00177 class DtFloatRidParameter : public DtRidParameter 00178 { 00179 public: 00180 DtFloatRidParameter(MAKRti::DtString label, MAKRti::DtString name, MAKRti::DtString toolTip, MAKRti::DtString parentLabel, float value, float* ref, bool editable, MAKRti::DtString rangeString ): 00181 DtRidParameter(label, name, toolTip, parentLabel, editable, rangeString ), 00182 myDefaultValue(value), 00183 myCurrVal(ref) 00184 {}; 00185 ~DtFloatRidParameter(){ } 00186 float currVal() const { return *myCurrVal; } 00187 void setCurrVal( float val ) { *myCurrVal = val; } 00188 void destroyStoredVar() { delete myCurrVal; } 00189 float defaultVal() const { return myDefaultValue; } 00190 private: 00191 float myDefaultValue; 00192 float* myCurrVal; 00193 }; 00194 00196 class DtStringRidParameter : public DtRidParameter 00197 { 00198 public: 00199 DtStringRidParameter(MAKRti::DtString label, MAKRti::DtString name, MAKRti::DtString toolTip, MAKRti::DtString parent, MAKRti::DtString value, MAKRti::DtString* ref, bool editable, MAKRti::DtString rangeString ): 00200 DtRidParameter(label, name, toolTip, parent, editable, rangeString ), 00201 myDefaultValue(value), 00202 myCurrVal(ref) 00203 {}; 00204 ~DtStringRidParameter(){ } 00205 MAKRti::DtString defaultVal() const {return myDefaultValue; } 00206 MAKRti::DtString currVal() const { return *myCurrVal; } 00207 void destroyStoredVar() { delete myCurrVal; } 00208 void setCurrVal( MAKRti::DtString val ) { *myCurrVal = val; } 00209 private: 00210 MAKRti::DtString myDefaultValue; 00211 MAKRti::DtString* myCurrVal; 00212 }; 00213 00215 enum DtRidFileSearchStatus { 00216 DtUnInitialized = 0, 00217 DtRidFileFound, 00218 DtCreationArgRidFileNotFound, 00219 DtRtiRidFileAndRtiConfigFileNotFound, 00220 DtRtiRidFileFileNotFound, 00221 DtRtiConfigFileNotFound, 00222 DtBadRelativePath, 00223 DtNoRidFileSpecified 00224 }; 00225 00226 public: 00227 00229 DtRIDParameters(int highestNotifyLevelDuringInitialization = MAKRti::DtNlFatal, 00230 const std::vector<MAKRti::DtString>* const ridExpressions = NULL, 00231 bool enableRtiExec = false ); 00232 DtRIDParameters(const MAKRti::DtString& expression); 00233 DtRIDParameters(const DtRIDParameters& orig); 00234 00236 virtual ~DtRIDParameters(); 00237 00240 virtual MAKRti::DtString compareRIDParameters(DtRIDParameters* ridParam) const; 00241 00244 virtual void compareRIDParameters(DtRIDParameters* ridParam, 00245 std::map<MAKRti::DtString, int>& intMap, 00246 std::map<MAKRti::DtString, float>& floatMap, 00247 std::map<MAKRti::DtString, MAKRti::DtString>& stringMap) const; 00248 00251 virtual MAKRti::DtString ridsToConsistencyCheck(); 00252 00254 virtual void toLispString( MAKRti::DtString& lispString ); 00255 00258 virtual bool ridMapFromLispString(const MAKRti::DtString& inputString, 00259 std::map<MAKRti::DtString, int>& intMap, 00260 std::map<MAKRti::DtString, float>& floatMap, 00261 std::map<MAKRti::DtString, MAKRti::DtString>& stringMap ) const; 00262 00264 virtual void applySpecifiedRidParameters(const MAKRti::DtString& expression ); 00265 00267 const std::map<MAKRti::DtString, DtStringRidParameter>& stringRidParameters() const; 00268 00270 const std::map<MAKRti::DtString, DtIntRidParameter>& intRidParameters() const; 00271 00273 const std::map<MAKRti::DtString, DtFloatRidParameter>& floatRidParameters() const; 00274 00276 bool isStringParameter( const MAKRti::DtString& ) const; 00277 00279 bool isIntParameter( const MAKRti::DtString& ) const; 00280 00282 bool isFloatParameter( const MAKRti::DtString& ) const; 00283 00284 00287 virtual bool getParameter( const MAKRti::DtString& name, MAKRti::DtString& value, 00288 std::map<MAKRti::DtString, DtStringRidParameter>::const_iterator& iter ) const; 00289 virtual bool getParameter( const MAKRti::DtString& name, MAKRti::DtString& value ) const; 00290 00293 virtual bool getParameter( const MAKRti::DtString& name, int& value, 00294 std::map<MAKRti::DtString, DtIntRidParameter>::const_iterator& iter ) const; 00295 virtual bool getParameter( const MAKRti::DtString& name, int& value ) const; 00296 00299 virtual bool getParameter( const MAKRti::DtString& name, float& value, 00300 std::map<MAKRti::DtString, DtFloatRidParameter>::const_iterator& iter ) const; 00301 virtual bool getParameter( const MAKRti::DtString& name, float& value ) const; 00302 00303 00304 00307 bool setParameter( const MAKRti::DtString& name, const MAKRti::DtString& val ); 00308 00311 bool setParameter( const MAKRti::DtString& name, int val ); 00312 00315 bool setParameter( const MAKRti::DtString& name, float val ); 00316 00318 const MAKRti::DtMtlEnvironment& mtlEnvironment() const; 00319 00321 const MAKRti::DtFilename& ridName() const; 00322 00324 const MAKRti::DtFilename forwarderRoutesFile() const; 00325 00327 void setForwarderRoutesFile( MAKRti::DtFilename file ); 00328 00330 MAKRti::DtInetAddr destAddr() const; 00331 00333 MAKRti::DtInetAddr networkInterfaceAddr() const; 00334 00336 MAKRti::DtString networkInterfaceAddrString() const; 00338 void setNetworkInterfaceAddr(const MAKRti::DtString& networkIFace); 00339 00341 MAKRti::DtString tcpForwarderAddrString() const; 00343 void setTcpForwarderAddr(const MAKRti::DtString& addr); 00344 00346 MAKRti::DtInetAddr tcpForwarderAddr() const; 00347 00349 MAKRti::DtInetAddr minChannel() const; 00350 00352 MAKRti::DtInetAddr maxChannel() const; 00353 00355 MAKRti::DtInetAddr mcastDiscoveryAddr() const; 00356 00359 DtFixedGridConfiguration* fixedGridConfiguration() const; 00360 00363 MAKRti::DtInetAddr DMMulticastGroupInterface( MAKRti::DtInetAddr multicastGroup ) const; 00364 00366 bool useGroupSocket() const; 00367 00369 bool useDMFiltering() const; 00370 00372 MAKRti::DtFilename getFullPathToRidFile() const; 00373 00375 const std::string& getCreationFileName() const; 00376 00378 const MAKRti::DtString& getCreationLispExprs() const; 00379 00381 MAKRti::DtFilename saveRestoreDirectoryPath(); 00382 00384 int maxObjectsPerFederate() const; 00385 00387 void setMaxObjectsPerFederate( int val ); 00388 00390 int transmitLaggardLBTS() const; 00391 00393 void setTransmitLaggardLBTS(int yesNo); 00394 00396 00397 00398 int enableBigMessage() const; 00399 int asynchronousIO() const; 00400 int asynchronousCallbacks() const; 00401 int asynchronousProcessMessage() const; 00402 MAKRti::DtString mcastDevAddrString() const; 00404 00409 DtInconsistentRidReaction ridConsistencyChecking() const; 00410 00412 void setRidConsistencyChecking(DtInconsistentRidReaction value); 00413 00415 DtAsynchronousIOModeEnum processingModel() const; 00416 00418 void setProcessingModel(DtAsynchronousIOModeEnum value ); 00419 00421 const DtDMFilterList& objectMulticastDefinitions() const; 00422 00424 const DtDMFilterList& interactionMulticastDefinitions() const; 00425 00427 const DtStringList& pluginNames() const; 00428 00430 const DtStringList& createFomModules() const; 00431 00433 const DtStringList& joinFomModules() const; 00434 00436 const DtInetAddrList& destinationAddrs() const; 00437 00439 const DtInetAddrAndPortSet& forwarderGroupAddrs() const; 00440 00442 unsigned int forwarderGroupSize(); 00443 00445 bool useRoutesFile() const; 00446 void setUseRoutesFile(bool fileShouldBeUsed); 00447 00449 void clearAncillaryForwarderGroupAddrs(); 00450 00452 DtUpdateNameRateMap const& updateRates() const; 00453 00455 const std::vector<DtUpdateRateSubscriptionStruct>& updateRateSubscriptions() const; 00456 00460 void fullyCompliantParameters(std::map<MAKRti::DtString, int>& parameters ) const; 00461 00463 bool isFullyCompliant() const; 00464 00466 bool requiredComplianceParameter(const MAKRti::DtString& parameter) const; 00467 00469 int compliantSettingForParameter(const MAKRti::DtString& parameter) const; 00470 00472 void forceParametersToCompliance(); 00473 00476 void saveOriginalCompliantSettings(); 00477 00479 void revertComplianceParametersToOriginalSettings(); 00480 00483 void sanityCheckRIDParameters(); 00484 00486 void sanityCheckReliableConnRIDParameters(); 00487 00489 00490 void sanityCheckAddressFamily(); 00491 void sanityCheckTcpAddressFamily(); 00492 void sanityCheckUdpAddressFamily(); 00494 00496 void printParameters(); 00497 00499 MAKRti::DtString resolveAbsoluteFileLocation(MAKRti::DtString path, MAKRti::DtString fileName); 00500 00504 static void overrideRidParameters( const std::map<std::string, std::string>& params ); 00505 00507 00508 DtDECLARE_BOOL_ACCESSOR_MUTATOR( thePreferRidToFedSwitchTableName, preferRidToFedSwitchTable, setPreferRidToFedSwitchTable ) 00509 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theAutoProvideSwitchName, autoProvideSwitch, setAutoProvideSwitch ) 00510 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theConveyRegionDesignatorSwitchName, conveyRegionDesignatorSwitch, setConveyRegionDesignatorSwitch ) 00511 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theConveyProducingFederateSwitchName, conveyProducingFederateSwitch, setConveyProducingFederateSwitch ) 00512 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theAttributeScopeAdvisorySwitchName, attributeScopeAdvisorySwitch, setAttributeScopeAdvisorySwitch ) 00513 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theAttributeRelevanceAdvisorySwitchName, attributeRelevanceAdvisorySwitch, setAttributeRelevanceAdvisorySwitch ) 00514 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theObjectClassRelevanceAdvisorySwitchName, objectClassRelevanceAdvisorySwitch, setObjectClassRelevanceAdvisorySwitch ) 00515 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theInteractionRelevanceAdvisorySwitchName, interactionRelevanceAdvisorySwitch, setInteractionRelevanceAdvisorySwitch ) 00516 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theServiceReportingSwitchName, serviceReportingSwitch, setServiceReportingSwitch ) 00517 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theExceptionReportingSwitchName, exceptionReportingSwitch, setExceptionReportingSwitch ) 00518 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theDelaySubscriptionEvaluationSwitchName, delaySubscriptionEvaluationSwitch, setDelaySubscriptionEvaluationSwitch ) 00519 00520 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theAddressDelayRidName, addressDelay, setAddressDelay) 00521 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theAutoProvideDelayRidName, autoProvideDelay, setAutoProvideDelay) 00522 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theAllProvideUpdateRequestsDelayedRidName, allProvideUpdateRequestsDelayed, setAllProvideUpdateRequestsDelayed ) 00523 DtDECLARE_INT_ACCESSOR_MUTATOR( theBestEffortSendRetriesRidName, bestEffortSendRetries, setBestEffortSendRetries) 00524 DtDECLARE_INT_ACCESSOR_MUTATOR( theBestEffortSendRetryWaitUsecRidName, bestEffortSendRetryWaitUsec, setBestEffortSendRetryWaitUsec) 00525 DtDECLARE_INT_ACCESSOR_MUTATOR( theCatchFedAmbExceptionsRidName, catchFedAmbExceptions, setCatchFedAmbExceptions) 00526 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theCheckFlagRidName, errorChecking, setErrorChecking) 00527 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theConnectionTestIntervalRidName, connectionTestInterval, setConnectionTestInterval) 00528 DtDECLARE_INT_ACCESSOR_MUTATOR( theConveyOnlyAvailableDimensionsRidName, conveyOnlyAvailableDimensions, setConveyOnlyAvailableDimensions) 00529 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theCrcCheckFedFileRidName, crcCheckFedFile, setCrcCheckFedFile) 00530 DtDECLARE_INT_ACCESSOR_MUTATOR( theDataDistMgmtRidName, dataDistMgmt, setDataDistMgmt) 00531 DtDECLARE_STRING_ACCESSOR_MUTATOR( theDdmFixedGridFilenameRidName, ddmFixedGridFilename, setDdmFixedGridFilename) 00532 DtDECLARE_INT_ACCESSOR_MUTATOR( theDdmFixedGridRidName, ddmFixedGrid, setDdmFixedGrid) 00533 DtDECLARE_STRING_ACCESSOR_MUTATOR( theDefaultTimeImplementationRidName, defaultTimeImplementation, setDefaultTimeImplementation) 00534 DtDECLARE_STRING_ACCESSOR_MUTATOR( theDefaultFedFileRidName, defaultFedFile, setDefaultFedFile) 00535 DtDECLARE_INT_ACCESSOR_MUTATOR( theDeleteOrphansRidName, deleteOrphans, setDeleteOrphans) 00536 DtDECLARE_STRING_ACCESSOR_MUTATOR( theDestAddrStringRidName, destAddrString, setDestAddrString) 00537 DtDECLARE_INT_ACCESSOR_MUTATOR( theDetachNotifyLevelFromStdOutRidName, detachNotifyLevelFromStdOut, setDetachNotifyLevelFromStdOut) 00538 DtDECLARE_INT_ACCESSOR_MUTATOR( theDisableUnlicensedForTwoRidName, disableUnlicensedForTwo, setDisableUnlicensedForTwo) 00539 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theDiscoveryMsgBundlingDelayRidName, discoveryMsgBundlingDelay, setDiscoveryMsgBundlingDelay) 00540 DtDECLARE_INT_ACCESSOR_MUTATOR( theDistributedForwarderPortRidName, distributedForwarderPort, setDistributedForwarderPort) 00541 DtDECLARE_INT_ACCESSOR_MUTATOR( theDistributedUdpForwarderModeRidName, distributedUdpForwarderMode, setDistributedUdpForwarderMode) 00542 DtDECLARE_INT_ACCESSOR_MUTATOR( theDistributeFedFileAsynchronouslyRidName, distributeFedFileAsynchronously, setDistributeFedFileAsynchronously) 00543 DtDECLARE_INT_ACCESSOR_MUTATOR( theDistributeFedFileRidName, distributeFedFile, setDistributeFedFile) 00544 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theFullFedFileDistributionName, fullFedFileDistribution, setFullFedFileDistribution) 00545 DtDECLARE_INT_ACCESSOR_MUTATOR( theDualTransmitFirstInteractionRegionsRidName, dualTransmitFirstInteractionRegions, setDualTransmitFirstInteractionRegions) 00546 DtDECLARE_INT_ACCESSOR_MUTATOR( theDumpFedRidName, dumpFed, setDumpFed) 00547 DtDECLARE_INT_ACCESSOR_MUTATOR( theDumpRidRidName, dumpRid, setDumpRid) 00548 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableBestEffortSendRetryRidName, enableBestEffortSendRetry, setEnableBestEffortSendRetry) 00549 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableCheckVersionRidName, enableCheckVersion, setEnableCheckVersion) 00550 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableFederateHeartbeatRidName, enableFederateHeartbeat, setEnableFederateHeartbeat) 00551 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableFedexMsgRoutingRidName, enableFedexMsgRouting, setEnableFedexMsgRouting) 00552 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableFomBackwardsCompatibilityRidName, enableFomBackwardsCompatibility, setEnableFomBackwardsCompatibility) 00553 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableHlaObjectNamePrefixRidName, enableHlaObjectNamePrefix, setEnableHlaObjectNamePrefix) 00554 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableLrcWebserviceEventLogRidName, enableLrcWebserviceEventLog, setEnableLrcWebserviceEventLog) 00555 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableLrcWebserviceRidName, enableLrcWebservice, setEnableLrcWebservice) 00556 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableMessageThrottlingRidName, enableMessageThrottling, setEnableMessageThrottling) 00557 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableNameReservationRidName, enableNameReservation, setEnableNameReservation) 00558 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableNetworkMonitoringRidName, networkMonitoringEnabled, setNetworkMonitoringEnabled) 00559 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableNetworkTestingRidName, enableNetworkTesting, setEnableNetworkTesting) 00560 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnablePacketBundlingRidName, enablePacketBundling, setEnablePacketBundling) 00561 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableRtiexecWebserviceRidName, enableRtiexecWebservice, setEnableRtiexecWebservice) 00562 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableSaveRestoreWhenUsingRtiexecRidName, enableSaveRestoreWhenUsingRtiexec, setEnableSaveRestoreWhenUsingRtiexec) 00563 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableSharedMemoryExecEventLogRidName, enableSharedMemoryExecEventLog, setEnableSharedMemoryExecEventLog) 00564 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableTcpCompressionRidName, isTcpCompressionEnabled, setTcpCompressionEnabled) 00565 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableTcpSmartForwardingRidName, isTcpSmartForwardingEnabled, setTcpSmartForwardingEnabled) 00566 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableUdpCompressionRidName, isUdpCompressionEnabled, setUdpCompressionEnabled) 00567 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableUdpSmartForwardingRidName, isUdpSmartForwardingEnabled, setUdpSmartForwardingEnabled) 00568 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableUpdateRateReductionRidName, enableUpdateRateReduction, setEnableUpdateRateReduction) 00569 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theExecMcastDiscoveryDelayRidName, execMcastDiscoveryDelay, setExecMcastDiscoveryDelay) 00570 DtDECLARE_INT_ACCESSOR_MUTATOR( theExtend13and1516interopRidName, extend13and1516interop, setExtend13and1516interop) 00571 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theFederateHeartbeatIntervalRidName, federateHeartbeatInterval, setFederateHeartbeatInterval) 00572 DtDECLARE_INT_ACCESSOR_MUTATOR( theFederateReconnectPauseRidName, federateReconnectPause, setFederateReconnectPause) 00573 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theFederateTimeoutIntervalRidName, federateTimeoutInterval, setFederateTimeoutInterval) 00574 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theFlushTimeoutIntervalRidName, flushTimeoutInterval, setFlushTimeoutInterval) 00575 DtDECLARE_INT_ACCESSOR_MUTATOR( theFomDataTransportTypeControlRidName, fomDataTransportTypeControl, setFomDataTransportTypeControl) 00576 DtDECLARE_INT_ACCESSOR_MUTATOR( theFomModuleMergingRidName, fomModuleMerging, setFomModuleMerging) 00577 DtDECLARE_INT_ACCESSOR_MUTATOR( theForceFullComplianceRidName, forceFullCompliance, setForceFullCompliance) 00578 DtDECLARE_INT_ACCESSOR_MUTATOR( theForceUnlicensedForTwoRidName, forceUnlicensedForTwo, setForceUnlicensedForTwo) 00579 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theForwardingDelayRidName, forwardingDelay, setForwardingDelay) 00580 DtDECLARE_STRING_ACCESSOR_MUTATOR( theImplicitDdmParamsFileRidName, implicitDdmParamsFile, setImplicitDdmParamsFile) 00581 DtDECLARE_INT_ACCESSOR_MUTATOR( theInternalMsgReliableWhenUsingRtiexecRidName, internalMsgReliableWhenUsingRtiexec, setInternalMsgReliableWhenUsingRtiexec) 00582 DtDECLARE_INT_ACCESSOR_MUTATOR( theIOLockQueueRidName, IOLockQueue, setIOLockQueue) 00583 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theIOPeriodRidName, IOPeriod, setIOPeriod) 00584 DtDECLARE_STRING_ACCESSOR_MUTATOR( theLogFileDirectoryName, logFileDirectory, setLogFileDirectoryName); 00585 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theTickWaitPeriodRidName, tickWaitPeriod, setTickWaitPeriod) 00586 DtDECLARE_STRING_ACCESSOR_MUTATOR( theLogFileNameRidName, logFileName, setLogFileName) 00587 DtDECLARE_INT_ACCESSOR_MUTATOR( theLogNetworkMonitorStatsRidName, loggingNetworkMonitorStats, setLogNetworkMonitorStats) 00588 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theLrcMcastDiscoveryDelayRidName, lrcMcastDiscoveryDelay, setLrcMcastDiscoveryDelay) 00589 DtDECLARE_STRING_ACCESSOR_MUTATOR( theMaxChannelAddrRidName, maxChannelAddr, setMaxChannelAddr) 00590 DtDECLARE_INT_ACCESSOR_MUTATOR( theMaxForwarderQueueRidName, maxForwarderQueue, setMaxForwarderQueue) 00591 DtDECLARE_INT_ACCESSOR_MUTATOR( theMaxIOCountRidName, maxIOCount, setMaxIOCount) 00592 DtDECLARE_INT_ACCESSOR_MUTATOR( theMaxIOQueueRidName, maxIOQueue, setMaxIOQueue) 00593 DtDECLARE_INT_ACCESSOR_MUTATOR( theMaxNumFederatesRidName, maxNumFederates, setMaxNumFederates) 00594 DtDECLARE_INT_ACCESSOR_MUTATOR( theMaxUdpPacketSizeRidName, maxUdpPacketSize, setMaxUdpPacketSize) 00595 DtDECLARE_STRING_ACCESSOR_MUTATOR( theMcastDiscoveryAddrStringRidName, mcastDiscoveryAddrString, setMcastDiscoveryAddrString) 00596 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theMcastDiscoveryEnabledRidName, mcastDiscoveryEnabled, setMcastDiscoveryEnabled) 00597 DtDECLARE_INT_ACCESSOR_MUTATOR( theMcastDiscoveryPortRidName, mcastDiscoveryPort, setMcastDiscoveryPort) 00598 DtDECLARE_INT_ACCESSOR_MUTATOR( theMcastDiscoveryTriesRidName, mcastDiscoveryTries, setMcastDiscoveryTries) 00599 DtDECLARE_INT_ACCESSOR_MUTATOR( theMcastTtlRidName, mcastTtl, setMcastTtl) 00600 DtDECLARE_STRING_ACCESSOR_MUTATOR( theMinChannelAddrRidName, minChannelAddr, setMinChannelAddr) 00601 DtDECLARE_INT_ACCESSOR_MUTATOR( theMomExceptionLoggingRidName, momExceptionLogging, setMomExceptionLogging) 00602 DtDECLARE_INT_ACCESSOR_MUTATOR( theMomFederateUpdateIntervalRidName, momFederateUpdateInterval, setMomFederateUpdateInterval) 00603 DtDECLARE_STRING_ACCESSOR_MUTATOR( theMomModuleExtensionFileNameRidName, momModuleExtensionFileName, setMomModuleExtensionFileName) 00604 DtDECLARE_INT_ACCESSOR_MUTATOR( theMomServiceAvailableRidName, momServiceAvailable, setMomServiceAvailable) 00605 DtDECLARE_INT_ACCESSOR_MUTATOR( theNotifyLevelRidName, notifyLevel, setNotifyLevel) 00606 DtDECLARE_INT_ACCESSOR_MUTATOR( thePacketBundlingSizeRidName, packetBundlingSize, setPacketBundlingeSize) 00607 DtDECLARE_STRING_ACCESSOR_MUTATOR( thePluginDirectoryRidName, pluginDir, setPluginDir) 00608 DtDECLARE_BOOL_ACCESSOR_MUTATOR( thePreferLocalFomModulesRidName, preferLocalFomModules, setPreferLocalFomModules) 00609 DtDECLARE_INT_ACCESSOR_MUTATOR( theProcessUnknownUpdatesForDiscoveryRidName, processUnknownUpdatesForDiscovery, setProcessUnknownUpdatesForDiscovery) 00610 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theReceiveToleranceRidName, receiveTolerance, setReceiveTolerance) 00611 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theReconnectEnabledRidName, reconnectEnabled, setReconnectEnabled) 00612 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theResponseIntervalRidName, responseInterval, setResponseInterval) 00613 DtDECLARE_INT_ACCESSOR_MUTATOR( theReuseLogFileRidName, reuseLogFile, setReuseLogFile) 00614 DtDECLARE_INT_ACCESSOR_MUTATOR( theReuseReleasedObjectHandlesRidName, reuseReleasedObjectHandles, setReuseReleasedObjectHandles) 00615 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theRouteToAllByDefaultRidName, routeToAllByDefault, setRouteToAllByDefault) 00616 DtDECLARE_STRING_ACCESSOR_MUTATOR( theRtiExecLogFileNameRidName, rtiExecLogFileName, setRtiExecLogFileName) 00617 DtDECLARE_INT_ACCESSOR_MUTATOR( theRtiExecPerformsLicensingRidName, rtiExecPerformsLicensing, setRtiExecPerformsLicensing) 00618 DtDECLARE_INT_ACCESSOR_MUTATOR( theRtiExecReconnectPauseRidName, rtiExecReconnectPause, setRtiExecReconnectPause) 00619 DtDECLARE_STRING_ACCESSOR_MUTATOR( theRtiForwarderLogFileNameRidName, rtiForwarderLogFileName, setRtiForwarderLogFileName) 00620 DtDECLARE_STRING_ACCESSOR_MUTATOR( theSaveRestoreDirectoryRidName, saveRestoreDirectory, setSaveRestoreDirectory) 00621 DtDECLARE_INT_ACCESSOR_MUTATOR( theSaveRestoreTimeoutRidName, saveRestoreTimeout, setSaveRestoreTimeout) 00622 DtDECLARE_INT_ACCESSOR_MUTATOR( theSaveTransientMessagesRidName, saveTransientMessages, setSaveTransientMessages) 00623 DtDECLARE_INT_ACCESSOR_MUTATOR( theSendDiscoveredClassRidName, sendDiscoveredClass, setSendDiscoveredClass) 00624 DtDECLARE_STRING_ACCESSOR_MUTATOR( theSharedMemExecLogFileNameRidName, sharedMemExecLogFileName, setSharedMemExecLogFileName) 00625 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theSharedMemoryMgrMaxWaitRidName, sharedMemMgrMaxWait, setSharedMemMgrMaxWait) 00626 DtDECLARE_INT_ACCESSOR_MUTATOR( theSharedMemoryModeRidName, useSharedMem, setSharedMemoryMode) 00627 DtDECLARE_STRING_ACCESSOR_MUTATOR( theSharedMemoryNameRidName, sharedMemName, setSharedMemName) 00628 DtDECLARE_INT_ACCESSOR_MUTATOR( theSharedMemoryQueueLengthRidName, sharedMemLength, setSharedMemLength) 00629 DtDECLARE_INT_ACCESSOR_MUTATOR( theSingleCallbackPerTickRidName, singleCallbackPerTick, setSingleCallbackPerTick) 00630 DtDECLARE_INT_ACCESSOR_MUTATOR( theSocketReceiveBufferSizeRidName, socketReceiveBufferSize, setSocketReceiveBufferSize) 00631 DtDECLARE_INT_ACCESSOR_MUTATOR( theSmartForwardingLevelRidName, smartForwardingLevel, setSmartForwardingLevel) 00632 DtDECLARE_INT_ACCESSOR_MUTATOR( theSocketSendBufferSizeRidName, socketSendBufferSize, setSocketSendBufferSize) 00633 DtDECLARE_INT_ACCESSOR_MUTATOR( theStrictFomCheckingRidName, strictFomChecking, setStrictFomChecking) 00634 DtDECLARE_INT_ACCESSOR_MUTATOR( theStrictNameReservationRidName, strictNameReservation, setStrictNameReservation) 00635 DtDECLARE_INT_ACCESSOR_MUTATOR( theTcpBufferSizeRidName, tcpBufferSize, setTcpBufferSize) 00636 DtDECLARE_INT_ACCESSOR_MUTATOR( theTcpCompressionLevelRidName, tcpCompressionLevel, setTcpCompressionLevel) 00637 DtDECLARE_INT_ACCESSOR_MUTATOR( theTcpNoDelayRidName, tcpNoDelay, setTcpNoDelay) 00638 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theThrowExceptionForDisabledServiceRidName, throwExceptionForDisabledService, setThrowExceptionForDisabledService) 00639 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theThrowExceptionOnConcurrentAccessRidName, throwExceptionOnConcurrentAccess, setThrowExceptionOnConcurrentAccess) 00640 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theThrowExceptionCallNotAllowedFromWithinCallbackRidName, throwExceptionCallNotAllowedFromWithinCallback, setThrowExceptionCallNotAllowedFromWithinCallback) 00641 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theEnableWarningsForDisabledServicesRidName, enableWarningsForDisabledServices, setEnableWarningsForDisabledServices ) 00642 DtDECLARE_INT_ACCESSOR_MUTATOR( theTickFavorsNetworkRidName, tickFavorsNetwork, setTickFavorsNetwork) 00643 DtDECLARE_INT_ACCESSOR_MUTATOR( theTimeMgmtRidName, timeMgmt, setTimeMgmt) 00644 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theTransmitDelayRidName, transmitDelay, setTransmitDelay) 00645 DtDECLARE_FLOAT_ACCESSOR_MUTATOR( theTransmitRateRidName, transmitRate, setTransmitRate) 00646 DtDECLARE_INT_ACCESSOR_MUTATOR( theUdpCompressionLevelRidName, udpCompressionLevel, setUdpCompressionLevel) 00647 DtDECLARE_INT_ACCESSOR_MUTATOR( theUdpPortRidName, udpPort, setUdpPort) 00648 DtDECLARE_INT_ACCESSOR_MUTATOR( theTcpPortRidName, tcpPort, setTcpPort) 00649 DtDECLARE_INT_ACCESSOR_MUTATOR( theUse32BitsForValueSizeRidName, use32BitsForValueSize, setUse32BitsForValueSize) 00650 DtDECLARE_INT_ACCESSOR_MUTATOR( theUseBusyWaitForTickMinMaxRidName, useBusyWaitForTickMinMax, setUseBusyWaitForTickMinMax) 00651 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theUseRandomNumberForFedHandleRidName, useRandomNumberForFedHandle, setUseRandomNumberForFedHandle) 00652 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theUseRtiExecRidName, useRtiExec, setUseRtiExec) 00653 DtDECLARE_INT_ACCESSOR_MUTATOR( theVariableLengthDataUsesNullRidName, variableLengthDataUsesNull, setVariableLengthDataUsesNull) 00654 DtDECLARE_STRING_ACCESSOR_MUTATOR( theWebserviceAddrRidName, webserviceAddrString, setWebserviceAddrString) 00655 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theWebserviceEnableServerAutoStartRidName, webserviceEnableServerAutoStart, setWebserviceEnableServerAutoStart) 00656 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theWebserviceEnableForwardingRidName, webserviceEnableForwarding, setWebserviceEnableForwarding) 00657 DtDECLARE_INT_ACCESSOR_MUTATOR( theWebserviceHttpPortRidName, webserviceHttpPort, setWebserviceHttpPort) 00658 DtDECLARE_INT_ACCESSOR_MUTATOR( theWebserviceNotifyLevelRidName, webserviceNotifyLevel, setWebserviceNotifyLevel) 00659 DtDECLARE_INT_ACCESSOR_MUTATOR( theWebserviceRtiPortRidName, webserviceRtiPort, setWebserviceRtiPort) 00660 DtDECLARE_BOOL_ACCESSOR_MUTATOR( theConfigureConnectionWithRidRidName, configureConnectionWithRid, setConfigureConnectionWithRid) 00662 00663 mutable bool theForwarderRoutesFileRidNameInitialized; 00664 mutable bool theProcessingModelRidNameInitialized; 00665 mutable bool theRidConsistencyCheckingRidNameInitialized; 00666 mutable bool theMaxObjectsPerFederateRidNameInitialized; 00667 mutable bool theTransmitLaggardLBTSRidNameInitialized; 00668 mutable bool theTcpForwarderAddrRidNameInitialized; 00669 mutable bool theNetworkInterfaceAddrRidNameInitialized; 00670 00671 00672 protected: 00673 00675 00676 00677 void registerParameters(); 00679 void loadLispFile(); 00681 void loadLispExpressions(); 00683 00685 MAKRti::DtMtlEnvironment& mtlEnvironment(); 00686 00688 virtual void accessorError(const char* parameterName) const; 00689 00691 virtual void mutatorError(const char* parameterName) const; 00692 00694 00695 00696 00697 00698 00699 00700 00701 virtual int* createRidParameter( MAKRti::DtString label, MAKRti::DtString name, MAKRti::DtString toolTip, 00702 MAKRti::DtString parent, int defaultValue, bool editable, MAKRti::DtString range ); 00703 virtual MAKRti::DtString* createRidParameter( MAKRti::DtString label, MAKRti::DtString name, MAKRti::DtString toolTip, 00704 MAKRti::DtString parent, MAKRti::DtString defaultValue, bool editable, MAKRti::DtString range ); 00705 virtual float* createRidParameter( MAKRti::DtString label, MAKRti::DtString name, MAKRti::DtString toolTip, 00706 MAKRti::DtString parent, float defaultValue, bool editable, MAKRti::DtString range ); 00708 00711 void copyRidParameters(const DtRIDParameters& orig); 00712 00715 void destroyAllRidParameters(); 00716 00719 void destroyRidParameter( MAKRti::DtString name ); 00720 00728 MAKRti::DtFilename findLispFile(); 00729 00733 bool extractRidFileName(const MAKRti::DtString& arg); 00734 00739 void extractRidExpressions(const std::vector<MAKRti::DtString>& ridExpressions); 00740 00742 void buildDmFilterList( bool forObjectsElseInteractions ); 00743 00745 void buildFomModulesList( ); 00746 00749 bool buildDdmGrid(MAKRti::DtFilename const& gridConfigFilename); 00750 00753 void initializeParameters(bool forceEnableRtiExec, 00754 const MAKRti::DtString& expression = MAKRti::DtString::nullString() ); 00755 00758 void checkUseRtiExec( bool forceEnableRtiExec ); 00759 00763 void applyAmbassadorCreationArguments(); 00764 00766 void initializeFixedGrid(); 00767 00769 void populateRidGroups(); 00770 00772 void initializeDestAddrs(); 00773 00775 void initializeForwarderGroups(); 00776 00778 void initializeUpdateRates(); 00779 00781 void buildPluginsList(bool forceEnableRtiExec); 00782 00785 void verifyPortsAreUnique() const; 00786 00788 void verifyIpAddresses() const; 00789 00791 void verifyIpAddress( const MAKRti::DtString& ip, const MAKRti::DtString& name = MAKRti::DtString::nullString() ) const; 00792 00793 //End initialization Routines. 00794 00795 protected: 00796 00798 00799 int RTI_maxObjectsPerFederate; 00800 int RTI_transmitLaggardLBTS; 00801 int RTI_enableBigMessage; 00802 int RTI_asynchronousIO; 00803 int RTI_asynchronousProcessMessage; 00804 int RTI_asynchronousCallbacks; 00805 MAKRti::DtString RTI_mcastDevAddrString; 00807 00809 MAKRti::DtMtlEnvironment* myEnv; 00810 00812 DtInetAddrList myDestAddr; 00813 00815 DtInetAddrAndPortSet myForwarderGroupAddrs; 00816 00818 DtDMFilterList myIntMulticastDefinition; 00819 00821 DtDMFilterList myObjMulticastDefinition; 00822 00824 DtStringList myPluginNames; 00825 00827 MAKRti::DtFilename myName; 00828 00830 MAKRti::DtFilename myForwarderRoutesFile; 00831 00833 MAKRti::DtFilename myFullPathToRidFile; 00834 00836 DtRidFileSearchStatus myRidFileSearchStatus; 00837 00839 MAKRti::DtString myCreationLispExprs; 00840 00842 std::string myCreationFileName; 00843 00845 DtStringList myCreateFedExFomModules; 00846 00848 DtStringList myJoinFedExFomModules; 00849 00851 DtFixedGridConfiguration* myFixedGridConfiguration; 00852 00855 DtUpdateNameRateMap myUpdateRates; 00857 std::vector<DtUpdateRateSubscriptionStruct> myUpdateRateSubscriptions; 00858 00860 std::map<MAKRti::DtString, DtFloatRidParameter> myFloatRidParameterDefaults; 00861 00863 std::map<MAKRti::DtString, DtIntRidParameter> myIntRidParameterDefaults; 00864 00866 std::map<MAKRti::DtString, DtStringRidParameter> myStringRidParameterDefaults; 00867 00870 std::map<MAKRti::DtString, std::pair<int, int> > myFullyCompliantParameters; 00871 00873 const int myMaxObjectsCap; 00874 00876 bool myUseRoutesFile; 00877 00878 protected: 00879 00881 00882 static const int theCompliantUseRtiExec; 00883 static const int theCompliantInternalMsgReliableWhenUsingRtiexec; 00884 static const int theCompliantFomDataTransportTypeControl; 00885 static const int theCompliantTimeMgmt; 00886 static const int theCompliantDataDistMgmt; 00887 static const int theCompliantMomServiceAvailable; 00888 static const int theCompliantMomFederateUpdateInterval; 00889 static const int theCompliantStrictFomChecking; 00890 static const int theCompliantCheckFlag; 00891 static const int theCompliantEnableHlaObjectNamePrefix; 00892 static const int theCompliantSendDiscoveredClass; 00893 static const int theCompliantExtend13and1516interop; 00894 static const int theCompliantProcessUnknownUpdatesForDiscovery; 00895 static const int theCompliantStrictNameReservation; 00896 static const int theCompliantEnableNameReservation; 00897 static const int theCompliantEnableSaveRestoreWhenUsingRtiexec; 00898 static const int theCompliantFomModuleMerging; 00899 static const int theCompliantDistributeFedFile; 00900 static const int theCompliantPreferRidToFedSwitchTable; 00901 static const int theCompliantEnableUpdateRateReduction; 00902 static const int theCompliantThrowExceptionCallNotAllowedFromWithinCallback; 00904 00905 00907 00908 00909 const static MAKRti::DtString theAdvancedNetworkingGroupName; 00910 const static MAKRti::DtString theAdvisoriesGroupName; 00911 const static MAKRti::DtString theAsynchGroupName; 00912 const static MAKRti::DtString theCommunicationsGroupName; 00913 const static MAKRti::DtString theCompressionGroupName; 00914 const static MAKRti::DtString theDdmGroupName; 00915 const static MAKRti::DtString theDiagnosticGroupName; 00916 const static MAKRti::DtString theFaultToleranceGroupName; 00917 const static MAKRti::DtString theFomGroupName; 00918 const static MAKRti::DtString theForwarderGroupName; 00919 const static MAKRti::DtString theLicensingGroupName; 00920 const static MAKRti::DtString theMomGroupName; 00921 const static MAKRti::DtString theMulticastDiscoveryGroupName; 00922 const static MAKRti::DtString theNameReservationGroupName; 00923 const static MAKRti::DtString theOptionalServicesGroupName; 00924 const static MAKRti::DtString theRtiSpyGroupName; 00925 const static MAKRti::DtString theSaveRestoreGroupName; 00926 const static MAKRti::DtString theServiceImplGroupName; 00927 const static MAKRti::DtString theSharedMemoryGroupName; 00928 const static MAKRti::DtString theWebSpyGroupName; 00930 00931 00933 00934 00935 const static MAKRti::DtString thePreferRidToFedSwitchTableName; 00936 const static MAKRti::DtString theAutoProvideSwitchName; 00937 const static MAKRti::DtString theConveyRegionDesignatorSwitchName; 00938 const static MAKRti::DtString theConveyProducingFederateSwitchName; 00939 const static MAKRti::DtString theAttributeScopeAdvisorySwitchName; 00940 const static MAKRti::DtString theAttributeRelevanceAdvisorySwitchName; 00941 const static MAKRti::DtString theObjectClassRelevanceAdvisorySwitchName; 00942 const static MAKRti::DtString theInteractionRelevanceAdvisorySwitchName; 00943 const static MAKRti::DtString theServiceReportingSwitchName; 00944 const static MAKRti::DtString theExceptionReportingSwitchName; 00945 const static MAKRti::DtString theDelaySubscriptionEvaluationSwitchName; 00946 00947 const static MAKRti::DtString theAddressDelayRidName; 00948 const static MAKRti::DtString theAutoProvideDelayRidName; 00949 const static MAKRti::DtString theAllProvideUpdateRequestsDelayedRidName; 00950 const static MAKRti::DtString theBestEffortSendRetriesRidName; 00951 const static MAKRti::DtString theBestEffortSendRetryWaitUsecRidName; 00952 const static MAKRti::DtString theCatchFedAmbExceptionsRidName; 00953 const static MAKRti::DtString theCheckFlagRidName; 00954 const static MAKRti::DtString theConfigureConnectionWithRidRidName; 00955 const static MAKRti::DtString theConnectionTestIntervalRidName; 00956 const static MAKRti::DtString theConveyOnlyAvailableDimensionsRidName; 00957 const static MAKRti::DtString theCrcCheckFedFileRidName; 00958 const static MAKRti::DtString theDataDistMgmtRidName; 00959 const static MAKRti::DtString theDdmFixedGridFilenameRidName; 00960 const static MAKRti::DtString theDdmFixedGridRidName; 00961 const static MAKRti::DtString theDefaultTimeImplementationRidName; 00962 const static MAKRti::DtString theDefaultFedFileRidName; 00963 const static MAKRti::DtString theDeleteOrphansRidName; 00964 const static MAKRti::DtString theDeprecatedAsynchronousIORidName; // PRIVATE RID VARIABLE 00965 const static MAKRti::DtString theDeprecatedEnableBigMessageRidName; // PRIVATE RID VARIABLE 00966 const static MAKRti::DtString theDeprecatedAsynchronousProcessMessageRidName; // PRIVATE RID VARIABLE 00967 const static MAKRti::DtString theDeprecatedAsynchronousCallbacksRidName; // PRIVATE RID VARIABLE 00968 const static MAKRti::DtString theDestAddrStringRidName; 00969 const static MAKRti::DtString theDetachNotifyLevelFromStdOutRidName; 00970 const static MAKRti::DtString theDisableUnlicensedForTwoRidName; 00971 const static MAKRti::DtString theDiscoveryMsgBundlingDelayRidName; 00972 const static MAKRti::DtString theDistributedForwarderPortRidName; 00973 const static MAKRti::DtString theDistributedUdpForwarderModeRidName; 00974 const static MAKRti::DtString theDistributeFedFileAsynchronouslyRidName; 00975 const static MAKRti::DtString theDistributeFedFileRidName; 00976 const static MAKRti::DtString theFullFedFileDistributionName; 00977 const static MAKRti::DtString theDualTransmitFirstInteractionRegionsRidName; 00978 const static MAKRti::DtString theDumpFedRidName; 00979 const static MAKRti::DtString theDumpRidRidName; 00980 const static MAKRti::DtString theEnableBestEffortSendRetryRidName; 00981 const static MAKRti::DtString theEnableCheckVersionRidName; 00982 const static MAKRti::DtString theEnableFederateHeartbeatRidName; 00983 const static MAKRti::DtString theEnableFedexMsgRoutingRidName; 00984 const static MAKRti::DtString theEnableFomBackwardsCompatibilityRidName; 00985 const static MAKRti::DtString theEnableHlaObjectNamePrefixRidName; 00986 const static MAKRti::DtString theEnableLrcWebserviceEventLogRidName; 00987 const static MAKRti::DtString theEnableLrcWebserviceRidName; 00988 const static MAKRti::DtString theEnableMessageThrottlingRidName; 00989 const static MAKRti::DtString theEnableNameReservationRidName; 00990 const static MAKRti::DtString theEnableNetworkMonitoringRidName; 00991 const static MAKRti::DtString theEnableNetworkTestingRidName; 00992 const static MAKRti::DtString theEnablePacketBundlingRidName; 00993 const static MAKRti::DtString theEnableRtiexecWebserviceRidName; 00994 const static MAKRti::DtString theEnableSaveRestoreWhenUsingRtiexecRidName; 00995 const static MAKRti::DtString theEnableSharedMemoryExecEventLogRidName; 00996 const static MAKRti::DtString theEnableTcpCompressionRidName; 00997 const static MAKRti::DtString theEnableTcpSmartForwardingRidName; 00998 const static MAKRti::DtString theEnableUdpCompressionRidName; 00999 const static MAKRti::DtString theEnableUdpSmartForwardingRidName; 01000 const static MAKRti::DtString theEnableUpdateRateReductionRidName; 01001 const static MAKRti::DtString theExecMcastDiscoveryDelayRidName; 01002 const static MAKRti::DtString theExtend13and1516interopRidName; 01003 const static MAKRti::DtString theFederateHeartbeatIntervalRidName; 01004 const static MAKRti::DtString theFederateReconnectPauseRidName; 01005 const static MAKRti::DtString theFederateTimeoutIntervalRidName; 01006 const static MAKRti::DtString theFlushTimeoutIntervalRidName; 01007 //const static MAKRti::DtString theFomDataReliableWhenUsingRtiexecRidName; 01008 const static MAKRti::DtString theFomDataTransportTypeControlRidName; 01009 const static MAKRti::DtString theFomModuleMergingRidName; 01010 //const static MAKRti::DtString theForceFomDataReliableRidName; 01011 const static MAKRti::DtString theForceFullComplianceRidName; 01012 const static MAKRti::DtString theForceUnlicensedForTwoRidName; 01013 const static MAKRti::DtString theForwarderRoutesFileRidName; // Doesnt' use macro for accessor. 01014 const static MAKRti::DtString theForwardingDelayRidName; 01015 const static MAKRti::DtString theImplicitDdmParamsFileRidName; 01016 const static MAKRti::DtString theInternalMsgReliableWhenUsingRtiexecRidName; 01017 const static MAKRti::DtString theIOLockQueueRidName; 01018 const static MAKRti::DtString theIOPeriodRidName; 01019 const static MAKRti::DtString theLogFileDirectoryName; 01020 const static MAKRti::DtString theTickWaitPeriodRidName; 01021 const static MAKRti::DtString theLogFileNameRidName; 01022 const static MAKRti::DtString theLogNetworkMonitorStatsRidName; 01023 const static MAKRti::DtString theLrcMcastDiscoveryDelayRidName; 01024 const static MAKRti::DtString theMaxChannelAddrRidName; 01025 const static MAKRti::DtString theMaxForwarderQueueRidName; 01026 const static MAKRti::DtString theMaxIOCountRidName; 01027 const static MAKRti::DtString theMaxIOQueueRidName; 01028 const static MAKRti::DtString theMaxObjectsPerFederateRidName; // PRIVATE RID VARIABLE 01029 const static MAKRti::DtString theMaxNumFederatesRidName; 01030 const static MAKRti::DtString theMaxUdpPacketSizeRidName; 01031 const static MAKRti::DtString theDeprecatedMcastDevAddrStringRidName; // PRIVATE RID VARIABLE 01032 const static MAKRti::DtString theMcastDiscoveryAddrStringRidName; 01033 const static MAKRti::DtString theMcastDiscoveryEnabledRidName; 01034 const static MAKRti::DtString theMcastDiscoveryPortRidName; 01035 const static MAKRti::DtString theMcastDiscoveryTriesRidName; 01036 const static MAKRti::DtString theMcastTtlRidName; 01037 const static MAKRti::DtString theMinChannelAddrRidName; 01038 const static MAKRti::DtString theMomExceptionLoggingRidName; 01039 const static MAKRti::DtString theMomFederateUpdateIntervalRidName; 01040 const static MAKRti::DtString theMomModuleExtensionFileNameRidName; 01041 const static MAKRti::DtString theMomServiceAvailableRidName; 01042 const static MAKRti::DtString theNetworkInterfaceAddrRidName; // Doesn't use macro for accessor. 01043 const static MAKRti::DtString theNotifyLevelRidName; 01044 const static MAKRti::DtString thePacketBundlingSizeRidName; 01045 const static MAKRti::DtString thePluginDirectoryRidName; 01046 const static MAKRti::DtString thePreferLocalFomModulesRidName; 01047 const static MAKRti::DtString theProcessingModelRidName; 01048 const static MAKRti::DtString theProcessUnknownUpdatesForDiscoveryRidName; 01049 const static MAKRti::DtString theReceiveToleranceRidName; 01050 const static MAKRti::DtString theReconnectEnabledRidName; 01051 const static MAKRti::DtString theResponseIntervalRidName; 01052 const static MAKRti::DtString theReuseLogFileRidName; 01053 const static MAKRti::DtString theReuseReleasedObjectHandlesRidName; 01054 const static MAKRti::DtString theRouteToAllByDefaultRidName; 01055 const static MAKRti::DtString theRidConsistencyCheckingRidName; // Doesn't use macro for accessor. 01056 const static MAKRti::DtString theRtiExecLogFileNameRidName; 01057 const static MAKRti::DtString theRtiExecPerformsLicensingRidName; 01058 const static MAKRti::DtString theRtiExecReconnectPauseRidName; 01059 const static MAKRti::DtString theRtiForwarderLogFileNameRidName; 01060 const static MAKRti::DtString theSaveRestoreDirectoryRidName; 01061 const static MAKRti::DtString theSaveRestoreTimeoutRidName; 01062 const static MAKRti::DtString theSaveTransientMessagesRidName; 01063 const static MAKRti::DtString theSendDiscoveredClassRidName; 01064 const static MAKRti::DtString theSharedMemExecLogFileNameRidName; 01065 const static MAKRti::DtString theSharedMemoryMgrMaxWaitRidName; 01066 const static MAKRti::DtString theSharedMemoryModeRidName; 01067 const static MAKRti::DtString theSharedMemoryNameRidName; 01068 const static MAKRti::DtString theSharedMemoryQueueLengthRidName; 01069 const static MAKRti::DtString theSingleCallbackPerTickRidName; 01070 const static MAKRti::DtString theSocketReceiveBufferSizeRidName; 01071 const static MAKRti::DtString theSmartForwardingLevelRidName; 01072 const static MAKRti::DtString theSocketSendBufferSizeRidName; 01073 const static MAKRti::DtString theStrictFomCheckingRidName; 01074 const static MAKRti::DtString theStrictNameReservationRidName; 01075 const static MAKRti::DtString theTcpBufferSizeRidName; 01076 const static MAKRti::DtString theTcpCompressionLevelRidName; 01077 const static MAKRti::DtString theTcpForwarderAddrRidName; // Doesn't use macro for accessor. 01078 const static MAKRti::DtString theTcpNoDelayRidName; 01079 const static MAKRti::DtString theThrowExceptionForDisabledServiceRidName; 01080 const static MAKRti::DtString theThrowExceptionOnConcurrentAccessRidName; 01081 const static MAKRti::DtString theThrowExceptionCallNotAllowedFromWithinCallbackRidName; 01082 const static MAKRti::DtString theEnableWarningsForDisabledServicesRidName; 01083 const static MAKRti::DtString theTickFavorsNetworkRidName; 01084 const static MAKRti::DtString theTimeMgmtRidName; 01085 const static MAKRti::DtString theTransmitDelayRidName; 01086 const static MAKRti::DtString theTransmitLaggardLBTSRidName; // PRIVATE RID VARIABLE 01087 const static MAKRti::DtString theTransmitRateRidName; 01088 const static MAKRti::DtString theUdpCompressionLevelRidName; 01089 const static MAKRti::DtString theUdpPortRidName; 01090 const static MAKRti::DtString theTcpPortRidName; 01091 const static MAKRti::DtString theUse32BitsForValueSizeRidName; 01092 const static MAKRti::DtString theUseBusyWaitForTickMinMaxRidName; 01093 const static MAKRti::DtString theUseRandomNumberForFedHandleRidName; 01094 const static MAKRti::DtString theUseRtiExecRidName; 01095 const static MAKRti::DtString theVariableLengthDataUsesNullRidName; 01096 const static MAKRti::DtString theWebserviceAddrRidName; 01097 const static MAKRti::DtString theWebserviceEnableServerAutoStartRidName; 01098 const static MAKRti::DtString theWebserviceEnableForwardingRidName; 01099 const static MAKRti::DtString theWebserviceHttpPortRidName; 01100 const static MAKRti::DtString theWebserviceNotifyLevelRidName; 01101 const static MAKRti::DtString theWebserviceRtiPortRidName; 01102 01104 01106 01107 const static MAKRti::DtString theDefaultIpv4DestAddr; 01108 const static MAKRti::DtString theDefaultIpv6DestAddr; 01110 01112 01113 const static MAKRti::DtString theDefaultIpv4MinChannelAddr; 01114 const static MAKRti::DtString theDefaultIpv4MaxChannelAddr; 01115 const static MAKRti::DtString theDefaultIpv6MinChannelAddr; 01116 const static MAKRti::DtString theDefaultIpv6MaxChannelAddr; 01117 const static MAKRti::DtString theUseTheDefaultChannelAddrStr; 01119 01121 static std::map<MAKRti::DtString, MAKRti::DtString> theOverrideParameters; 01122 }; 01123 01124 01125 01126 01127 01128 #endif 01129