VR-Forces 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 Types | Protected Member Functions | Protected Attributes
makVrv::DtTacticalGraphicOverlayTreeLogic Class Reference

The logic for populating and managing the DtTacticalGraphicOverlayTreeWidget.

Inheritance diagram for makVrv::DtTacticalGraphicOverlayTreeLogic:
Inheritance graph
[legend]

Public Member Functions

 DtTacticalGraphicOverlayTreeLogic (DtDe &de, DtTacticalGraphicOverlayTreeInterface *iface)
 
 ~DtTacticalGraphicOverlayTreeLogic ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Protected Types

typedef boost::unordered_map
< DtUniqueID, std::string > 
KeyToNameMap
 

Protected Member Functions

virtual void slot_tacticalGraphicAdded (const DtUniqueID &id, const std::string &name)
 
virtual void slot_tacticalGraphicRenamed (const DtUniqueID &id, const std::string &newName)
 
virtual void slot_tacticalGraphicOverlayRenamed (const DtUniqueID &id, const std::string &overlayName)
 
virtual void slot_tacticalGraphicRemoved (const DtUniqueID &id)
 
virtual void slot_overlayDeleted (const std::string &name)
 
virtual void slot_tacticalGraphicSelected (const DtUniqueID &id)
 
virtual void slot_tacticalGraphicVisibilityChanged (const DtUniqueID &id, bool flag)
 
virtual void slot_overlaySelected (const std::string &name)
 
virtual void slot_filterStatusChanged (const std::string &name, bool flag)
 
virtual void slot_overlayVisibilityChanged (const std::string &name, bool flag)
 
virtual void slot_overlayVisibilityChangedFromManager (const std::string &layer, bool b)
 
virtual void slot_showEmptyOverlays (bool flag)
 
virtual void slot_overlayAdded (const std::string &name)
 
virtual void refreshOverlays ()
 
virtual void slot_selMgrCurrentSelectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected)
 
virtual void fillGui ()
 

Protected Attributes

DtDemyDe
 
DtTacticalGraphicOverlayTreeInterfacemyWidget
 
DtSignalConnectionManager myManager
 
KeyToNameMap myKeyToName
 
bool myHideEmptyOverlays
 

Member Typedef Documentation

typedef boost::unordered_map<DtUniqueID, std::string> makVrv::DtTacticalGraphicOverlayTreeLogic::KeyToNameMap
protected

Constructor & Destructor Documentation

makVrv::DtTacticalGraphicOverlayTreeLogic::DtTacticalGraphicOverlayTreeLogic ( DtDe de,
DtTacticalGraphicOverlayTreeInterface iface 
)
makVrv::DtTacticalGraphicOverlayTreeLogic::~DtTacticalGraphicOverlayTreeLogic ( )

Member Function Documentation

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_tacticalGraphicAdded ( const DtUniqueID id,
const std::string &  name 
)
protectedvirtual

Called in when the Tactical Graphic Overlay Manager signals that a new graphic with the given id and name has been added.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_tacticalGraphicRenamed ( const DtUniqueID id,
const std::string &  newName 
)
protectedvirtual

Called when the Tactical Graphic Overlay Manager signals that a graphic with the given id has been renamed. It updates the interface to reflect the change.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_tacticalGraphicOverlayRenamed ( const DtUniqueID id,
const std::string &  overlayName 
)
protectedvirtual

Called when the the Tactical Graphic Overlay Manager signals that a graphic with the given id has changed its parent overlay. . It updates the interface to reflect the change.

Reimplemented in makVrf::DtVrfTacticalGraphicOverlayTreeLogic.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_tacticalGraphicRemoved ( const DtUniqueID id)
protectedvirtual

Called when the Tactical Graphic Overlay Manager signals that a graphic with the given id has been removed. It updates the interface to reflect the change.

Reimplemented in makVrf::DtVrfTacticalGraphicOverlayTreeLogic.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlayDeleted ( const std::string &  name)
protectedvirtual

Called when the Tactical Graphic Overlay Manager signals that an overlay with the given name has been removed.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_tacticalGraphicSelected ( const DtUniqueID id)
protectedvirtual

Called when the interface signals that a tactical graphic with the given id has been selected.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_tacticalGraphicVisibilityChanged ( const DtUniqueID id,
bool  flag 
)
protectedvirtual

Called when the interface signals that a graphics' visibility has changed.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlaySelected ( const std::string &  name)
protectedvirtual

Called when the interface signals that an overlay has been selected.

Reimplemented in makVrf::DtVrfTacticalGraphicOverlayTreeLogic.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_filterStatusChanged ( const std::string &  name,
bool  flag 
)
protectedvirtual
virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlayVisibilityChanged ( const std::string &  name,
bool  flag 
)
protectedvirtual

Called when the interface signals that an overlay's visibility has changed.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlayVisibilityChangedFromManager ( const std::string &  layer,
bool  b 
)
protectedvirtual

Called when the visibility of an overlay layer has changed from the manager.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_showEmptyOverlays ( bool  flag)
protectedvirtual

Called when the interface signals to show/hide empty overlays.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlayAdded ( const std::string &  name)
protectedvirtual

Called when a new overlay is added.

Reimplemented in makVrf::DtVrfTacticalGraphicOverlayTreeLogic.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::refreshOverlays ( )
protectedvirtual

Repopulates the interface with the list of overlays. It might display the empty overlays or not.

virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_selMgrCurrentSelectionChanged ( const DtSelectionManager::IdSet selected,
const DtSelectionManager::IdSet deselected 
)
protectedvirtual
virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::fillGui ( )
protectedvirtual

Fill the GUI with data from the sim elements.

Member Data Documentation

DtDe& makVrv::DtTacticalGraphicOverlayTreeLogic::myDe
protected
DtTacticalGraphicOverlayTreeInterface* makVrv::DtTacticalGraphicOverlayTreeLogic::myWidget
protected
DtSignalConnectionManager makVrv::DtTacticalGraphicOverlayTreeLogic::myManager
protected
KeyToNameMap makVrv::DtTacticalGraphicOverlayTreeLogic::myKeyToName
protected
bool makVrv::DtTacticalGraphicOverlayTreeLogic::myHideEmptyOverlays
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)