VR-Forces 4.1.1 Class Documentation
List of all members | 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]

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

makVrv::DtTacticalGraphicOverlayTreeInterface::DtTacticalGraphicOverlayTreeInterface ( )
virtual makVrv::DtTacticalGraphicOverlayTreeInterface::~DtTacticalGraphicOverlayTreeInterface ( )
virtual

Member Function Documentation

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::clearOverlays ( )
pure virtual

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.

virtual void makVrv::DtTacticalGraphicOverlayTreeInterface::removeTacticalGraphic ( const DtUniqueID id)
pure virtual

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

boost::signal<void (const std::string&, bool)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_filterStatusChanged

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

boost::signal<void (const std::string&, bool)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_overlayVisibilityChanged

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

boost::signal<void (const DtUniqueID&, bool)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_tacticalGraphicVisibilityChanged

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

boost::signal<void (bool)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_showEmptyOverlays

Signal to the logic to show/hide empty overlays.

boost::signal<void (const std::string&)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_overlaySelected

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

boost::signal<void (const DtUniqueID&)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_tacticalGraphicSelected

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