![]() |
VR-Link API Documentation for HLA 1.3
|
Collaboration diagram for DtExerciseConnConfig:Public Member Functions | |
| DtExerciseConnConfig (const DtString &appName="VR-Link", const DtString &version=VR_LINK_VERSION_STRING) | |
| Constructor. More... | |
| virtual | ~DtExerciseConnConfig () |
| Destructor. More... | |
| DtExerciseConnConfig (const DtExerciseConnConfig &orig) | |
| DtExerciseConnConfig & | operator= (const DtExerciseConnConfig &orig) |
| virtual void | loadFile (const DtString &fileName) |
| Load an .mtl or .xml file. More... | |
| virtual void | setPort (int port) |
| Sets the port. More... | |
| virtual int | port () const |
| virtual void | setExerciseId (int id) |
| Sets the exercise identifier. More... | |
| virtual int | exerciseId () const |
| virtual void | setSiteId (int id) |
| Sets the site ID/number. More... | |
| virtual int | siteId () const |
| virtual void | setApplicationNumber (int num) |
| Sets the application number. More... | |
| virtual int | applicationNumber () const |
| virtual void | setDestinationAddress (const DtString &address) |
| Sets the notify level for file output, if the filename has been set. More... | |
| virtual DtString | destinationAddress () const |
| virtual void | setNotifyLevel (int level) |
| Sets the notify level. More... | |
| virtual void | setNotifyFileLevel (int level) |
| Sets the notify level for file output, if the filename has been set. More... | |
| virtual int | notifyFileLevel () const |
| virtual void | setNotifyFilename (const DtString &file) |
| Setting this will allow notifications to be sent to a file as well as the console. More... | |
| virtual DtString | notifyFilename () const |
| virtual int | disVersionValue () const |
| Get the dis version. More... | |
| virtual void | setSendBufferSize (int numBytes) |
| virtual int | sendBufferSize () const |
| virtual void | setReceiveBufferSize (int numBytes) |
| virtual int | receiveBufferSize () const |
| virtual void | setUseAsynchIO (bool on) |
| Sets the use of asynchronous I/O. More... | |
| virtual bool | useAsynchIO () const |
| Returns the use of asynchronous I/O. More... | |
| virtual void | setMulticastTtl (int ttl) |
| Sets the network time to live for multicast traffic. More... | |
| virtual int | multicastTtl () const |
| Returns the network time to live for multicast traffic. More... | |
| virtual void | setTimeStampType (DtTimeStampType relOrAbs) |
| Set the time stamp type (DtTimeStampAbsolute or DtTimeStampRelative). More... | |
| virtual DtTimeStampType | timeStampType () const |
| Get the time stamp type. More... | |
| virtual void | setUseAbsoluteTimeStamp (bool useAbsoluteTimeStamp) |
| Set use time stamp to true or false. More... | |
| virtual bool | useAbsoluteTimeStamp () const |
| Get the time stamp type. More... | |
| virtual void | setMulticastAddresses (const std::vector< DtString > &addresses) |
| virtual const std::vector < DtString > & | multicastAddresses () const |
| virtual void | setUseIpv6 (bool val) |
| virtual bool | useIpv6 () const |
| virtual void | setUseDis5Timestamps (bool onOff) |
| Set/Get the whether to use DIS 5 timestamps. More... | |
| virtual bool | useDis5TimeStamps () const |
| virtual void | setSuppressSelfReflect (bool yesNo) |
| Set the suppression of reflection DIS PDU's. Off by default. More... | |
| virtual bool | suppressSelfReflect () const |
| Returns whether the application should not self reflect. More... | |
| virtual void | setDeviceAddress (const DtString &devAddr) |
| Set the device to use for the DIS connection. More... | |
| virtual DtString | deviceAddress () const |
| Returns the device address to use. More... | |
| virtual void | setSubnetMask (const DtString &mask) |
| Set the subnet mask to use for the DIS connection. More... | |
| virtual DtString | subnetMask () const |
| Returns the subnet mask to use. More... | |
| virtual void | setAttributePduStrategy (DtAttributePduStrategy strat) |
| Set whether to couple the attribute PDU. More... | |
| virtual DtAttributePduStrategy | attributePduStrategy () const |
| Returns whether to couple the attribute PDU. More... | |
| virtual void | setOutputInterval (double period) |
| Set print output interval. More... | |
| virtual double | outputInterval () const |
| Get print output interval. More... | |
| virtual void | setExecName (const DtString &name) |
| Set/Get the federation execution name. More... | |
| virtual DtString | execName () const |
| virtual void | setFederateName (const DtString &name) |
| HLA Evolved only. More... | |
| virtual DtString | federateName () const |
| virtual void | setLocalSettingsDesignator (const DtString &name) |
| HLA Evolved only. More... | |
| virtual std::wstring | localSettingsDesignator () const |
| virtual void | setMimModule (const DtString &mimFomModule) |
| Set/Get the MOM and Initialization Module (MIM) HLA Evolved only. More... | |
| virtual DtString | mimModule () const |
| virtual void | setFederateType (const DtString &type) |
| Set/Get the federate type. More... | |
| virtual DtString | federateType () const |
| void | setFedFileName (const DtString &name) |
| Set/Get the fed file name. More... | |
| virtual DtString | fedFileName () const |
| virtual void | setFomMapperLibName (const DtString &name) |
| Set/Get the DSO name. More... | |
| virtual DtString | fomMapperLibName () const |
| virtual void | setRprFomVersion (double version) |
| Set/Get the RPR FOM Version. More... | |
| virtual double | rprFomVersion () const |
| virtual void | setNetnFomVersion (double version) |
| Set/Get the NETN FOM Version. More... | |
| virtual double | netnFomVersion () const |
| virtual void * | fomMapperInitData () const |
| Set/Get the FOM mapper initialization data. More... | |
| virtual void | setFomMapperInitData (void *data) |
| virtual void | setUseAdvisories (bool onOff) |
| Set/Get the whether to use advisories. More... | |
| virtual bool | useAdvisories () const |
| virtual void | setRequestClassUpdate (bool onOff) |
| Set/Get request class update flag. More... | |
| virtual bool | requestClassUpdate () const |
| virtual void | setRequestObjectUpdate (bool onOff) |
| Set/Get request object update flag. More... | |
| virtual bool | requestObjectUpdate () const |
| virtual void | setRequestWhenInitialized (bool onOff) |
| Set/Get request when initialized flag. More... | |
| virtual bool | requestWhenInitialized () const |
| virtual void | setDefaultRefreshWaitList (bool onOff) |
| Set/Get request object update flag. More... | |
| virtual bool | defaultRefreshWaitList () const |
| virtual void | setDefaultWaitListRefreshPeriod (double period) |
| Set/Get default wait list refresh period. More... | |
| virtual double | defaultWaitListRefreshPeriod () const |
| virtual void | setDestroyFedExec (bool onOff) |
| Set the destroy fed exec flag. More... | |
| virtual bool | destroyFedExec () const |
| Get the destroy fed exec flag. See above description. More... | |
| virtual void | setSendFedTime (bool onOff) |
| Set the send fed time flag. More... | |
| virtual bool | sendFedTime () const |
| Get the send fed time flag. See above description. More... | |
| virtual void | setUseGeographicDdm (bool yesNo) |
| virtual bool | useGeographicDdm () const |
| virtual void | setRprFomRevision (int val) |
| Set the RPR FOM Revision to an integer. More... | |
| virtual int | rprFomRevision () const |
| Return the RPR FOM revision as an integer. More... | |
| virtual void | setNetnFomRevision (int val) |
| Set the NETN FOM Revision to an integer. More... | |
| virtual int | netnFomRevision () const |
| Return the NETN FOM revision as an integer. More... | |
| virtual void | setGenericAttributes (bool yesNo) |
| Set the Generic attributes flag. More... | |
| virtual bool | enabledGenericAttributes () const |
| virtual void | printFomModules () |
| virtual void | fomModules (std::vector< DtString > &fomModules) const |
| Get a list of FOM Modules as DtStrings passed to the RTI. More... | |
| virtual void | initializeFileLogging () |
| Start file logging. Done automatically by the reader. More... | |
| virtual void | initializeDisConnectionConfigVariables () |
| Initialize Config Variables with names and shortcuts. More... | |
| virtual void | initializeDisConnectionConfigVariablesNames () |
| Initialize Config Variables with names; no shortcuts. More... | |
| virtual void | initializeHlaConnectionConfigVariables () |
| Initialize Config Variables with names; no shortcuts. More... | |
| virtual void | initializeHlaConnectionConfigVariablesNames () |
| Initialize Config Variables with names and shortcuts. More... | |
| virtual DtApplicationSettings & | settings () |
| Get the application connection settings. More... | |
| virtual DtVariableGroup & | disConnection () |
| Get the dis Connection variable group. More... | |
| virtual DtVariableGroup & | hlaConnection () |
| Get the hla Connection variable group. More... | |
| virtual DtConfigVariable< int > & | disVersion () |
| Get the dis Version config variable. More... | |
| virtual DtConfigVariable< int > & | notifyLevel () |
| Get the notify Level config variable. More... | |
| virtual DtConfigVariable< int > & | portConfigVar () |
| Get the port config variable. More... | |
| virtual DtConfigVariable< int > & | exerciseIdConfigVar () |
| Get the exercise Id config variable. More... | |
| virtual DtConfigVariable< int > & | siteIdConfigVar () |
| Get the site Id/number config variable. More... | |
| virtual DtConfigVariable< int > & | applicationNumberConfigVar () |
| Get the application number config variable. More... | |
| virtual DtConfigVariable < DtString > & | destinationAddressConfigVar () |
| Get the destination address config variable. More... | |
| virtual DtConfigVariable< int > & | sendBufferSizeConfigVar () |
| Get the send buffer size config variable. More... | |
| virtual DtConfigVariable< int > & | receiveBufferSizeConfigVar () |
| Get the receive buffer size config variable. More... | |
| virtual DtMultiConfigVariable < DtString > & | multicastAddressesConfigVar () |
| Get the multicast addresses config variable. More... | |
| virtual DtConfigVariable< bool > & | useAsynchIOConfigVar () |
| Get the use Asynch IO config variable. More... | |
| virtual DtConfigVariable< bool > & | useIpv6ConfigVar () |
| Get the use Ipv6 config variable. More... | |
| virtual DtConfigVariable< bool > & | dis5TimeStampsConfigVar () |
| Get the dis5TimeStamps config variable. More... | |
| virtual DtConfigVariable< bool > & | useAbsoluteTimestampsConfigVar () |
| Get the use absolute timestamps config variable. More... | |
| virtual DtConfigVariable< int > & | mutlicastTtlConfigVar () |
| Get the multicast TTL config variable. More... | |
| virtual DtConfigVariable < DtString > & | deviceAddressConfigVar () |
| Get the device address config variable. More... | |
| virtual DtConfigVariable < DtString > & | subnetMaskConfigVar () |
| Get the subnet mask config variable. More... | |
| virtual DtConfigVariable < DtString > & | notifyFilenameConfigVar () |
| Get the notify filename config variable. More... | |
| virtual DtConfigVariable< int > & | notifyFileLevelConfigVar () |
| Get the notify file level config variable. More... | |
| virtual DtConfigVariable< int > & | attributeStrategyConfigVar () |
| Get the attribute strategy config variable. More... | |
| virtual DtConfigVariable < double > & | outputIntervalConfigVar () |
| Get the output interval config variable. More... | |
| virtual DtMultiConfigVariable < DtString > & | mutlicastAddressConfig () |
| Get the multicast Address config variable. More... | |
| virtual DtConfigVariable < DtString > & | execNameConfigVar () |
| Get the exec name config variable. More... | |
| virtual DtConfigVariable < DtString > & | federateNameConfigVar () |
| Get the federate name config variable. More... | |
| virtual DtConfigVariable < DtString > & | federateTypeConfigVar () |
| Get the federate type config variable. More... | |
| virtual DtConfigVariable < DtString > & | fedFileNameConfigVar () |
| Get the fed file name config variable. More... | |
| virtual DtMultiConfigVariable < DtString > & | fomModulesConfigVar () |
| Get the fom modules config variable. More... | |
| virtual DtConfigVariable < DtString > & | mimModuleConfigVar () |
| Get the mim module config variable. More... | |
| virtual DtConfigVariable < DtString > & | localSettingsDesignatorConfigVar () |
| Get the local settings designator config variable. More... | |
| virtual DtConfigVariable < DtString > & | fomMapperLibConfigVar () |
| Get the fom mapper lib name config variable. More... | |
| virtual DtConfigVariable < DtString > & | fomMapperInitDataConfigVar () |
| Get the fom mapper init data config variable. More... | |
| virtual DtConfigVariable < double > & | rprFomVersionConfigVar () |
| Get the rpr fom version config variable. More... | |
| virtual DtConfigVariable< int > & | rprFomRevisionConfigVar () |
| Get the rpr fom revision config variable. More... | |
| virtual DtConfigVariable < double > & | netnFomVersionConfigVar () |
| Get the netn fom version config variable. More... | |
| virtual DtConfigVariable< int > & | netnFomRevisionConfigVar () |
| Get the netn fom revision config variable. More... | |
| virtual DtConfigVariable< bool > & | useAdvisoriesConfigVar () |
| Get the use Advisories config variable. More... | |
| virtual DtConfigVariable < double > & | defaultWaitListRefreshPeriodConfigVar () |
| Get the defaultWaitListRefreshPeriod config variable. More... | |
| virtual bool | pauseOnSaveRestore () const |
| Block the simulation if a save or a restore is in process. More... | |
| virtual void | setPauseOnSaveRestore (bool yesNo) |
| Block the simulation if a save or a restore is in process. More... | |
| virtual void | setExceptionOnRtiCompilerMismatch (bool yesNo) |
| Block the simulation if a save or a restore is in process. More... | |
| virtual bool | exceptionOnRtiCompilerMismatch () const |
| Block the simulation if a save or a restore is in process. More... | |
| DtExerciseConnConfig::DtExerciseConnConfig | ( | const DtString & | appName = "VR-Link", |
| const DtString & | version = VR_LINK_VERSION_STRING |
||
| ) |
Constructor.
|
virtual |
Destructor.
| DtExerciseConnConfig::DtExerciseConnConfig | ( | const DtExerciseConnConfig & | orig | ) |
|
virtual |
|
virtual |
Get the application number config variable.
|
virtual |
Returns whether to couple the attribute PDU.
|
virtual |
Get the attribute strategy config variable.
|
virtual |
|
virtual |
|
virtual |
Get the defaultWaitListRefreshPeriod config variable.
|
virtual |
|
virtual |
Get the destination address config variable.
|
virtual |
Get the destroy fed exec flag. See above description.
|
virtual |
Returns the device address to use.
|
virtual |
Get the device address config variable.
|
virtual |
Get the dis5TimeStamps config variable.
|
virtual |
Get the dis Connection variable group.
|
virtual |
Get the dis Version config variable.
|
virtual |
Get the dis version.
|
virtual |
|
virtual |
Block the simulation if a save or a restore is in process.
|
virtual |
|
virtual |
Get the exec name config variable.
|
virtual |
|
virtual |
Get the exercise Id config variable.
|
virtual |
|
virtual |
Get the federate name config variable.
|
virtual |
|
virtual |
Get the federate type config variable.
|
virtual |
|
virtual |
Get the fed file name config variable.
|
virtual |
Set/Get the FOM mapper initialization data.
|
virtual |
Get the fom mapper init data config variable.
|
virtual |
Get the fom mapper lib name config variable.
|
virtual |
|
virtual |
Get a list of FOM Modules as DtStrings passed to the RTI.
|
virtual |
Get the fom modules config variable.
|
virtual |
Get the hla Connection variable group.
|
virtual |
Initialize Config Variables with names and shortcuts.
|
virtual |
Initialize Config Variables with names; no shortcuts.
|
virtual |
Start file logging. Done automatically by the reader.
|
virtual |
Initialize Config Variables with names; no shortcuts.
|
virtual |
Initialize Config Variables with names and shortcuts.
|
virtual |
Load an .mtl or .xml file.
This method will parse the given file name, and set the initializer parameters to the specified values
|
virtual |
|
virtual |
Get the local settings designator config variable.
|
virtual |
|
virtual |
Get the mim module config variable.
|
virtual |
|
virtual |
Get the multicast addresses config variable.
|
virtual |
Returns the network time to live for multicast traffic.
see setMulticastTtl
|
virtual |
Get the multicast Address config variable.
|
virtual |
Get the multicast TTL config variable.
|
virtual |
Return the NETN FOM revision as an integer.
|
virtual |
Get the netn fom revision config variable.
|
virtual |
|
virtual |
Get the netn fom version config variable.
|
virtual |
|
virtual |
Get the notify file level config variable.
|
virtual |
|
virtual |
Get the notify filename config variable.
|
virtual |
Get the notify Level config variable.
| DtExerciseConnConfig& DtExerciseConnConfig::operator= | ( | const DtExerciseConnConfig & | orig | ) |
|
virtual |
Get print output interval.
|
virtual |
Get the output interval config variable.
|
virtual |
Block the simulation if a save or a restore is in process.
|
virtual |
|
virtual |
Get the port config variable.
|
virtual |
|
virtual |
|
virtual |
Get the receive buffer size config variable.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Return the RPR FOM revision as an integer.
|
virtual |
Get the rpr fom revision config variable.
|
virtual |
|
virtual |
Get the rpr fom version config variable.
|
virtual |
|
virtual |
Get the send buffer size config variable.
|
virtual |
Get the send fed time flag. See above description.
|
virtual |
Sets the application number.
|
virtual |
Set whether to couple the attribute PDU.
|
virtual |
Set/Get request object update flag.
|
virtual |
Set/Get default wait list refresh period.
|
virtual |
Sets the notify level for file output, if the filename has been set.
|
virtual |
Set the destroy fed exec flag.
Set the flag that determines whether or not the DtExerciseConn destructor will attempt to destroy the federation execution. Defaults to true.
|
virtual |
Set the device to use for the DIS connection.
Will use the broadcast address of the device and bind to that device.
|
virtual |
Block the simulation if a save or a restore is in process.
|
virtual |
Set/Get the federation execution name.
|
virtual |
Sets the exercise identifier.
|
virtual |
HLA Evolved only.
Set/Get the federate name.
|
virtual |
Set/Get the federate type.
| void DtExerciseConnConfig::setFedFileName | ( | const DtString & | name | ) |
Set/Get the fed file name.
|
virtual |
|
virtual |
Set/Get the DSO name.
|
virtual |
Set the Generic attributes flag.
Generic Attributes enables the ability to encode and decode all attributes, even the ones that VR-Link does not understand. Those attributes' bytes are accessible through the state repository.
|
virtual |
HLA Evolved only.
Set/Get the local settings designator.
|
virtual |
Set/Get the MOM and Initialization Module (MIM) HLA Evolved only.
|
virtual |
|
virtual |
Sets the network time to live for multicast traffic.
This is the maximum number of hops allowed before the network drops the message.
|
virtual |
Set the NETN FOM Revision to an integer.
|
virtual |
Set/Get the NETN FOM Version.
|
virtual |
Sets the notify level for file output, if the filename has been set.
|
virtual |
Setting this will allow notifications to be sent to a file as well as the console.
|
virtual |
Sets the notify level.
|
virtual |
Set print output interval.
Set interval between printing output. Defaults to 10 seconds;
|
virtual |
Block the simulation if a save or a restore is in process.
|
virtual |
Sets the port.
|
virtual |
|
virtual |
Set/Get request class update flag.
|
virtual |
Set/Get request object update flag.
|
virtual |
Set/Get request when initialized flag.
|
virtual |
Set the RPR FOM Revision to an integer.
|
virtual |
Set/Get the RPR FOM Version.
|
virtual |
|
virtual |
Set the send fed time flag.
Set the flag which determines whether to use Time Stamp Order when sending and receiving interactions. Defaults to false;
|
virtual |
Sets the site ID/number.
|
virtual |
Set the subnet mask to use for the DIS connection.
|
virtual |
Set the suppression of reflection DIS PDU's. Off by default.
|
virtual |
Set the time stamp type (DtTimeStampAbsolute or DtTimeStampRelative).
Defaults to DtTimeStampRelative.
|
virtual |
Get the application connection settings.
|
virtual |
Set use time stamp to true or false.
|
virtual |
Set/Get the whether to use advisories.
|
virtual |
Sets the use of asynchronous I/O.
|
virtual |
Set/Get the whether to use DIS 5 timestamps.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the site Id/number config variable.
|
virtual |
Returns the subnet mask to use.
|
virtual |
Get the subnet mask config variable.
|
virtual |
Returns whether the application should not self reflect.
|
virtual |
Get the time stamp type.
|
virtual |
Get the time stamp type.
|
virtual |
Get the use absolute timestamps config variable.
|
virtual |
|
virtual |
Get the use Advisories config variable.
|
virtual |
Returns the use of asynchronous I/O.
|
virtual |
Get the use Asynch IO config variable.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Get the use Ipv6 config variable.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |