![]() |
VR-Forces 4.2 Class Documentation
|
Instances of DtOrgViewManagedObjectList are filtered lists of subordinates for a given aggregate. More...
Public Types | |
| typedef std::list< DtVrfObject * > ::iterator | iterator |
| typedef std::list< DtVrfObject * > ::const_iterator | const_iterator |
Public Member Functions | |
| virtual | ~DtOrgViewManagedObjectList () |
| Destructor. | |
| virtual const DtEntityIdentifier & | aggregateId () const |
| Entity Identifier of the aggregate whose subordinates are contained within this list. | |
| virtual const DtVrfObjectPredicate & | predicate () const |
| Returns the predicate which determines membership in the list. | |
| virtual bool | reevaluatePeriodically () const |
| Returns true if this list get reevaluated. | |
| virtual DtTime | evaluationPeriod () const |
| Returns the evaluation interval. | |
| virtual iterator | begin () |
| virtual const_iterator | begin () const |
| virtual iterator | end () |
| virtual const_iterator | end () const |
| virtual size_t | size () const |
Static Public Member Functions | |
| static DtOrgViewManagedObjectListPtr | create (DtOrganizationView &organizationView, const DtEntityIdentifier &aggregateId, const DtVrfObjectPredicate &predicate, bool reevaluatePeriodically=false, DtTime evaluationPeriod=0.0) |
| Calls constructor and init(). | |
Protected Member Functions | |
| DtOrgViewManagedObjectList (DtOrganizationView &organizationView, const DtEntityIdentifier &aggregateId, const DtVrfObjectPredicate &predicate, bool reevaluatePeriodically=false, DtTime evaluationPeriod=0.0) | |
| Constructor Protected to control creation. | |
| virtual void | init () |
| Initializer, called by create() after construction. | |
| virtual void | processChildAdded (DtEntityIdentifier eid) |
| virtual void | processChildRemoved (DtEntityIdentifier eid) |
| virtual void | processPredicateCallback (DtVrfObject *vrfObject, DtVrfObjectPredicateEvaluator *predicateEval) |
| virtual void | processNodeAdded (DtEntityIdentifier eid) |
| virtual void | processNodeRemoved (DtEntityIdentifier eid) |
| virtual void | processObjectRemoved (DtVrfObject *vrfObject) |
| virtual void | registerAggregateNodeCallbacks () |
| virtual void | registerOrgViewCallbacks () |
| virtual void | registerObjectManagerCallbacks () |
| virtual void | populateList () |
| virtual void | add (DtVrfObject *obj) |
| Add/remove objects to our list of filtered objects. | |
| virtual void | remove (DtVrfObject *obj) |
| Add/remove objects to our list of filtered objects. | |
| void | unregisterAggregateNodeCallbacks () |
| void | unregisterOrgViewCallbacks () |
| void | unregisterPredicateCallbacksForAllChildren () |
| void | unregisterPredicateCallbacks (DtVrfObject &object) |
| void | unregisterObjectManagerCallbacks () |
Static Protected Member Functions | |
| static void | childAddedCallback (DtEntityIdentifier eid, void *userData) |
| Callback invoked when child is added to aggregate's list of child nodes. | |
| static void | childRemovedCallback (DtEntityIdentifier eid, void *userData) |
| Callback invoked when child is about to be removed from aggregate's list of child nodes. | |
| static void | predicateCallback (DtVrfObject *vrfObject, DtVrfObjectPredicateEvaluator *predicateEval, void *userData) |
| Object predicate callbacks. | |
| static void | nodeAddedCallback (DtEntityIdentifier eid, void *userData) |
| Callback invoked when node is added to organization hierarchy. | |
| static void | nodeRemovedCallback (DtEntityIdentifier eid, void *userData) |
| Callback invoked when child is about to be removed from organization hierarchy. | |
| static void | objectRemovedCallback (DtVrfObject *vrfObject, void *usr) |
Protected Attributes | |
| DtOrganizationView & | myOrganizationView |
| DtEntityIdentifier | myAggregateId |
| DtOrganizationManagerNode * | myAggregateNode |
| DtVrfObjectManager * | myObjectManager |
| DtVrfObjectPredicate * | myPredicate |
| DtVrfObjectPredicate * | myNegatedPredicate |
| bool | myReevaluatePeriodicallyFlag |
| DtTime | myEvaluationPeriod |
| std::list< DtVrfObject * > | myManagedObjectList |
Private Member Functions | |
| DtOrgViewManagedObjectList () | |
| DtOrgViewManagedObjectList (DtOrgViewManagedObjectList &orig) | |
| DtOrgViewManagedObjectList & | operator= (DtOrgViewManagedObjectList &orig) |
Instances of DtOrgViewManagedObjectList are filtered lists of subordinates for a given aggregate.
The list contains DtVrfObject pointers that match the given predicate. Lists may be configured to be optionally reevaluated at a given interval. The contents of the list can be iterated over just as a standard list.
| typedef std::list<DtVrfObject*>::iterator DtOrgViewManagedObjectList::iterator |
| typedef std::list<DtVrfObject*>::const_iterator DtOrgViewManagedObjectList::const_iterator |
|
private |
Not implemented.
|
private |
Not implemented.
|
protected |
Constructor Protected to control creation.
call create() instead.
|
virtual |
Destructor.
|
private |
Not implemented.
|
protectedvirtual |
Initializer, called by create() after construction.
|
static |
Calls constructor and init().
|
virtual |
Entity Identifier of the aggregate whose subordinates are contained within this list.
|
virtual |
Returns the predicate which determines membership in the list.
|
virtual |
Returns true if this list get reevaluated.
|
virtual |
Returns the evaluation interval.
|
virtual |
Returns corresponding method from contained myManagedObjectList.
|
virtual |
Returns corresponding method from contained myManagedObjectList.
|
virtual |
Returns corresponding method from contained myManagedObjectList.
|
virtual |
Returns corresponding method from contained myManagedObjectList.
|
virtual |
Returns corresponding method from contained myManagedObjectList.
|
protectedvirtual |
Add/remove objects to our list of filtered objects.
|
protectedvirtual |
Add/remove objects to our list of filtered objects.
|
staticprotected |
Callback invoked when child is added to aggregate's list of child nodes.
Calls processChildAdded().
|
staticprotected |
Callback invoked when child is about to be removed from aggregate's list of child nodes.
Calls processChildRemoved().
|
protectedvirtual |
|
protectedvirtual |
|
staticprotected |
Object predicate callbacks.
|
protectedvirtual |
|
staticprotected |
Callback invoked when node is added to organization hierarchy.
Calls processNodeAdded().
|
staticprotected |
Callback invoked when child is about to be removed from organization hierarchy.
Calls processNodeRemoved().
|
protectedvirtual |
|
protectedvirtual |
|
staticprotected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Non-virtual since called from the destructor.
|
protected |
Non-virtual since called from the destructor.
|
protected |
Non-virtual since called from the destructor.
|
protected |
Non-virtual since called from the destructor.
|
protected |
Non-virtual since called from the destructor.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |