![]() |
VR-Forces 4.10 Class Documentation
|
DtAggregateNode represents a node in an aggregate hierarchy. More...
Public Types | |
| typedef DtAggregateData *(* | DtAggregateDataCreator )() |
| Function prototype for functions that create DtAggregateData. More... | |
Public Member Functions | |
| DtAggregateNode (const DtUUID &uuid, const DtOrganizationManager &organizationManager) | |
| constructor More... | |
| DtAggregateNode (DtOrganizationManager &organizationManager) | |
| virtual | ~DtAggregateNode () |
| destructor More... | |
| virtual void | addChild (DtAggregateNodePtr child) |
| Adds node as a child. More... | |
| virtual bool | removeChild (const DtUUID &child) |
| Removes a child from this aggregate. Returns false if child is not found. More... | |
| const DtAggregateNodeChildMap & | childList () const |
| virtual const DtVrfObject * | entity () const |
| virtual void | print () const |
| Prints object Id and contents of node. For debugging. More... | |
| virtual const DtUUID & | uuid () const |
| Returns UUID of this node. More... | |
| bool | isAggregate () const |
| True if this node represents an aggregate (false if individual) More... | |
| virtual DtAggregateDataPtr | data () |
| DtAggregateData contained in this node. More... | |
| virtual DtAggregateDataConstPtr | data () const |
| virtual DtOrgViewManagedObjectListConstPtr | taskableSubordinates () const |
| Accessors for various subsets of subordinate lists. More... | |
| virtual DtOrgViewManagedObjectListConstPtr | ableToMoveSubordinates () const |
| virtual DtOrgViewManagedObjectListConstPtr | allSubordinates () const |
| virtual DtOrgViewManagedObjectListConstPtr | subordinatesToIncludeInSpatialModel () const |
Static Public Member Functions | |
| static void | setAggregateDataCreator (DtAggregateDataCreator creator) |
| Function to be used for creating DtAggregateData. More... | |
| static DtAggregateDataCreator | aggregateDataCreator (void) |
Protected Attributes | |
| const DtVrfObject * | myEntity |
| Object Id of entity this node is assoicated with. More... | |
| DtAggregateDataPtr | myData |
| Data record containing state information assoicated with the node. More... | |
| DtAggregateNodeChildMap | myChildNodes |
| List of children (aggregate subordinates) for this node. More... | |
| const DtOrganizationManager & | myOrganizationManager |
| DtOrgViewManagedObjectListConstPtr | myTaskableSubordinates |
| DtOrgViewManagedObjectListConstPtr | mySubordinatesToIncludeInSpatialModel |
| DtOrgViewManagedObjectListConstPtr | myAbleToMoveSubordinates |
| DtOrgViewManagedObjectListConstPtr | myAllSubordinates |
| bool | myIsAggregate |
Static Protected Attributes | |
| static DtAggregateDataCreator | theAggregateDataCreator |
| Creation function used to create the DtAggregateData object maintained by this class. More... | |
Private Member Functions | |
| DtAggregateNode (const DtAggregateNode &orig) | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtAggregateNode & | operator= (const DtAggregateNode &orig) |
| Assignment Operator Not implemented - Assignment Not Allowed. More... | |
DtAggregateNode represents a node in an aggregate hierarchy.
Contains a generic data record, which can be used to hold any type of data of interest about a node in an aggregate hierarchy.
| typedef DtAggregateData*(* DtAggregateNode::DtAggregateDataCreator)() |
Function prototype for functions that create DtAggregateData.
| DtAggregateNode::DtAggregateNode | ( | const DtUUID & | uuid, |
| const DtOrganizationManager & | organizationManager | ||
| ) |
constructor
| DtAggregateNode::DtAggregateNode | ( | DtOrganizationManager & | organizationManager | ) |
|
virtual |
destructor
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
virtual |
Adds node as a child.
Removes a child from this aggregate. Returns false if child is not found.
| const DtAggregateNodeChildMap& DtAggregateNode::childList | ( | ) | const |
|
virtual |
|
virtual |
DtAggregateData contained in this node.
|
virtual |
|
virtual |
Prints object Id and contents of node. For debugging.
|
virtual |
Returns UUID of this node.
|
static |
Function to be used for creating DtAggregateData.
Can be used to change the type of DtAggregateData object that this class creates and maintains.
|
static |
|
virtual |
Accessors for various subsets of subordinate lists.
|
virtual |
|
virtual |
|
virtual |
|
inline |
True if this node represents an aggregate (false if individual)
|
private |
Assignment Operator Not implemented - Assignment Not Allowed.
|
protected |
Object Id of entity this node is assoicated with.
|
protected |
Data record containing state information assoicated with the node.
|
protected |
List of children (aggregate subordinates) for this node.
May be empty (node represents an individual entity or true aggregate).
|
staticprotected |
Creation function used to create the DtAggregateData object maintained by this class.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |