![]() |
VR-Forces 5.0.3 Developer's Guide
|
The class that will be used to keep track of echelon hierarchy. (This was moved from vrvVrl 2022)

Public Types | |
| enum | Flags { Destroyed = 0x80000000 } |
Public Member Functions | |
| virtual | ~DtAggregateEchelonManager () |
| virtual void | setDisplayInitiallyExpanded (bool) |
| virtual void | setRecord (const makArchives::DtAggregateSettingsRecord &) |
| virtual void | setDestroyed (DtElementID id, bool) |
| bool | destroyed (DtElementID) const |
| void | removeElementPendingDestroyedState (DtElementID id) |
| const DtElementIDHierarchy & | hierarchy () const |
| DtElementIDHierarchy & | hierarchy () |
| virtual const makArchives::DtAggregateSettingsRecord & | aggregateSettings () const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtAggregateEchelonManager & | instance (DtBaseConnection &connection) |
| static void | registerInstance (DtBaseConnection &sim, DtAggregateEchelonManager *) |
Public Attributes | |
| boost::signalslib::signal < void(DtElementID, bool b) > | signal_aggregateDestroyedStateChanged |
| boost::signalslib::signal < void(DtElementID, DtElementIDHierarchyNode::DisplayState) > | signal_visibilityStateChanged |
| boost::signalslib::signal < void(DtElementIDHierarchyNode *) > | signal_hierarchyItemModified |
Protected Member Functions | |
| virtual void | hierarchyItemModified (DtElementIDHierarchyNode *) |
| virtual void | hierarchyItemAboutToBeRemoved (DtElementIDHierarchyNode *) |
| virtual DtElementIDHierarchyNode::DisplayState | expectedDisplayStateFor (const DtElementIDHierarchyNode *node) |
| virtual void | updateDestroyedState (DtElementIDHierarchyNode *parentNode) |
| virtual void | updateHierarchy (DtElementID parentId, const DtElementIDHierarchy::ElementIDs &children) |
| DtAggregateEchelonManager (DtBaseConnection &sim) | |
| virtual void | slot_echelonVisibilityChanged (DtElementIDHierarchy::VisibilityProcessingList) |
| void | setShowLeafNodes (bool enabled) |
| void | setGhostEchelonLevelItems (bool enabled) |
| void | setGhostEchelonLevelItemLabels (bool enabled) |
| void | setEchelonLevel (int l) |
| void | setDisplayAggregates (bool enabled) |
|
virtual |
|
protected |
|
static |
Get the global instance.
|
static |
Register the global instance.
|
protectedvirtual |
Called when a hierarchy item is modified. Uses echelon signaler to emit signal that an item was modified.
|
protectedvirtual |
Called when a hierarchy item is about to be removed.
|
virtual |
Sets, into the hierarchy, to display initially expanded (or not)
|
virtual |
Called when aggregate settings have changed, redo settings for appropriate observer mode.
|
virtual |
Sets whether or not something is destroyed. Since aggregates do not publish their destroyed states, this will keep track of that, and signal when aggregate destroyed states changes based on their subordinates.
| bool makVrv::DtAggregateEchelonManager::destroyed | ( | DtElementID | ) | const |
| void makVrv::DtAggregateEchelonManager::removeElementPendingDestroyedState | ( | DtElementID | id | ) |
Individual entities also add destroyed state info, which they need to remove when they are destroyed.
|
inline |
Retrieves the hierarchy.
|
inline |
|
virtual |
Access the aggregate settings record. This is a copy of the record based on signals provided by the DtSharedAggregateDisplaySettingsSignaler.
|
protected |
These methods are called when signals are raised by the DtSharedAggregateDisplaySettingsSignaler that need to be passed down to the DtElementIDHierarchy member.
|
protected |
These methods are called when signals are raised by the DtSharedAggregateDisplaySettingsSignaler that need to be passed down to the DtElementIDHierarchy member.
|
protected |
These methods are called when signals are raised by the DtSharedAggregateDisplaySettingsSignaler that need to be passed down to the DtElementIDHierarchy member.
|
protected |
These methods are called when signals are raised by the DtSharedAggregateDisplaySettingsSignaler that need to be passed down to the DtElementIDHierarchy member.
|
protected |
These methods are called when signals are raised by the DtSharedAggregateDisplaySettingsSignaler that need to be passed down to the DtElementIDHierarchy member.
|
protectedvirtual |
Will return either hidden or ghosted.
|
protectedvirtual |
Will process the parent for the new subordinate destroyed state (and any other parent that might be effected)
|
protectedvirtual |
Override to see if the destroyed state of an item that has children should be updated.
|
protectedvirtual |
| boost::signalslib::signal<void(DtElementID, bool b) > makVrv::DtAggregateEchelonManager::signal_aggregateDestroyedStateChanged |
| boost::signalslib::signal<void(DtElementID, DtElementIDHierarchyNode::DisplayState) > makVrv::DtAggregateEchelonManager::signal_visibilityStateChanged |
Signal raised when the DtElementIDHierarchy member indicates a change in visibility for an element. This is typically caused by collapsing or expanding aggregates.
| boost::signalslib::signal<void(DtElementIDHierarchyNode*) > makVrv::DtAggregateEchelonManager::signal_hierarchyItemModified |
Signal raised when the the DtElementIDHierarchy member indicates a change in a specific heirarchy node.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |