VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes
makVrv::DtTacticalGraphicOverlayTreeInterface Class Reference

The interface used by the DtTacticalGraphicOverlaysTreeWidget and the DtTacticalGraphicsTreeWidgetLogic. More...

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

List of all members.

Public Member Functions

 DtTacticalGraphicOverlayTreeInterface ()
virtual ~DtTacticalGraphicOverlayTreeInterface ()
virtual void clearOverlays ()=0
 Removes all the overlays from the GUI along with all the elements inside each overlay.
virtual void addOverlay (const std::string &name)=0
 Adds an overlay with the given name to the tree.
virtual void collapseOverlay (const std::string &name)=0
 Collapses the overlay with the given name, hiding all of its children.
virtual void expandOverlay (const std::string &name)=0
 Expands the overlay with the given name, showing all of its children.
virtual void removeOverlay (const std::string &name)=0
 Removes the overlay (and all its children) from the tree.
virtual void addTacticalGraphic (const DtUniqueID &id, const std::string &name, const std::string &ovrName)=0
 Adds a new item to the tree.
virtual void moveTacticalGraphic (const DtUniqueID &id, const std::string &toOvrName)=0
 Moves the item with the given name from its current location to the overlay matching the given toOvrName.
virtual void renameTacticalGraphic (const DtUniqueID &id, const std::string &newName)=0
 Renames the item with the given name to newName.
virtual void removeTacticalGraphic (const DtUniqueID &id)=0
 Removes an item from the tree.
virtual void setTacticalGraphicSelected (const DtUniqueID &id, bool flag)=0
 Tell the gui to select the tactical graphic with the specified id.
virtual void setOverlayLayerVisible (const std::string &overlay, bool b)=0
 Sets whether or not layer is visible by changing the check state of the overlay item.

Public Attributes

boost::signal< void(const
std::string &, bool)> 
signal_filterStatusChanged
 Signal to the logic that a filter was checked/unchecked.
boost::signal< void(const
std::string &, bool)> 
signal_overlayVisibilityChanged
 Signal to the logic that an overlay was checked/unchecked for visibility.
boost::signal< void(const
DtUniqueID &, bool)> 
signal_tacticalGraphicVisibilityChanged
 Signal to the logic that a object inside an overlay was checked/unchecked for visibility.
boost::signal< void(bool)> signal_showEmptyOverlays
 Signal to the logic to show/hide empty overlays.
boost::signal< void(const
std::string &)> 
signal_overlaySelected
 Signal to the logic that an overlay has been selected in the GUI.
boost::signal< void(const
DtUniqueID &)> 
signal_tacticalGraphicSelected
 Signal to the logic that a tactical graphic has been selected in the GUI.

Detailed Description

The interface used by the DtTacticalGraphicOverlaysTreeWidget and the DtTacticalGraphicsTreeWidgetLogic.


Constructor & Destructor Documentation


Member Function Documentation

Removes all the overlays from the GUI along with all the elements inside each overlay.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::addOverlay ( const std::string &  name) [pure virtual]

Adds an overlay with the given name to the tree.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget, and makVrf::DtVrfTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::collapseOverlay ( const std::string &  name) [pure virtual]

Collapses the overlay with the given name, hiding all of its children.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::expandOverlay ( const std::string &  name) [pure virtual]

Expands the overlay with the given name, showing all of its children.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::removeOverlay ( const std::string &  name) [pure virtual]

Removes the overlay (and all its children) from the tree.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget, and makVrf::DtVrfTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::addTacticalGraphic ( const DtUniqueID id,
const std::string &  name,
const std::string &  ovrName 
) [pure virtual]

Adds a new item to the tree.

If the ovrName comes with a non-empty string, it will put the item under the overlay matching such name.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget, and makVrf::DtVrfTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::moveTacticalGraphic ( const DtUniqueID id,
const std::string &  toOvrName 
) [pure virtual]

Moves the item with the given name from its current location to the overlay matching the given toOvrName.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::renameTacticalGraphic ( const DtUniqueID id,
const std::string &  newName 
) [pure virtual]

Renames the item with the given name to newName.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.

Removes an item from the tree.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::setTacticalGraphicSelected ( const DtUniqueID id,
bool  flag 
) [pure virtual]

Tell the gui to select the tactical graphic with the specified id.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::setOverlayLayerVisible ( const std::string &  overlay,
bool  b 
) [pure virtual]

Sets whether or not layer is visible by changing the check state of the overlay item.

Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.


Member Data Documentation

Signal to the logic that a filter was checked/unchecked.

Signal to the logic that an overlay was checked/unchecked for visibility.

Signal to the logic that a object inside an overlay was checked/unchecked for visibility.

Signal to the logic to show/hide empty overlays.

Signal to the logic that an overlay has been selected in the GUI.

Signal to the logic that a tactical graphic has been selected in the GUI.


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)