VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtMissileTargetDefinitionDialogLogic Class Reference
Inheritance diagram for makVrf::DtMissileTargetDefinitionDialogLogic:
Inheritance graph
[legend]

Public Member Functions

 DtMissileTargetDefinitionDialogLogic (makVrv::DtDe &de, DtMissileTargetDefinitionDialog *iface)
 Constructor.
virtual ~DtMissileTargetDefinitionDialogLogic ()
 Destructor.
virtual void setUserData (std::string)
virtual std::string userData ()
 retrieves the values of parameters from the dialog and returns them in the form of a string with appropriate tokenization
virtual void processUserDataChanged ()
virtual void processPopulateDialog (const makVrv::DtUniqueID &selectedUniqueID)
virtual void setupGui ()
 Tells the handler to show this dialog when the object is created.
- Public Member Functions inherited from makVrf::DtPointObjectDefinitionDialogLogic
 DtPointObjectDefinitionDialogLogic (makVrv::DtDe &de, DtPointObjectDefinitionDialog *iface)
 CTOR.
virtual ~DtPointObjectDefinitionDialogLogic ()
 DTOR.
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 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 &)
 Called when the font data has changed. Hands on to shape handler to do the actual work.
virtual void setActivationTime ()
virtual void setEmbarkationInformation (makVrv::DtUniqueID, bool)
 Sets the embarkation information in the handler.

Protected Member Functions

virtual void receiveScriptedMovementObjects (DtSimMessage *msg)
 Receives request of possible fly out files, adds them to the interface and then sets the current one (if available)
- 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_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 (makVrv::DtUnitConverterCollection::DisplayUnitType type, int unit, int oldUnit)
virtual void slot_overlayAdded (const std::string &)
virtual void slot_overlayRemoved (const std::string &)
virtual void slot_overlayRenamed (const std::string &, const std::string &)
virtual void slot_onPublishObjectChanged (bool)
virtual void slot_displayUnitDecimalsChanged (makVrv::DtUnitConverterCollection::DisplayUnitType, int, int)
 Connected to signal_displayUnitDecimalsChanged on DtDisplayUnitsSettingsSignaler.

Protected Attributes

DtMissileTargetDefinitionDialogmyCustomDialog
std::string myScriptedMovementObject
 Scripted movement object used. Will set to current fly out file after receiving fly out files available from back-end.
- Protected Attributes inherited from makVrf::DtPointObjectDefinitionDialogLogic
makVrv::DtDemyDe
DtPointObjectDefinitionDialogmyInterface
int myNameCounter
makVrv::DtSignalConnectionManager myConnectionManager
DtVector myObjectBackupLocation
bool myEditingVertex
bool myObjectBackupLocationSet

Detailed Description

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

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 ( )
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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)