![]() |
VR-Forces 5.0.2 Developer's Guide
|
The logic class acts handles the transportation of information to and from the Dialog class

Protected Attributes | |
| DtMissileTargetDefinitionDialog * | myCustomDialog |
| std::string | myScriptedMovementObject |
Protected Attributes inherited from makVrf::DtPointObjectDefinitionDialogLogic | |
| makVrv::DtDe & | myDe |
| DtPointObjectDefinitionDialog * | myInterface |
| int | myNameCounter |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| DtVector | myObjectBackupLocation |
| bool | myEditingVertex |
| bool | myObjectBackupLocationSet |
| DtVector | myLastHeadingSetLocation |
| makVrf::DtMissileTargetDefinitionDialogLogic::DtMissileTargetDefinitionDialogLogic | ( | makVrv::DtDe & | de, |
| DtMissileTargetDefinitionDialog * | iface | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
the UserData field associated with control objects is a string, so all data desired to be stored in this field
must be converted back and forth from a single string this method translates the token-separated userdata string into numerical data appropriate to parameter one and parameter two and populates the appropriate dialog fields with them
|
virtual |
retrieves the values of parameters from the dialog and returns them in the form of a string with appropriate tokenization
|
virtual |
since the create shape dialog does not have a single explicit "create" event, we need to populate the handler with userdata
whenever new parameter data is entered. This method is called by the dialog upon entry of any new parameter data and sends the new information along to the handler
|
virtual |
this method populates an edit dialog with object information. since the base logic class does not have any provisions to
transport userdata from the handler, we here override, calling the base class method and then pulling userdata from the handler & populating the parameter dialog fields
Reimplemented from makVrf::DtPointObjectDefinitionDialogLogic.
|
virtual |
Tells the handler to show this dialog when the object is created.
Reimplemented from makVrf::DtPointObjectDefinitionDialogLogic.
|
protectedvirtual |
Receives request of possible fly out files, adds them to the interface and then sets the current one (if available)
|
protected |
The base logic class has a pointer the the base dialog class (DtShapeObjectDefinitionDialog) called myInterface. We instantiate
the derived dialog class DtCustomControlObjectDefinitionDialog and set the myInterface pointer of the base logic class to the derived dialog.
|
protected |
Scripted movement object used. Will set to current fly out file after receiving fly out files available from back-end.