VR-Forces 4.1.1 Class Documentation
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. More...

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 ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Protected Types

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

Protected Member Functions

virtual void slot_tacticalGraphicAdded (const DtUniqueID &id, const std::string &name)
 Called in when the Tactical Graphic Overlay Manager signals that a new graphic with the given id and name has been added.
virtual void slot_tacticalGraphicRenamed (const DtUniqueID &id, const std::string &newName)
 Called when the Tactical Graphic Overlay Manager signals that a graphic with the given id has been renamed.
virtual void slot_tacticalGraphicOverlayRenamed (const DtUniqueID &id, const std::string &overlayName)
 Called when the the Tactical Graphic Overlay Manager signals that a graphic with the given id has changed its parent overlay.
virtual void slot_tacticalGraphicRemoved (const DtUniqueID &id)
 Called when the Tactical Graphic Overlay Manager signals that a graphic with the given id has been removed.
virtual void slot_overlayDeleted (const std::string &name)
 Called when the Tactical Graphic Overlay Manager signals that an overlay with the given name has been removed.
virtual void slot_tacticalGraphicSelected (const DtUniqueID &id)
 Called when the interface signals that a tactical graphic with the given id has been selected.
virtual void slot_tacticalGraphicVisibilityChanged (const DtUniqueID &id, bool flag)
 Called when the interface signals that a graphics' visibility has changed.
virtual void slot_overlaySelected (const std::string &name)
 Called when the interface signals that an overlay has been selected.
virtual void slot_filterStatusChanged (const std::string &name, bool flag)
virtual void slot_overlayVisibilityChanged (const std::string &name, bool flag)
 Called when the interface signals that an overlay's visibility has changed.
virtual void slot_overlayVisibilityChangedFromManager (const std::string &layer, bool b)
 Called when the visibility of an overlay layer has changed from the manager.
virtual void slot_showEmptyOverlays (bool flag)
 Called when the interface signals to show/hide empty overlays.
virtual void slot_overlayAdded (const std::string &name)
 Called when a new overlay is added.
virtual void refreshOverlays ()
 Repopulates the interface with the list of overlays.
virtual void slot_selMgrCurrentSelectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &deselected)
virtual void fillGui ()
 Fill the GUI with data from the sim elements.

Protected Attributes

DtDemyDe
DtTacticalGraphicOverlayTreeInterfacemyWidget
DtSignalConnectionManager myManager
KeyToNameMap myKeyToName
bool myHideEmptyOverlays

Detailed Description

The logic for populating and managing the DtTacticalGraphicOverlayTreeWidget.

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.

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.

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.

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.

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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)