VR-Forces 4.3 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::DtLocalWeatherDefinitionDialogLogic Class Reference

Logic that is used to populate and receive updates from the weather extension. More...

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

Public Member Functions

 DtLocalWeatherDefinitionDialogLogic (makVrv::DtDe &de, DtLocalWeatherDefinitionDialog *iface)
 Constructor.
virtual ~DtLocalWeatherDefinitionDialogLogic ()
 Destructor.
virtual void processPopulateDialog (const makVrv::DtUniqueID &selectedUniqueID)
virtual void setupGui ()
 Tells the handler to show this dialog when the object is created.
virtual void setPriority (int)
- Public Member Functions inherited from makVrf::DtBoxObjectDefinitionDialogLogic
 DtBoxObjectDefinitionDialogLogic (makVrv::DtDe &de, DtBoxObjectDefinitionDialog *iface)
 CTOR.
 ~DtBoxObjectDefinitionDialogLogic ()
 DTOR.
virtual void createConnections ()
virtual void terminateConnections ()
virtual void processObjectUpdate ()
virtual void setLocationValid (bool)
virtual void processDoneRequest ()
virtual void processCloseRequest ()
virtual void processLengthChanged (double value)
virtual void processWidthChanged (double value)
virtual void processReviewMouseClicks (bool flag)
virtual void populateOverlays ()
virtual void setForce (int)
virtual void processLocationChanged ()
virtual void slot_lineWidthChanged (int)
 Called when the line width changes. Hands on to shape handler to do the actual work.
virtual void slot_penStyleChanged (int)
 Called when the line style changes. Hands on to shape handler to do the actual work.
virtual void slot_fillDataChanged (int)
 Called when fill data has changed from the style dialog.
virtual void objectCreated ()
 Called when an environmental facade is created.
virtual void headingChanged ()
virtual void updateButtons ()

Protected Member Functions

virtual void processObjectCreation ()
virtual void setEnvironment (QString)
 Sets the environment from the predefined selected environment into a sim command to be executed when the entity is created.
virtual void processNamePrefixEdited (const std::string &)
virtual void slot_onWeatherUpdated (const makVrv::DtStateView< DtVrlinkSimulatedWeatherState > *s)
virtual void setupCommand (DtChangeWeatherCommand &, makArchives::DtEnvironmentRecord &)
virtual void editEnvironment ()
virtual void populateDialogWithStmt (const DtCreateObjectCommand *cmd)
virtual void setPulldownBasedOnWeatherCommand ()
- Protected Member Functions inherited from makVrf::DtBoxObjectDefinitionDialogLogic
virtual void cancelDialog ()
virtual void closeDialog ()
virtual void updateValues ()
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_onColorChanged (int)
virtual void slot_onForceChanged (int)
virtual void slot_displayUnitChanged (makVrv::DtUnitConverterCollection::DisplayUnitType type, int unit, int oldUnit)
virtual void slot_displayUnitDecimalsChanged (makVrv::DtUnitConverterCollection::DisplayUnitType, int, int)
 Connected to signal_displayUnitDecimalsChanged on DtDisplayUnitsSettingsSignaler.
virtual void processLabelEdited (const std::string &name)
virtual void processExtendedLabelsEdited (const std::map< int, DtString > &name)
virtual void slot_headingChangedByMouse (double headingInDeg)
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_onCoordinateSystemChanged ()

Protected Attributes

DtLocalWeatherDefinitionDialogmyCustomDialog
DtChangeWeatherCommand myWeatherCommand
- Protected Attributes inherited from makVrf::DtBoxObjectDefinitionDialogLogic
makVrv::DtDemyDe
DtBoxObjectDefinitionDialogmyInterface
makVrv::DtSignalConnectionManager myConnections
int myNameCounter
bool myLocationValid

Detailed Description

Logic that is used to populate and receive updates from the weather extension.

Constructor & Destructor Documentation

makVrf::DtLocalWeatherDefinitionDialogLogic::DtLocalWeatherDefinitionDialogLogic ( makVrv::DtDe de,
DtLocalWeatherDefinitionDialog iface 
)

Constructor.

virtual makVrf::DtLocalWeatherDefinitionDialogLogic::~DtLocalWeatherDefinitionDialogLogic ( )
virtual

Destructor.

Member Function Documentation

virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::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::DtBoxObjectDefinitionDialogLogic.

virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::setupGui ( )
virtual

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

Reimplemented from makVrf::DtBoxObjectDefinitionDialogLogic.

virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::setPriority ( int  )
virtual
virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::processObjectCreation ( )
protectedvirtual
virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::setEnvironment ( QString  )
protectedvirtual

Sets the environment from the predefined selected environment into a sim command to be executed when the entity is created.

When updated the sim command will be sent along with the object update

virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::processNamePrefixEdited ( const std::string &  )
protectedvirtual
virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::slot_onWeatherUpdated ( const makVrv::DtStateView< DtVrlinkSimulatedWeatherState > *  s)
protectedvirtual
virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::setupCommand ( DtChangeWeatherCommand ,
makArchives::DtEnvironmentRecord  
)
protectedvirtual
virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::editEnvironment ( )
protectedvirtual
virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::populateDialogWithStmt ( const DtCreateObjectCommand cmd)
protectedvirtual
virtual void makVrf::DtLocalWeatherDefinitionDialogLogic::setPulldownBasedOnWeatherCommand ( )
protectedvirtual

Member Data Documentation

DtLocalWeatherDefinitionDialog* makVrf::DtLocalWeatherDefinitionDialogLogic::myCustomDialog
protected
DtChangeWeatherCommand makVrf::DtLocalWeatherDefinitionDialogLogic::myWeatherCommand
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)