VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtTMFactory Class Reference

Construct the correct class for each type of item requred. More...

Inheritance diagram for DtTMFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtTMFactory ()
 Default Constructor.
virtual ~DtTMFactory ()
 Destructor.
virtual
DtCoordinateSystemCollection * 
createCoordinateSystemCollection (const DtUnitDisplayManager *) const
 Creation functions.
virtual DtTMPluginManager * createPluginManager ()
 Create plugin manager object.
virtual void setPluginManagerCreatorFcn (DtPluginManagerCreatorFcn fcn)
virtual DtUnitDisplayManager * createUnitDisplayManager (const DtUnitConverterFactory *) const
 Create unit display manager.
virtual void setUnitDisplayManagerCreatorFcn (DtUnitDisplayManagerCreatorFcn fcn)
virtual DtUnitConverterFactory * createUnitConverterFactory () const
 Create unit converter factory.
virtual void setUnitConverterFactoryCreatorFcn (DtUnitConverterFactoryCreatorFcn fcn)
virtual DtUtilityBar * createUtilityBar (QMainWindow *)
 Create utility bar object.
virtual void setUtilityBarCreatorFcn (DtUtilityBarCreatorFcn fcn)
virtual DtBaseWindow * createMainWindow (QWidget *parent=NULL, const Qt::WindowFlags &flags=0) const
 Create new window.
virtual DtTMMapArea * createMapArea (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create map area.
virtual DtNavigationWidget * createNavigationWidget (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create navigation widget.
virtual DtTMMiniMap * createMiniMap (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create mini map.
virtual DtTMDisplayOptionsWidget * createDisplayOptionsWidget (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create display options widget.
virtual DtEditToolbarsDialog * createEditToolbarsDialog (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create toolbars editing dialog.
virtual DtFilteredListView * createFilteredListView (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create filtered list view.
virtual QWidget * createAboutBoxDialog (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create about box dialog.
virtual QWidget * createPluginDialog (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create plugin dialog.
virtual DtLocationEntryWidget * createLocationEntryWidget (QWidget *parent=0, const Qt::WindowFlags &flags=0) const
 Create location entry widget.
virtual DtSymbolLensArea * createLensArea (QWidget *parent=0, const Qt::WindowFlags &flags=0, bool useGL=false) const
 Create lens Area.
virtual DtTMRubberBand * createRubberBand () const
 Create rubber band.
virtual DtTMViewportExtents * createViewportExtents () const
 Create viewport extents.
virtual DtViewDriver * createViewDriver () const
 Create view driver.
virtual DtTMBackground * createBackground () const
 Create the background manager.
virtual DtTMSymbolUpdater * createSymbolUpdater () const
 Create symbolUpdater.
virtual DtObjectSelector * createObjectSelector () const
 Create object selector.
virtual DtBaseSymbolMapper * createSymbolMapper () const
 Create symbolMapper.
virtual DtFeatureActionManager * createFeatureActionManager () const
 Create DtFeatureActionManager.
virtual DtToolbarFactoryManager * createToolbarFactoryManager () const
 Create DtToolbarFactoryManager.
virtual DtDrawerColl * createDrawerCollection () const
 Create drawer collection.
virtual DtTMAppOptions * createAppOptions (int argc, char **argv) const
 Create app options.
virtual DtTMDisplayOptions * createDisplayOptions () const
 Create display options class.
virtual DtEventController * createEventController () const
 Create event controller object.
virtual DtEventSignaller * createEventSignaller () const
 Create event signaller object.
virtual DtEventController * createAppEventController () const
 Create application level event controller object.
virtual DtMenuWidget * createMenuWidget (QWidget *parent) const
 Creates a new menu widget.
virtual DtContextMenu * createMiddleClickContextMenu (QWidget *parent) const
 Creates a middle click context menu.
virtual DtContextMenu * createRightClickContextMenu (QWidget *parent) const
 Creates a right click context menu.
virtual void setMainWindowCreatorFcn (DtBaseWindowCreatorFcn fcn)
 Set creator functions.
virtual void setNavigationWidgetCreatorFcn (DtNavigationWidgetCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtNavigationWidget in createMainWindow().
virtual void setMapAreaCreatorFcn (DtTMMapAreaCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMMapArea in createMapArea().
virtual void setAboutBoxDialogCreatorFcn (DtAboutBoxDialogCreatorFcn fcn)
 Set the creator function to be used in createAboutBoxDialog().
virtual void setPluginDialogCreatorFcn (DtPluginDialogCreatorFcn fcn)
 Set the creator function to be used in createPluginDialog().
virtual void setMiniMapCreatorFcn (DtTMMiniMapCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMMiniMap in createMiniMap().
virtual void setFeatureActionManagerCreatorFcn (DtFeatureActionManagerCreatorFcn fcn)
 Sets DtFeatureActionManager to be created.
virtual void setToolbarFactoryManagerCreatorFcn (DtToolbarFactoryManagerCreatorFcn fcn)
 Sets DtToolbarFactoryManager to be created.
virtual void setDisplayOptionsWidgetCreatorFcn (DtTMDisplayOptionsWidgetCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMDisplayOptionsWidget in createDisplayOptionsWidget().
virtual void setEditToolbarsDialogCreatorFcn (DtEditToolbarsDialogCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtEditToolbarsDialog in createEditToolbarsDialog().
virtual void setFilteredListViewCreatorFcn (DtFilteredListViewCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtFilteredListView in createFilteredListView().
virtual void setLocationEntryWidgetCreatorFcn (DtLocationEntryWidgetCreatorFcn fcn)
 Set the creator for the location entry widget.
virtual void setLensAreaCreatorFcn (DtSymbolLensAreaCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtSymbolLensArea in createLensArea().
virtual void setRubberBandCreatorFcn (DtTMRubberBandCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMRubberBand in createRubberBand().
virtual void setViewportExtentsCreatorFcn (DtTMViewportExtentsCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMDisplayOptions in createViewportExtents().
virtual void setViewDriverCreatorFcn (DtViewDriverCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtViewDriver in createViewDriver().
virtual void setTMBackgroundCreatorFcn (DtTMBackgroundCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMBackground in createBackground().
virtual void setSymbolUpdaterCreatorFcn (DtTMSymbolUpdaterCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMSymbolUpdater in createSymbolUpdater().
virtual void setObjectSelectorCreatorFcn (DtObjectSelectorCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtObjectSelector in createObjectSelector().
virtual void setSymbolMapperCreatorFcn (DtTMSymbolMapperCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMBaseSymbolMapper in createSymbolMapper().
virtual void setDrawerCollectionCreatorFcn (DtTMDrawerCollectionCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a drawer collection.
virtual void setAppOptionsCreatorFcn (DtTMAppOptionsCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMAppOptions in createAppOptions().
virtual void setDisplayOptionsCreatorFcn (DtTMDisplayOptionsCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtTMDisplayOptions in createDisplayOptions().
virtual void setEventControllerCreatorFcn (DtEventControllerCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtEventController in createEventController().
virtual void setEventSignallerCreatorFcn (DtEventSignallerCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtEventSignaller in createEventSignaller().
virtual void setAppEventControllerCreatorFcn (DtEventControllerCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtEventController in createAppEventController().
virtual void setMenuWidgetCreatorFcn (DtMenuWidgetCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtMenuWidget in createMenuWidget().
virtual void setCreateMiddleClickContextMenuCreatorFcn (DtContextMenuCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtContextMenu in createMiddleClickContextMenu().
virtual void setCreateRightClickContextMenuCreatorFcn (DtContextMenuCreatorFcn fcn)
 Set the creator function to be used to return a newly created instance of a DtContextMenu in createRightClickContextMenu().
virtual void setCoordinateSystemCollectionCreatorFcn (DtCoordinateSystemCollectionCreatorFcn fcn)
 Sets the creator function used by createCoordinateSystemCollection().

Static Public Member Functions

static DtDrawerColl * createMainDrawerCollection ()
 Since the drawers area created as a collection of other drawers, we put the main function in here.

Protected Member Functions

 DtTMFactory (const DtTMFactory &orig)
 Not implemented.
DtTMFactory & operator= (const DtTMFactory &rhs)
 Not implemented.

Protected Attributes

DtBaseWindowCreatorFcn myMainWindowCreatorFcn
DtTMMapAreaCreatorFcn myMapAreaCreatorFcn
DtNavigationWidgetCreatorFcn myNavigationWidgetCreatorFcn
DtTMMiniMapCreatorFcn myMiniMapCreatorFcn
DtTMDisplayOptionsWidgetCreatorFcn myDisplayOptionsWidgetCreatorFcn
DtEditToolbarsDialogCreatorFcn myEditToolbarsDialogCreatorFcn
DtFilteredListViewCreatorFcn myFilteredListViewCreatorFcn
DtSymbolLensAreaCreatorFcn myLensAreaCreatorFcn
DtTMRubberBandCreatorFcn myRubberBandCreatorFcn
DtTMViewportExtentsCreatorFcn myViewportExtentsCreatorFcn
DtViewDriverCreatorFcn myViewDriverCreatorFcn
DtTMBackgroundCreatorFcn myBackgroundCreatorFcn
DtTMSymbolUpdaterCreatorFcn mySymbolUpdaterCreatorFcn
DtObjectSelectorCreatorFcn myObjectSelectorCreatorFcn
DtTMAppOptionsCreatorFcn myAppOptionsCreatorFcn
DtTMDisplayOptionsCreatorFcn myDisplayOptionsCreatorFcn
DtTMSymbolMapperCreatorFcn mySymbolMapperCreatorFcn
DtTMDrawerCollectionCreatorFcn myDrawerCollectionCreatorFcn
DtEventControllerCreatorFcn myEventControllerCreatorFcn
DtEventSignallerCreatorFcn myEventSignallerCreatorFcn
DtEventControllerCreatorFcn myAppEventControllerCreatorFcn
DtMenuWidgetCreatorFcn myMenuWidgetCreatorFcn
DtContextMenuCreatorFcn myMiddleClickCreatorFcn
DtContextMenuCreatorFcn myRightClickCreatorFcn
DtLocationEntryWidgetCreatorFcn myLocationEntryWidgetCreatorFcn
DtCoordinateSystemCollectionCreatorFcn myCoordinateSystemCollectionCreatorFcn
DtAboutBoxDialogCreatorFcn myAboutBoxDialogCreatorFcn
DtPluginDialogCreatorFcn myPluginDialogCreatorFcn
DtPluginManagerCreatorFcn myPluginManagerCreatorFcn
DtUtilityBarCreatorFcn myUtilityBarCreatorFcn
DtFeatureActionManagerCreatorFcn myFeatureActionManagerCreatorFcn
DtToolbarFactoryManagerCreatorFcn myToolbarFactoryManagerCreatorFcn
DtUnitConverterFactoryCreatorFcn myUnitConverterFactoryCreatorFcn
DtUnitDisplayManagerCreatorFcn myUnitDisplayManagerCreatorFcn

Detailed Description

Construct the correct class for each type of item requred.

This allows us to override some but not all of the classes when creating a new type of application

To change the specific types of objects returned by the various createXYZ() member functions, call the corresponding setXYZCreatorFcn() member function, passing in a function that creates the desired type of object.


Constructor & Destructor Documentation

Default Constructor.

virtual DtTMFactory::~DtTMFactory ( ) [virtual]

Destructor.

DtTMFactory::DtTMFactory ( const DtTMFactory &  orig) [protected]

Not implemented.


Member Function Documentation

Creation functions.

Returns newly created instances of the various kinds of objects this factory provides. Creates a terrain coordinate system collection

Create plugin manager object.

Create unit display manager.

Create unit converter factory.

Create utility bar object.

virtual DtBaseWindow* DtTMFactory::createMainWindow ( QWidget *  parent = NULL,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create new window.

virtual DtTMMapArea* DtTMFactory::createMapArea ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create map area.

virtual DtNavigationWidget* DtTMFactory::createNavigationWidget ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create navigation widget.

virtual DtTMMiniMap* DtTMFactory::createMiniMap ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create mini map.

virtual DtTMDisplayOptionsWidget* DtTMFactory::createDisplayOptionsWidget ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create display options widget.

virtual DtEditToolbarsDialog* DtTMFactory::createEditToolbarsDialog ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create toolbars editing dialog.

virtual DtFilteredListView* DtTMFactory::createFilteredListView ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create filtered list view.

virtual QWidget* DtTMFactory::createAboutBoxDialog ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create about box dialog.

virtual QWidget* DtTMFactory::createPluginDialog ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create plugin dialog.

virtual DtLocationEntryWidget* DtTMFactory::createLocationEntryWidget ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0 
) const [virtual]

Create location entry widget.

virtual DtSymbolLensArea* DtTMFactory::createLensArea ( QWidget *  parent = 0,
const Qt::WindowFlags &  flags = 0,
bool  useGL = false 
) const [virtual]

Create lens Area.

virtual DtTMRubberBand* DtTMFactory::createRubberBand ( ) const [virtual]

Create rubber band.

Create viewport extents.

virtual DtViewDriver* DtTMFactory::createViewDriver ( ) const [virtual]

Create view driver.

virtual DtTMBackground* DtTMFactory::createBackground ( ) const [virtual]

Create the background manager.

Create symbolUpdater.

Create object selector.

Create symbolMapper.

virtual DtDrawerColl* DtTMFactory::createDrawerCollection ( ) const [virtual]

Create drawer collection.

virtual DtTMAppOptions* DtTMFactory::createAppOptions ( int  argc,
char **  argv 
) const [virtual]

Create app options.

Create display options class.

Create event controller object.

Create event signaller object.

Create application level event controller object.

virtual DtMenuWidget* DtTMFactory::createMenuWidget ( QWidget *  parent) const [virtual]

Creates a new menu widget.

virtual DtContextMenu* DtTMFactory::createMiddleClickContextMenu ( QWidget *  parent) const [virtual]

Creates a middle click context menu.

virtual DtContextMenu* DtTMFactory::createRightClickContextMenu ( QWidget *  parent) const [virtual]

Creates a right click context menu.

Set creator functions.

Provides a way to override the types of objects this factory creates. Set the creator function to be used to return a newly created instance of a DtTMMapArea in createMainWindow().

Set the creator function to be used to return a newly created instance of a DtNavigationWidget in createMainWindow().

Set the creator function to be used to return a newly created instance of a DtTMMapArea in createMapArea().

Set the creator function to be used in createAboutBoxDialog().

Set the creator function to be used in createPluginDialog().

Set the creator function to be used to return a newly created instance of a DtTMMiniMap in createMiniMap().

Sets DtFeatureActionManager to be created.

Sets DtToolbarFactoryManager to be created.

Set the creator function to be used to return a newly created instance of a DtTMDisplayOptionsWidget in createDisplayOptionsWidget().

Set the creator function to be used to return a newly created instance of a DtEditToolbarsDialog in createEditToolbarsDialog().

Set the creator function to be used to return a newly created instance of a DtFilteredListView in createFilteredListView().

Set the creator for the location entry widget.

Set the creator function to be used to return a newly created instance of a DtSymbolLensArea in createLensArea().

Set the creator function to be used to return a newly created instance of a DtTMRubberBand in createRubberBand().

Set the creator function to be used to return a newly created instance of a DtTMDisplayOptions in createViewportExtents().

Set the creator function to be used to return a newly created instance of a DtViewDriver in createViewDriver().

Set the creator function to be used to return a newly created instance of a DtTMBackground in createBackground().

Set the creator function to be used to return a newly created instance of a DtTMSymbolUpdater in createSymbolUpdater().

Set the creator function to be used to return a newly created instance of a DtObjectSelector in createObjectSelector().

Set the creator function to be used to return a newly created instance of a DtTMBaseSymbolMapper in createSymbolMapper().

Set the creator function to be used to return a newly created instance of a drawer collection.

A drawer collection can be a single object or objects referencing other drawer collections in a chain

Set the creator function to be used to return a newly created instance of a DtTMAppOptions in createAppOptions().

Set the creator function to be used to return a newly created instance of a DtTMDisplayOptions in createDisplayOptions().

Set the creator function to be used to return a newly created instance of a DtEventController in createEventController().

Set the creator function to be used to return a newly created instance of a DtEventSignaller in createEventSignaller().

Set the creator function to be used to return a newly created instance of a DtEventController in createAppEventController().

Set the creator function to be used to return a newly created instance of a DtMenuWidget in createMenuWidget().

Set the creator function to be used to return a newly created instance of a DtContextMenu in createMiddleClickContextMenu().

Set the creator function to be used to return a newly created instance of a DtContextMenu in createRightClickContextMenu().

Sets the creator function used by createCoordinateSystemCollection().

Since the drawers area created as a collection of other drawers, we put the main function in here.

DtTMFactory& DtTMFactory::operator= ( const DtTMFactory &  rhs) [protected]

Not implemented.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)