![]() |
VR-Forces 4.8 Class Documentation
|
Contains the declaration of DtOrbatManagerNode, the class that represents a single node the hierarchy of organized orbat entities. More...

Public Member Functions | |
| DtOrbatManagerNode () | |
| virtual | ~DtOrbatManagerNode () |
| virtual void | setOrbatData (const DtRwOrbatData &) |
| Sets the orbat data for this item. More... | |
| const DtRwOrbatData & | orbatData () const |
| DtRwOrbatData & | orbatData () |
| virtual const DtUUID & | parentUUID () const |
| If belonging to a parent, the parent this is hooked to. More... | |
| virtual bool | removeChild (const DtUUID &) |
| Removes child by UUID. More... | |
| virtual bool | removeChild (DtOrganizationManagerNode *) |
| virtual int | nextOrbatOrder () const |
| virtual const DtUUID & | uuid () const |
| Object uuid of this node. More... | |
Public Member Functions inherited from DtOrganizationManagerNode | |
| DtOrganizationManagerNode () | |
| virtual | ~DtOrganizationManagerNode () |
| virtual void | orderChildren (const std::vector< DtUUID > &childOrder) |
| Sorts the childList of this node so that the order of the nodes reflects the order of the entity identifiers in the supplied vector. More... | |
| virtual void | setVrfObject (const DtVrfObject *) |
| If the object is valid, set it here and it will be used in other routines. More... | |
| const DtSharedVrfObjectReference & | vrfObject () const |
| virtual int | indexOfChild (const DtUUID &) const |
| The index of the child in the order. More... | |
| virtual const DtList * | childList () const |
| List of DtOrganizationManagerNode* children (subordinates) of this node. More... | |
| virtual DtList * | childList () |
| virtual bool | removeChild (const DtOrganizationManagerNode *node) |
| Functions for manipulating this node's list of children. More... | |
| virtual void | removeAllChildren () |
| virtual void | addChild (DtOrganizationManagerNode *node) |
| virtual void | setParent (DtOrganizationManagerNode *parent) |
| Set/get parent node of this node. More... | |
| virtual DtOrganizationManagerNode * | parent () const |
| virtual void | setEntityIdentifier (const DtEntityIdentifier &id) |
| Entity Id of this node. More... | |
| virtual const DtEntityIdentifier & | entityIdentifier () const |
| virtual void | setIsTopLevel (bool isTopLevel) |
| Flag indicating whether or this node is a top-level (i.e. More... | |
| virtual bool | isTopLevel () const |
| virtual void | addChildAddedCallback (DtOrgNodeCallbackFunction fcn, void *userData) |
| Callback for notification when a child is added to the list of child nodes. More... | |
| virtual void | removeChildAddedCallback (DtOrgNodeCallbackFunction fcn, void *userData) |
| virtual void | addChildRemovedCallback (DtOrgNodeCallbackFunction fcn, void *userData) |
| Callback for notification when a child is about to be removed from the list of child nodes. More... | |
| virtual void | removeChildRemovedCallback (DtOrgNodeCallbackFunction fcn, void *userData) |
| virtual void | addSubordinatesChangedCallback (DtOrgNodeCallbackFunction fcn, void *userData) |
| This callback will be called when any subordinates of this node have been added or removed. More... | |
| virtual void | removeSubordinatesChangedCallback (DtOrgNodeCallbackFunction fcn, void *userData) |
Protected Member Functions | |
| virtual void | childAdded (DtOrganizationManagerNode *) |
| Child added. Called internally when a child has been added to the list. More... | |
| virtual void | childRemoved (const DtOrganizationManagerNode *) |
| Child removed. Called internally when a child is removed. More... | |
Protected Member Functions inherited from DtOrganizationManagerNode | |
| virtual void | invokeSubordinatesChangedCallbacks (const DtUUID &) const |
| Invokes all the registered reog callbacks with objectId() as the argument. More... | |
| virtual void | invokeChildAddedCallbacks (const DtUUID &) const |
| Invokes all callbacks registered for notification that a child node has been added. More... | |
| virtual void | invokeChildRemovedCallbacks (const DtUUID &) const |
| Invokes all callbacks registered for notification that a child node is about to be removed. More... | |
| void | removeAllSubordinatesChangedCallbacks () |
| Called from the destructor. More... | |
Protected Attributes | |
| DtRwOrbatData | myOrbatData |
Protected Attributes inherited from DtOrganizationManagerNode | |
| DtList | myChildList |
| DtList of DtOrganizationManagerNode pointers. More... | |
| DtOrganizationManagerNode * | myParentNode |
| DtEntityIdentifier | myEntityIdentifier |
| bool | myIsTopLevel |
| DtList | mySubordinatesChangedCallbackList |
| std::list< DtOrgNodeCallbackInfo > | myChildAddedCallbackList |
| std::list< DtOrgNodeCallbackInfo > | myChildRemovedCallbackList |
| DtSharedVrfObjectReference | myVrfObject |
| std::map< DtUUID, int > | myChildOrder |
Private Member Functions | |
| DtOrbatManagerNode (const DtOrbatManagerNode &orig) | |
| Not implemented. More... | |
| DtOrbatManagerNode & | operator= (const DtOrbatManagerNode &orig) |
| Not implemented. More... | |
Contains the declaration of DtOrbatManagerNode, the class that represents a single node the hierarchy of organized orbat entities.
| DtOrbatManagerNode::DtOrbatManagerNode | ( | ) |
|
virtual |
|
private |
Not implemented.
|
private |
Not implemented.
|
virtual |
Sets the orbat data for this item.
|
inline |
|
inline |
|
virtual |
Object uuid of this node.
Reimplemented from DtOrganizationManagerNode.
|
virtual |
If belonging to a parent, the parent this is hooked to.
|
virtual |
|
virtual |
|
protectedvirtual |
Child added. Called internally when a child has been added to the list.
Reimplemented from DtOrganizationManagerNode.
|
protectedvirtual |
Child removed. Called internally when a child is removed.
Reimplemented from DtOrganizationManagerNode.
|
protected |