Public Member Functions |
| | DtVrfTacticalGraphicOverlayManager (makVrv::DtDe &) |
| | CTOR.
|
| virtual | ~DtVrfTacticalGraphicOverlayManager () |
| | DTOR.
|
| virtual void | slot_onElementAttributesChanged (const makVrv::DtElementData::EntryAttributesList &attributes) |
| | Called by signal whenever element attributes change.
|
| virtual void | setTacticalGraphicVisible (const makVrv::DtUniqueID &id, bool flag) |
| | Updates the visibility status of a tactical graphic inside the manager – except if this is a stealth object.
|
| virtual void | setCanRenameOverlay (const std::string &, bool) |
| | Set various flags that can define attributes of an overlay.
|
| virtual bool | canRenameOverlay (const std::string &) |
| virtual void | setCanSelectOverlay (const std::string &, bool) |
| virtual bool | canSelectOverlay (const std::string &) |
| virtual void | setCanMoveFromOverlay (const std::string &, bool) |
| virtual bool | canMoveFromOverlay (const std::string &) |
| virtual void | setIsPersistentOverlay (const std::string &, bool) |
| virtual bool | isPersistentOverlay (const std::string &) |
| virtual void | deleteOverlay (const std::string &name) |
| | Removes the overlay with the given name from the manager.
|
| virtual void | renameVrfOverlay (const std::string &oldName, const std::string &newName) |
| | Renames overlay on the network from the old to the new name.
|
| virtual void | renameOverlay (const std::string &oldName, const std::string &newName) |
| | Renames the overlay with the oldName to newName emits signal_overlayRenamed if overlay is successfully renamed.
|
| virtual void | hideOverlay (const std::string &overlay) |
| | Create this overlay but hide it on the overlay tab and overlay list widget. Will still be available on the edit dialogs.
|
| virtual bool | overlayHidden (const std::string &) const |
| virtual void | showOverlay (const std::string &overlay) |
| | Show the overlay again.
|
| virtual void | setOverlayLocked (const std::string &overlayName, bool flag) |
| virtual | ~DtTacticalGraphicOverlayManager () |
| | Destructor.
|
| virtual void | addTacticalGraphic (const DtUniqueID &id, const std::string &name) |
| | Adds a tactical graphic with the given id and name.
|
| virtual const std::string * | tacticalGraphicName (const DtUniqueID &id) const |
| | Returns the name of the tactical graphic associated with the id if no graphic is found, returns 0.
|
| virtual void | removeTacticalGraphic (const DtUniqueID &id) |
| | Removes the tactical graphic with the given id from the manager emits signal_tacticalGraphicRemoved if graphic is found/removed.
|
| virtual void | renameTacticalGraphic (const DtUniqueID &id, const std::string &newName) |
| | Renames the tactical graphic with the given id to the new name inside the manager emits signal_tacticalGraphicRenamed if graphic is found/renamed.
|
| virtual void | renameTacticalGraphicOverlay (const DtUniqueID &id, const std::string &newName) |
| | Renames the tactical graphic's overlay to the new name inside the manager emits signal_tacticalGraphicOverlayRenamed if successful (id found and overlay renamed)
|
| virtual std::string | newOverlay () |
| | Creates a new overlay with a default name.
|
| virtual void | addOverlay (const std::string &name) |
| | Creates a new overlay with the given name.
|
| virtual DtTacticalGraphicOverlay * | findOverlay (const std::string &name) const |
| | Finds the overlay associated with the given name.
|
virtual
DtTacticalGraphicOverlayList | overlays () const |
| | Returns the list of overlays currently registered in the manager.
|
| virtual bool | overlayVisible (const std::string &overlayName) const |
| | Set/Get the visible status of the given overlay.
|
| virtual void | setOverlayVisible (const std::string &overlayName, bool flag) |
| virtual bool | overlayFiltered (const std::string &overlayName) const |
| | Set/Get the visible status of the given overlay.
|
| virtual void | setOverlayFiltered (const std::string &overlayName, bool flag) |
| virtual bool | overlayLocked (const std::string &overlayName) const |
| | Set/Get the lock status of the given overlay.
|
virtual const
DtTacticalGraphicOverlay * | currentOverlay () const |
| | Set/Get the overlay marked as 'current overlay' inside the manager.
|
| virtual void | setCurrentOverlay (const std::string &name) |
| virtual void | setTacticalGraphicTypes (const TacticalGraphicTypeVector &) |
| | Sets the types valid to be placed on an overlay layer.
|
virtual const
TacticalGraphicTypeVector & | tacticalGraphicTypes () const |
| | Returns current tactical graphic types.
|
| virtual bool | isTacticalGraphic (const DtUniqueID &id) const |
| | Returns true if this particular element can be placed on an overlay layer.
|
| | DtVirtualBaseClass () |
| | Do nothing constructor.
|
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor.
|
Public Attributes |
boost::signal< void(const
std::string &, int)> | signal_flagsChanged |
boost::signal< void(const
std::string &, bool)> | signal_overlayHidden |
boost::signal< void(const
std::string &, bool)> | signal_overlayLocked |
boost::signal< void(const
DtUniqueID &, const
std::string &)> | signal_tacticalGraphicAdded |
boost::signal< void(const
DtUniqueID &, const
std::string &)> | signal_tacticalGraphicRenamed |
boost::signal< void(const
DtUniqueID &, const
std::string &)> | signal_tacticalGraphicOverlayRenamed |
boost::signal< void(const
DtUniqueID &)> | signal_tacticalGraphicRemoved |
boost::signal< void(const
DtUniqueID &, bool)> | signal_tacticalGraphicVisibilityChanged |
boost::signal< void(const
std::string &)> | signal_overlayAdded |
boost::signal< void(const
std::string &)> | signal_overlayDeleted |
boost::signal< void(const
std::string &, bool)> | signal_overlayFiltered |
boost::signal< void(const
std::string &, bool)> | signal_overlayVisibilityChanged |
boost::signal< void(const
std::string &, const
std::string &)> | signal_overlayRenamed |
boost::signal< void(const
std::string &)> | signal_currentOverlayChanged |
Override tactical graphic manager to support aggregate/entities on palette.