VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtMissileTargetDefinitionDialogLogic Class Reference

The logic class acts handles the transportation of information to and from the Dialog class

Inheritance diagram for makVrf::DtMissileTargetDefinitionDialogLogic:
Inheritance graph
[legend]

Public Member Functions

 DtMissileTargetDefinitionDialogLogic (makVrv::DtDe &de, DtMissileTargetDefinitionDialog *iface)
 
virtual ~DtMissileTargetDefinitionDialogLogic ()
 
virtual void setUserData (std::string)
 
virtual std::string userData ()
 
virtual void processUserDataChanged ()
 
virtual void processPopulateDialog (const makVrv::DtUniqueID &selectedUniqueID)
 
virtual void setupGui (DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode mode)
 
- Public Member Functions inherited from makVrf::DtPointObjectDefinitionDialogLogic
 DtPointObjectDefinitionDialogLogic (makVrv::DtDe &de, DtPointObjectDefinitionDialog *iface)
 
virtual ~DtPointObjectDefinitionDialogLogic ()
 
virtual void createConnections ()
 
virtual void terminateConnections ()
 
virtual void processObjectCreation ()
 
virtual void processObjectUpdate ()
 
virtual void processAltitudeSelectionTypeChanged (const DtAltitudeClampType &)
 
virtual void processDoneRequest ()
 
virtual void processCloseRequest ()
 
virtual void processHeadingChanged (double value)
 
virtual void processPitchChanged (double value)
 
virtual void processReviewMouseClicks (bool flag)
 
virtual void processNamePrefixEdited (const std::string &name)
 
virtual void processLabelEdited (const std::string &name)
 
virtual void processExtendedLabelsEdited (const std::map< int, DtString > &name)
 
virtual void populateOverlays ()
 
virtual void setForce (int)
 
virtual void processLocationChanged ()
 
virtual void processAltitudeAboveSeaLevelEdited (double)
 
virtual void processAltitudeAboveGroundLevelEdited (double)
 
virtual void processClampSelectionChanged (double)
 
virtual void populateDialogWithStmt (const DtCreateObjectCommand *cmd)
 
virtual void forceHandlerUpdate (const DtVector &location)
 
virtual bool isText () const
 
virtual void objectCreated ()
 
virtual void slot_fontDataChanged (const std::string &)
 
virtual void setActivationTime ()
 
virtual void setEmbarkationInformation (makVrv::DtUniqueID, bool)
 

Protected Member Functions

virtual void receiveScriptedMovementObjects (DtSimMessage *msg)
 
- Protected Member Functions inherited from makVrf::DtPointObjectDefinitionDialogLogic
virtual void setupActivationTime (const DtSetDataRequest &setReq)
 
virtual void cancelDialog ()
 
virtual void closeDialog ()
 
virtual void slot_onMouseLocationChanged (const DtVector &loc)
 
virtual void slot_onMouseHeadingChanged (double heading)
 
virtual void slot_onMousePitchChanged (double heading)
 
virtual void slot_onMouseAltitudeChanged (double heading)
 
virtual void slot_onHandlerStopped (DtVrfObjectManipulationHandlerBaseClass *handler)
 
virtual void slot_onPlacement (const DtVector &loc)
 
virtual void slot_onLocationSet (const DtVector &loc)
 
virtual void slot_onOverlayNameChanged (const std::string &name)
 
virtual void slot_onForceChanged (int)
 
virtual void slot_displayUnitChanged (const makVrv::DtUnicode &category, const makVrv::DtUnicode &type, int unit, int oldUnit)
 
virtual void slot_onPublishObjectChanged (bool)
 
virtual void slot_displayUnitDecimalsChanged (const makVrv::DtUnicode &category, const makVrv::DtUnicode &type, int precision)
 
virtual void slot_onCoordinateSystemChanged (const makVrv::DtUnicode &category, const makVrv::DtUnicode &type, int newUnit)
 

Protected Attributes

DtMissileTargetDefinitionDialogmyCustomDialog
 
std::string myScriptedMovementObject
 
- Protected Attributes inherited from makVrf::DtPointObjectDefinitionDialogLogic
makVrv::DtDemyDe
 
DtPointObjectDefinitionDialogmyInterface
 
int myNameCounter
 
makVrv::DtSignalConnectionManager myConnectionManager
 
DtVector myObjectBackupLocation
 
bool myEditingVertex
 
bool myObjectBackupLocationSet
 
DtVector myLastHeadingSetLocation
 

Constructor & Destructor Documentation

makVrf::DtMissileTargetDefinitionDialogLogic::DtMissileTargetDefinitionDialogLogic ( makVrv::DtDe de,
DtMissileTargetDefinitionDialog iface 
)

Constructor.

virtual makVrf::DtMissileTargetDefinitionDialogLogic::~DtMissileTargetDefinitionDialogLogic ( )
virtual

Destructor.

Member Function Documentation

virtual void makVrf::DtMissileTargetDefinitionDialogLogic::setUserData ( std::string  )
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 std::string makVrf::DtMissileTargetDefinitionDialogLogic::userData ( )
virtual

retrieves the values of parameters from the dialog and returns them in the form of a string with appropriate tokenization

virtual void makVrf::DtMissileTargetDefinitionDialogLogic::processUserDataChanged ( )
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 void makVrf::DtMissileTargetDefinitionDialogLogic::processPopulateDialog ( const makVrv::DtUniqueID selectedUniqueID)
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 void makVrf::DtMissileTargetDefinitionDialogLogic::setupGui ( DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode  mode)
virtual

Tells the handler to show this dialog when the object is created.

Reimplemented from makVrf::DtPointObjectDefinitionDialogLogic.

virtual void makVrf::DtMissileTargetDefinitionDialogLogic::receiveScriptedMovementObjects ( DtSimMessage msg)
protectedvirtual

Receives request of possible fly out files, adds them to the interface and then sets the current one (if available)

Member Data Documentation

DtMissileTargetDefinitionDialog* makVrf::DtMissileTargetDefinitionDialogLogic::myCustomDialog
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.

std::string makVrf::DtMissileTargetDefinitionDialogLogic::myScriptedMovementObject
protected

Scripted movement object used. Will set to current fly out file after receiving fly out files available from back-end.


The documentation for this class was generated from the following file:

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)