![]() |
VR-Forces 4.0.4 Class Documentation
|
The logic for populating and managing the DtTacticalGraphicOverlayTreeWidget. More...

Public Member Functions | |
| DtTacticalGraphicOverlayTreeLogic (DtDe &de, DtTacticalGraphicOverlayTreeInterface *iface) | |
| ~DtTacticalGraphicOverlayTreeLogic () | |
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 | |
| DtDe & | myDe |
| DtTacticalGraphicOverlayTreeInterface * | myWidget |
| DtSignalConnectionManager | myManager |
| KeyToNameMap | myKeyToName |
| bool | myHideEmptyOverlays |
The logic for populating and managing the DtTacticalGraphicOverlayTreeWidget.
typedef boost::unordered_map<DtUniqueID, std::string> makVrv::DtTacticalGraphicOverlayTreeLogic::KeyToNameMap [protected] |
| makVrv::DtTacticalGraphicOverlayTreeLogic::DtTacticalGraphicOverlayTreeLogic | ( | DtDe & | de, |
| DtTacticalGraphicOverlayTreeInterface * | iface | ||
| ) |
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_tacticalGraphicAdded | ( | const DtUniqueID & | id, |
| const std::string & | name | ||
| ) | [protected, virtual] |
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 | ||
| ) | [protected, virtual] |
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 | ||
| ) | [protected, virtual] |
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 | ) | [protected, virtual] |
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 | ) | [protected, virtual] |
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 | ) | [protected, virtual] |
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 | ||
| ) | [protected, virtual] |
Called when the interface signals that a graphics' visibility has changed.
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlaySelected | ( | const std::string & | name | ) | [protected, virtual] |
Called when the interface signals that an overlay has been selected.
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_filterStatusChanged | ( | const std::string & | name, |
| bool | flag | ||
| ) | [protected, virtual] |
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlayVisibilityChanged | ( | const std::string & | name, |
| bool | flag | ||
| ) | [protected, virtual] |
Called when the interface signals that an overlay's visibility has changed.
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlayVisibilityChangedFromManager | ( | const std::string & | layer, |
| bool | b | ||
| ) | [protected, virtual] |
Called when the visibility of an overlay layer has changed from the manager.
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_showEmptyOverlays | ( | bool | flag | ) | [protected, virtual] |
Called when the interface signals to show/hide empty overlays.
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::slot_overlayAdded | ( | const std::string & | name | ) | [protected, virtual] |
Called when a new overlay is added.
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::refreshOverlays | ( | ) | [protected, virtual] |
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 | ||
| ) | [protected, virtual] |
| virtual void makVrv::DtTacticalGraphicOverlayTreeLogic::fillGui | ( | ) | [protected, virtual] |
Fill the GUI with data from the sim elements.
DtDe& makVrv::DtTacticalGraphicOverlayTreeLogic::myDe [protected] |
DtTacticalGraphicOverlayTreeInterface* makVrv::DtTacticalGraphicOverlayTreeLogic::myWidget [protected] |