![]() |
VR-Link API Documentation for HLA Evolved
|
DtLauncherInitializer derives from DtVrlApplicationInitializer and describes how command line/MTL parameters could be added to a VR-Link application. More...
Inheritance diagram for DtLauncherInitializer:
Collaboration diagram for DtLauncherInitializer:Public Member Functions | |
| DtLauncherInitializer (int argc, char *argv[]) | |
| Default CTOR. | |
| virtual | ~DtLauncherInitializer () |
| Default DTOR. | |
| virtual void | parseCmdLine () |
| Parse the command line. | |
| virtual void | setLispFileName (const DtString &name) |
| virtual DtString | lispFileName () const |
| virtual double | refLatitude () const |
| virtual double | refLongitude () const |
| virtual double | lifeTime () const |
| virtual double | erectorStartTime () const |
| virtual double | erectorStopTime () const |
| virtual double | missileSwapTime () const |
| virtual double | fireTime () const |
| virtual double | damageTime () const |
| virtual double | missileMoveTime () const |
| virtual double | missileStopTime () const |
Public Member Functions inherited from DtVrlApplicationInitializer | |
| DtVrlApplicationInitializer (int argc, char *argv[], const DtString &appName, const DtString &version=DtExerciseConnInitializer::vrlinkVersion(), bool pressAnyKey=false) | |
| Constructor. | |
| virtual | ~DtVrlApplicationInitializer () |
| Destructor. | |
| virtual int | argc () const |
| Get the argc passed into the constructor. | |
| virtual char ** | argv () const |
| Get the argv passed into the constructor. | |
| virtual void | loadFile (const DtString &fileName) |
| Load a .mtl or .xml file. | |
| virtual void | loadMtlFile (const DtString &fileName) |
| virtual void | saveFile (const DtString &filename) |
| Save configuration settings to a .xml file. | |
| virtual void | setExecName (const DtString &name) |
| Set/Get the execution name. | |
| virtual DtString | execName () const |
| Set the execution name. | |
| virtual void | setFederateName (const DtString &name) |
| HLA Evolved only. | |
| virtual DtString | federateName () const |
| Set the federate name In HLA Evolved, this is the same as federateType. | |
| virtual void | setLocalSettingsDesignator (const DtString &name) |
| HLA Evolved only. | |
| virtual std::wstring | localSettingsDesignator () const |
| Get the local settings designator. | |
| virtual void | setMimModule (const DtString &mimFomModule) |
| Set/Get the MOM and Initialization Module (MIM) HLA Evolved only. | |
| virtual DtString | mimModule () const |
| Return the name of the MOM and Initialization Module (MIM) | |
| virtual void | setNotifyFileLevel (int level) |
| Sets the notify level for file output, if the filename has been set. | |
| 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. | |
| virtual DtString | notifyFilename () const |
| virtual void | setFederateType (const DtString &type) |
| Set/Get the federate type. | |
| virtual DtString | federateType () const |
| Get the federate type. | |
| void | setFedFileName (const DtString &name) |
| Set/Get the fed file name. | |
| virtual DtString | fedFileName () const |
| Set the fed file name. | |
| virtual void | setFomMapperLibName (const DtString &name) |
| Set/Get the DSO name. | |
| virtual DtString | fomMapperLibName () const |
| Set the FOM Mapper library name. | |
| virtual void | setRprFomVersion (double version) |
| Set/Get the RPR FOM Version. | |
| virtual double | rprFomVersion () const |
| Returns the RPR FOM Version. See above description. | |
| virtual void * | fomMapperInitData () const |
| Set/Get the FOM mapper initialization data. | |
| virtual void | setFomMapperInitData (void *data) |
| Get the FOM mapper initialization data. | |
| virtual void | setUseAdvisories (bool onOff) |
| Set use of advisories. | |
| virtual bool | useAdvisories () const |
| Get use of advisories. | |
| virtual void | setTimeStampType (DtTimeStampType relOrAbs) |
| Set the time stamp type (DtTimeStampAbsolute or DtTimeStampRelative). | |
| virtual DtTimeStampType | timeStampType () const |
| Get the time stamp type. | |
| virtual void | setDestroyFedExec (bool onOff) |
| Set the destroy fed exec flag. | |
| virtual bool | destroyFedExec () const |
| Get the destroy fed exec flag. See above description. | |
| virtual void | setSendFedTime (bool onOff) |
| Set the send fed time flag. | |
| virtual bool | sendFedTime () const |
| Get the send fed time flag. See above description. | |
| virtual void | setUseGeographicDdm (bool yesNo) |
| Sets the use geographic DDM flag. | |
| virtual bool | useGeographicDdm () const |
| Get the use geographic DDM flag. | |
| virtual void | setRprFomRevision (int val) |
| Sets the revision of the FOM Mapper currently used. | |
| virtual int | rprFomRevision () const |
| returns the revision of the current FOM being used. | |
| virtual void | setGenericAttributes (bool yesNo) |
| Set the Generic attributes flag. | |
| virtual bool | enabledGenericAttributes () const |
| Set the Generic attributes flag. | |
| virtual bool | pauseOnSaveRestore () const |
| Block the simulation if a save or a restore is in process. | |
| virtual void | setPauseOnSaveRestore (bool yesNo) |
| Block the simulation if a save or a restore is in process. | |
| virtual void | setExceptionOnRtiCompilerMismatch (bool yesNo) |
| Block the simulation if a save or a restore is in process. | |
| virtual bool | exceptionOnRtiCompilerMismatch () const |
| Block the simulation if a save or a restore is in process. | |
Public Member Functions inherited from DtExerciseConnInitializer | |
| DtExerciseConnInitializer () | |
| Constructor. | |
| virtual | ~DtExerciseConnInitializer () |
| Destructor. | |
| DtExerciseConnInitializer (const DtExerciseConnInitializer &orig) | |
| Copy Constructor. | |
| DtExerciseConnInitializer & | operator= (const DtExerciseConnInitializer &orig) |
| Assignment Operator. | |
| virtual DtFomMapper * | fomMapper () const |
| Set the FOM mapper. | |
| virtual void | setFomMapper (DtFomMapper *mapper) |
| Get the FOM mapper. | |
| virtual void | setReflecting (bool onOff) |
| Set reflecting. | |
| virtual bool | reflecting () const |
| Get reflecting. See above description. | |
| virtual void | setPassiveMode (bool onOff) |
| Set passive mode. | |
| virtual bool | passiveMode () const |
| Get passive mode. See above description. | |
| virtual void | setReflectRemoteUpdatesIntoPub (bool onOff) |
| Set the reflectRemoteUpdatesIntoPub flag. | |
| virtual bool | reflectRemoteUpdatesIntoPub () const |
| Get reflect remove updates into publisher flag. | |
| virtual void | setReflectThroughRti (bool onOff) |
| Set the reflecting through RTI flag to true. | |
| virtual bool | reflectThroughRti () const |
| Get the reflecting through RTI flag. | |
| virtual void | setReplyToSynchPoints (bool onOff) |
| Set reply to sync points. | |
| virtual bool | replyToSynchPoints () const |
| Get reply to sync points. See above description. | |
| virtual void | setAutoSubscribe (bool onOff) |
| Set auto subscribe flag. | |
| virtual bool | autoSubscribe () const |
| Get auto subscribe flag;. | |
| virtual void | setNotifyLevel (int level) |
| Sets the notify level. | |
| virtual void | addFomModule (const DtString &module) |
| Add a single FOM Module. | |
| virtual void | setFomModules (const std::vector< DtString > &fomModules) |
| Add a set of FOM Modules. | |
| virtual void | fomModules (std::vector< DtString > &fomModules) const |
| Get a list of FOM Modules as DtStrings passed to the RTI. | |
| virtual void | fomModules (std::vector< std::wstring > &fomModules) const |
| Get a list of FOM Modules as std::wstring passed to the RTI. | |
| virtual void | setLocalSettingsDesignator (const std::wstring &localSettingsDesignator) |
| local settings designator ( wstring ) | |
| virtual void | setGetValueMethod (DtGetValueMethod getValueMethodChoice) |
| Configure how VR-Link retrieves data from RTI attribute/parameter handle value pair sets. | |
| virtual DtGetValueMethod | getValueMethod () const |
| Configure how VR-Link retrieves data from RTI attribute/parameter handle value pair sets. | |
Protected Member Functions | |
| virtual void | initializeMtlParams () |
| Register the MTL/Command Line parameters. | |
Protected Member Functions inherited from DtVrlApplicationInitializer | |
| virtual void | initializeFileLogging () |
| Start file logging. Done automatically by the reader. | |
Private Member Functions | |
| DtLauncherInitializer (const DtLauncherInitializer &other) | |
| Copy CTOR not implemented – Do Not copy. | |
| DtLauncherInitializer & | operator= (const DtLauncherInitializer &other) |
| Assignment Operator not implemented – Do Not copy. | |
Additional Inherited Members | |
Public Types inherited from DtExerciseConnInitializer | |
| enum | DtGetValueMethod { DtForceGetValue, DtForceGetValuePointer, DtGetValuePointerWhereAvailable } |
| Indicate if getValue or getValuePointer should be used to retrieve data from handleValuePairSets. More... | |
Static Public Member Functions inherited from DtExerciseConnInitializer | |
| static DtString | vrlinkVersion () |
| Returns a string indicating the VR-Link version number. | |
DtLauncherInitializer derives from DtVrlApplicationInitializer and describes how command line/MTL parameters could be added to a VR-Link application.
DtVrlApplicationInitializer contains default behavior for protocol specific parameters, while DtLauncherInitializer contains behavior particular to the F18 app parseCmdLine() parses the command line arguments specified in this class and DtVrlApplicationInitializer. loadMtlFile() can be called (defined in DtVrlApplicationInitializer) with an MTL file name. This will parse the MTL file specified and set those variables registered
| DtLauncherInitializer::DtLauncherInitializer | ( | int | argc, |
| char * | argv[] | ||
| ) |
Default CTOR.
|
virtual |
Default DTOR.
|
private |
Copy CTOR not implemented – Do Not copy.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Register the MTL/Command Line parameters.
Non-virtual since they are called from the constructor
Reimplemented from DtVrlApplicationInitializer.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
private |
Assignment Operator not implemented – Do Not copy.
|
virtual |
Parse the command line.
This method will parse the command line and set the variables according to what options have been set on the command line
Reimplemented from DtVrlApplicationInitializer.
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Command line arguments.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
here, because MTL does not support bool types
|
protected |