![]() |
VR-Forces 4.2 Class Documentation
|

Public Member Functions | |
| DtVrfHierarchyPageLogic (makVrv::DtDe &de, DtVrfHierarchyPage *iface) | |
| CTOR. | |
| virtual | ~DtVrfHierarchyPageLogic () |
| virtual void | slot_itemSelectionChanged () |
| virtual void | slot_rightClickOnItem (QPoint global) |
| virtual QTreeWidgetItem * | itemForState (const DtVrfObjectListViewItem::DtVrfObjectState s) const |
| virtual void | expandToLevel (unsigned int i) |
| virtual void | collapseToLevel (unsigned int i) |
| virtual void | viewItemExpanded (QTreeWidgetItem *i) |
| virtual void | viewItemCollapsed (QTreeWidgetItem *i) |
| virtual void | deparent (const QStringList &)=0 |
| virtual void | reparent (const QStringList &children, makVrv::DtUniqueID parentId)=0 |
| virtual bool | processHierarchyItem (makVrv::DtElementIDHierarchyNode *, bool force=false) |
| Call to process this item and add to tree. Returns true if item successfully added. | |
Protected Types | |
| typedef std::map < makVrv::DtElementID, DtVrfObjectListViewItem * > | DtHierarchyListItemMap |
| typedef std::map < makVrv::DtUniqueID, DtVrfObjectListViewItem * > | DtHierarchyStateIDListItemMap |
| typedef std::map < makVrv::DtElementID, std::pair < makVrv::DtElementIDHierarchyNode, int > > | PendingOperationsMap |
Protected Member Functions | |
| virtual void | slot_onTick (makVrv::DtDe &) |
| virtual void | slot_onStateViewAdded (const makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > &s) |
| Called when a state view is added. | |
| virtual bool | addNode (makVrv::DtElementIDHierarchyNode *) const |
| Return false to not add node. Default is true. | |
| virtual bool | isValidState (makVrv::DtUniqueID) const |
| Checks to make sure this is a valid item to add to the hierarchy. | |
| virtual void | removeNode (makVrv::DtElementID) |
| virtual bool | positionNodeInHierarchy (makVrv::DtElementIDHierarchyNode *, bool force=false) |
| virtual void | hookChildToParent (makVrv::DtElementIDHierarchyNode *) |
| virtual void | hookParentToChildren (makVrv::DtElementIDHierarchyNode *) |
| virtual DtVrfObjectListViewItem * | createItemFor (makVrv::DtElementIDHierarchyNode *) |
| virtual QVariant | echelonId (const DtVrfObjectListViewItem *) const |
| virtual bool | sortByEchelonId (const DtVrfObjectListViewItem &rhs, const DtVrfObjectListViewItem &lhs) |
| virtual int | getDesignator (const std::string &echelon) const |
| virtual void | addDataFunctions (DtVrfObjectListViewItem *item) |
| virtual void | addSortingFunctions (DtVrfObjectListViewItem *item) |
| virtual void | slot_externalSelectionChanged (const makVrv::DtSelectionManager::IdSet &selected, const makVrv::DtSelectionManager::IdSet &deselected) |
| virtual void | updateCollapseButtons () |
| virtual void | updateCollapseButtons (QTreeWidgetItem *) |
| virtual void | createCollapseButton (unsigned int) |
| virtual void | expandToLevel (unsigned int level, QTreeWidgetItem *lvi) |
| virtual void | collapseToLevel (unsigned int level, QTreeWidgetItem *lvi) |
| virtual void | hierarchyItemsModified (const makVrv::DtElementData::EntryAttributesList &)=0 |
| Called when the echelon hierarchy has changed, process the changes. | |
| virtual void | hierarchyItemsRemoved (const makVrv::DtElementData::UniqueIdList &) |
| virtual void | checkPendingOperations () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtVrfHierarchyPage * | myInterface |
| std::vector < DtExpandCollapseButton * > | myCollapseButtonVector |
| DtHierarchyListItemMap | myItems |
| DtHierarchyStateIDListItemMap | myStateIdMap |
| bool | myDirty |
| bool | myUpdateCollapseButtons |
| bool | myShowEchelonId |
| bool | myFirstTick |
| int | myRetries |
| PendingOperationsMap | myPendingOperations |
|
protected |
|
protected |
|
protected |
| makVrf::DtVrfHierarchyPageLogic::DtVrfHierarchyPageLogic | ( | makVrv::DtDe & | de, |
| DtVrfHierarchyPage * | iface | ||
| ) |
CTOR.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
pure virtual |
Implemented in makVrf::DtVrfEchelonHierarchyPageLogic, and makVrf::DtVrfEmbarkationHierarchyPageLogic.
|
pure virtual |
Implemented in makVrf::DtVrfEchelonHierarchyPageLogic, and makVrf::DtVrfEmbarkationHierarchyPageLogic.
|
virtual |
Call to process this item and add to tree. Returns true if item successfully added.
|
protectedvirtual |
|
protectedvirtual |
Called when a state view is added.
Will resolve any pending process operations that failed due to missing state views
|
protectedvirtual |
Return false to not add node. Default is true.
Reimplemented in makVrf::DtVrfEmbarkationHierarchyPageLogic.
|
protectedvirtual |
Checks to make sure this is a valid item to add to the hierarchy.
Currently only aggregates and entities are allowed
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedpure virtual |
Called when the echelon hierarchy has changed, process the changes.
Implemented in makVrf::DtVrfEchelonHierarchyPageLogic, and makVrf::DtVrfEmbarkationHierarchyPageLogic.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |