VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtAggregateNode Class Reference

DtAggregateNode represents a node in an aggregate hierarchy. More...

List of all members.

Public Types

typedef DtAggregateData *(* DtAggregateDataCreator )()
 Function prototype for functions that create DtAggregateData.

Public Member Functions

 DtAggregateNode (const DtEntityIdentifier &objectId, DtOrganizationManager &organizationManager)
 constructor
virtual ~DtAggregateNode ()
 destructor
virtual void addChild (DtAggregateNodePtr child)
 Adds node as a child.
const DtAggregateNodeListchildList () const
virtual const DtEntityIdentifier & objectId () const
virtual void print () const
 Prints object Id and contents of node. For debugging.
virtual DtAggregateDataPtr data ()
 DtAggregateData contained in this node.
virtual DtAggregateDataConstPtr data () const
 DtAggregateData contained in this node.
virtual
DtOrgViewManagedObjectListConstPtr 
taskableSubordinates () const
 Accessors for various subsets of subordinate lists.
virtual
DtOrgViewManagedObjectListConstPtr 
ableToMoveSubordinates () const
 Accessors for various subsets of subordinate lists.
virtual
DtOrgViewManagedObjectListConstPtr 
allSubordinates () const
 Accessors for various subsets of subordinate lists.

Static Public Member Functions

static void setAggregateDataCreator (DtAggregateDataCreator creator)
 Function to be used for creating DtAggregateData.
static DtAggregateDataCreator aggregateDataCreator (void)
 Function to be used for creating DtAggregateData.

Protected Attributes

DtEntityIdentifier myObjectId
 Object Id of entity this node is assoicated with.
DtAggregateDataPtr myData
 Data record containing state information assoicated with the node.
DtAggregateNodeList myChildNodes
 List of children (aggregate subordinates) for this node.
DtOrganizationManagermyOrganizationManager
DtOrgViewManagedObjectListConstPtr myTaskableSubordinates
DtOrgViewManagedObjectListConstPtr myAbleToMoveSubordinates
DtOrgViewManagedObjectListConstPtr myAllSubordinates

Static Protected Attributes

static DtAggregateDataCreator theAggregateDataCreator
 Creation function used to create the DtAggregateData object maintained by this class.

Private Member Functions

 DtAggregateNode (const DtAggregateNode &orig)
 Copy Constructor not implemented -- Copy Not Allowed.
DtAggregateNodeoperator= (const DtAggregateNode &orig)
 Assignment Operator Not implemented - Assignment Not Allowed.

Detailed Description

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.


Member Typedef Documentation

Function prototype for functions that create DtAggregateData.


Constructor & Destructor Documentation

DtAggregateNode::DtAggregateNode ( const DtEntityIdentifier &  objectId,
DtOrganizationManager organizationManager 
)

constructor

virtual DtAggregateNode::~DtAggregateNode ( ) [virtual]

destructor

Copy Constructor not implemented -- Copy Not Allowed.


Member Function Documentation

virtual void DtAggregateNode::addChild ( DtAggregateNodePtr  child) [virtual]

Adds node as a child.

Returns:
List of children of this node
virtual const DtEntityIdentifier& DtAggregateNode::objectId ( ) const [virtual]
Returns:
<site, application, object> identifier for this node

DtAggregateData contained in this node.

virtual DtAggregateDataConstPtr DtAggregateNode::data ( ) const [virtual]

DtAggregateData contained in this node.

virtual void DtAggregateNode::print ( ) const [virtual]

Prints object Id and contents of node. For debugging.

Function to be used for creating DtAggregateData.

Can be used to change the type of DtAggregateData object that this class creates and maintains.

Function to be used for creating DtAggregateData.

Can be used to change the type of DtAggregateData object that this class creates and maintains.

Accessors for various subsets of subordinate lists.

Accessors for various subsets of subordinate lists.

Accessors for various subsets of subordinate lists.

DtAggregateNode& DtAggregateNode::operator= ( const DtAggregateNode orig) [private]

Assignment Operator Not implemented - Assignment Not Allowed.


Member Data Documentation

DtEntityIdentifier DtAggregateNode::myObjectId [protected]

Object Id of entity this node is assoicated with.

Data record containing state information assoicated with the node.

List of children (aggregate subordinates) for this node.

May be empty (node represents an individual entity or true aggregate).

Creation function used to create the DtAggregateData object maintained by this class.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)