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 | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrf::DtTerrainProfileDialogManager Class Reference

Contains makVrf::DtTerrainProfileDialogManager class. More...

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

Public Member Functions

 DtTerrainProfileDialogManager (makVrv::DtDe &)
virtual ~DtTerrainProfileDialogManager ()
virtual void createProfileDialogFor (makVrv::DtElementID, QWidget *parent=0)
 Call to create a profile dialog to plot the line represented by the element id.
virtual void showTerrainProfileForFacade (DtVrfObjectFacadeInterface *)
 Call to show terrain profile for given object facade.
virtual DtTerrainProfileDialogterrainProfileDialogFor (makVrv::DtElementID) const
 Returns the terrain profile dialog for the given element ID, if there is one.
virtual void setBlockTerrainProfileCreation (bool)
 Turn on/off the creation of profile dialogs for terrain profile lines.
virtual bool blockTerrainProfileCreation () const
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static
DtTerrainProfileDialogManager
instance (makVrv::DtDe &de)
 Returns instance of the messager.
static void registerInstance (makVrv::DtDe &, DtTerrainProfileDialogManager *)

Protected Types

typedef std::map
< makVrv::DtStateListener
*, DtTerrainProfileDialog * > 
FacadeDialogs
typedef std::map
< makVrv::DtElementID,
DtTerrainProfileDialog * > 
ElementDialogs

Protected Member Functions

virtual void onObjectFacadeAboutToBeRemoved (DtVrfObjectFacadeInterface *)
 Called when an object facade is about to be removed.
virtual void onLocalObjectCreated (DtVrfObjectFacadeInterface *, makVrv::DtVrlinkSimulatedBaseState *)
 Called when a local object is created, create terrain profile graph for terrain profile line.
virtual void onDialogAboutToBeDeleted (DtTerrainProfileDialog *)
 Signal sent when a dialog is about to be deleted. Remove any reference to it.
virtual void onIntervisibilityElementCreated (makVrv::DtIntervisibilityElement *, bool forceDialog=false)
 Called when an intervisibility object is created, bring up profile dialog if requested.
virtual void onIntervisibilityElementAboutToBeDestroyed (makVrv::DtIntervisibilityElement *)
 Called when an intervisibility object is about to be destroyed, remove profile dialog.
virtual void showTerrainProfileForFacade (DtVrfObjectFacadeInterface *, bool editing)
 Called when an object facade is created by the object manipulation manager.

Protected Attributes

makVrv::DtDemyDe
FacadeDialogs myFacadeDialogs
ElementDialogs myElementDialogs
bool myBlockTerrainProfileCreation
makVrv::DtSignalConnectionManager myConnections

Detailed Description

Contains makVrf::DtTerrainProfileDialogManager class.

Manager of terrain profile dialogs. Use this class to create a terrain profile dialog to display for a particular type (listener or id). This class is also used to monitor objects that are being created or edited to see if it needs to automatically create a profile dialog for it

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtTerrainProfileDialogManager::DtTerrainProfileDialogManager ( makVrv::DtDe )
virtual makVrf::DtTerrainProfileDialogManager::~DtTerrainProfileDialogManager ( )
virtual

Member Function Documentation

static DtTerrainProfileDialogManager& makVrf::DtTerrainProfileDialogManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

static void makVrf::DtTerrainProfileDialogManager::registerInstance ( makVrv::DtDe ,
DtTerrainProfileDialogManager  
)
static
virtual void makVrf::DtTerrainProfileDialogManager::createProfileDialogFor ( makVrv::DtElementID  ,
QWidget parent = 0 
)
virtual

Call to create a profile dialog to plot the line represented by the element id.

virtual void makVrf::DtTerrainProfileDialogManager::showTerrainProfileForFacade ( DtVrfObjectFacadeInterface )
virtual

Call to show terrain profile for given object facade.

Only multi-point environmentals currently supported

virtual DtTerrainProfileDialog* makVrf::DtTerrainProfileDialogManager::terrainProfileDialogFor ( makVrv::DtElementID  ) const
virtual

Returns the terrain profile dialog for the given element ID, if there is one.

virtual void makVrf::DtTerrainProfileDialogManager::setBlockTerrainProfileCreation ( bool  )
virtual

Turn on/off the creation of profile dialogs for terrain profile lines.

virtual bool makVrf::DtTerrainProfileDialogManager::blockTerrainProfileCreation ( ) const
virtual
virtual void makVrf::DtTerrainProfileDialogManager::onObjectFacadeAboutToBeRemoved ( DtVrfObjectFacadeInterface )
protectedvirtual

Called when an object facade is about to be removed.

If the listener is one that this dialog is managing, remove it

virtual void makVrf::DtTerrainProfileDialogManager::onLocalObjectCreated ( DtVrfObjectFacadeInterface ,
makVrv::DtVrlinkSimulatedBaseState  
)
protectedvirtual

Called when a local object is created, create terrain profile graph for terrain profile line.

virtual void makVrf::DtTerrainProfileDialogManager::onDialogAboutToBeDeleted ( DtTerrainProfileDialog )
protectedvirtual

Signal sent when a dialog is about to be deleted. Remove any reference to it.

virtual void makVrf::DtTerrainProfileDialogManager::onIntervisibilityElementCreated ( makVrv::DtIntervisibilityElement ,
bool  forceDialog = false 
)
protectedvirtual

Called when an intervisibility object is created, bring up profile dialog if requested.

virtual void makVrf::DtTerrainProfileDialogManager::onIntervisibilityElementAboutToBeDestroyed ( makVrv::DtIntervisibilityElement )
protectedvirtual

Called when an intervisibility object is about to be destroyed, remove profile dialog.

virtual void makVrf::DtTerrainProfileDialogManager::showTerrainProfileForFacade ( DtVrfObjectFacadeInterface ,
bool  editing 
)
protectedvirtual

Called when an object facade is created by the object manipulation manager.

If in edit or create mode, see if the facade wants a graph to be created for it.

Member Data Documentation

makVrv::DtDe& makVrf::DtTerrainProfileDialogManager::myDe
protected
FacadeDialogs makVrf::DtTerrainProfileDialogManager::myFacadeDialogs
protected
ElementDialogs makVrf::DtTerrainProfileDialogManager::myElementDialogs
protected
bool makVrf::DtTerrainProfileDialogManager::myBlockTerrainProfileCreation
protected
makVrv::DtSignalConnectionManager makVrf::DtTerrainProfileDialogManager::myConnections
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)