![]() |
VR-Link API Documentation for DIS
|
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. More... | |
| virtual | ~DtLauncherInitializer () |
| Default DTOR. More... | |
| virtual void | parseCmdLine () |
| 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()) | |
| virtual | ~DtVrlApplicationInitializer () |
| virtual void | loadFile (const DtString &fileName) |
| Load an .mtl or .xml file. More... | |
| virtual void | saveFile (const DtString &filename) |
| Saves the state of application settings to a specified .xml file. More... | |
| virtual void | setArgc (int) |
| Note if explicitly setting argc and argv, you must do this before parseCmdLine() or the behavior is undefined. More... | |
| virtual int | argc () const |
| Returns the argument count. More... | |
| virtual void | setArgv (char **) |
| Note if explicitly setting argv and argc, you must do this before parseCmdLine() or the behavior is undefined. More... | |
| virtual char ** | argv () const |
| Returns a pointer to the variable argument list. More... | |
| virtual void | setPort (int port) |
| Sets the port. More... | |
| virtual int | port () const |
| Returns the port. More... | |
| virtual void | setExerciseId (int id) |
| Sets the exercise ID. More... | |
| virtual int | exerciseId () const |
| Returns the exercise ID. More... | |
| virtual void | setApplicationNumber (int num) |
| Sets the application number. More... | |
| virtual int | applicationNumber () const |
| Returns the application number. More... | |
| virtual void | setSiteId (int id) |
| Sets the site ID. More... | |
| virtual int | siteId () const |
| Returns the site ID. More... | |
| virtual void | setDestinationAddress (const DtString &address) |
| Sets the destination address Same as above but takes address as a string. More... | |
| virtual DtString | destinationAddress () const |
| Returns the destination address. More... | |
| 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 void | setSendBufferSize (int numBytes) |
| Set the send buffer size. More... | |
| virtual int | sendBufferSize () const |
| Get the send buffer size. More... | |
| virtual void | setReceiveBufferSize (int numBytes) |
| Set the receive buffer size. More... | |
| virtual int | receiveBufferSize () const |
| Get the receive buffer size. More... | |
| 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 | setMulticastAddresses (const std::vector< DtString > &addresses) |
| virtual const std::vector < DtString > & | multicastAddresses () const |
| virtual void | setUseIpv6 (bool val) |
| virtual bool | useIpv6 () 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... | |
Public Member Functions inherited from DtExerciseConnInitializer | |
| DtExerciseConnInitializer () | |
| Constructor. More... | |
| virtual | ~DtExerciseConnInitializer () |
| Destructor. More... | |
| DtExerciseConnInitializer (const DtExerciseConnInitializer &orig) | |
| Copy Constructor. More... | |
| DtExerciseConnInitializer & | operator= (const DtExerciseConnInitializer &orig) |
| Assignment Operator. More... | |
| virtual void | setSocket (DtDisSocket *sock) |
| Sets the socket. More... | |
| virtual DtDisSocket * | socket () const |
| Returns the socket. More... | |
| virtual void | setDisVersionToSend (int version) |
| Sets the DIS version to send. More... | |
Protected Member Functions | |
| virtual void | initializeMtlParams () |
| Register the MTL/Command Line parameters. More... | |
Protected Member Functions inherited from DtVrlApplicationInitializer | |
| virtual void | initializeFileLogging () |
| Start file logging. Done automatically by the reader. More... | |
| virtual void | loadMtlFile (const DtString &fileName) |
Private Member Functions | |
| DtLauncherInitializer (const DtLauncherInitializer &other) | |
| Copy CTOR not implemented – Do Not copy. More... | |
| DtLauncherInitializer & | operator= (const DtLauncherInitializer &other) |
| Assignment Operator not implemented – Do Not copy. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from DtExerciseConnInitializer | |
| static DtString | vrlinkVersion () |
| Returns a string indicating the VR-Link version number. More... | |
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 |
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 |