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

Class carries out the organizations specified in a DtOrganizationChangeSet. More...

Inheritance diagram for DtOrgChangeSetExecutorOperation:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtOrgChangeSetExecutorOperation (const DtOrganizationChangeSet &changeSet)
virtual ~DtOrgChangeSetExecutorOperation ()
virtual DtString type () const
virtual bool execute (DtOrganizationManager *orgMgr)
 Runs the operation on the specified hierarchy.
virtual bool complete () const
virtual void setId (int id)
virtual int id () const

Protected Types

typedef std::pair< unsigned
int,
DtOrgChangeSetExecutorOperation * > 
DtIdExecutorPair

Protected Member Functions

virtual void processSingleChangeComplete (unsigned int changeId)
virtual void queueAllChanges (DtOrganizationManager *orgMgr)
 Calls the relevant calls on the organization manger for all changes listed in the change set.

Static Protected Member Functions

static void singleChangeCompleteCallback (void *usr)
 Callback that is invoked by each single completion of the org manager.

Protected Attributes

std::list< unsigned int > myPendingChangeIdList
 List of change IDs that are still pending.
bool myAllChangesQueued
 Internal use variable indicating whether or not all the changes in the set have been queued with the organization manager.
DtOrganizationChangeSet myChangeSet
int myId

Private Member Functions

 DtOrgChangeSetExecutorOperation (const DtOrgChangeSetExecutorOperation &orig)
 Not Implemented.
DtOrgChangeSetExecutorOperationoperator= (const DtOrgChangeSetExecutorOperation &orig)
 Not Implemented.

Detailed Description

Class carries out the organizations specified in a DtOrganizationChangeSet.

It is also responsible for invoking any completion callbacks associated with the change set.


Member Typedef Documentation


Constructor & Destructor Documentation

Not Implemented.


Member Function Documentation

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

Not Implemented.

virtual DtString DtOrgChangeSetExecutorOperation::type ( ) const [virtual]
Returns:
"ChangeSetExecutor"

Implements DtOrgManagerOperation.

Runs the operation on the specified hierarchy.

Returns true if this operation should be deleted. (either it has executed, or it has expired). Returns false if it has not executed, and execute should be called again later.

Implements DtOrgManagerOperation.

virtual bool DtOrgChangeSetExecutorOperation::complete ( ) const [virtual]
Returns:
True if the change set is complete.
virtual void DtOrgChangeSetExecutorOperation::setId ( int  id) [virtual]
virtual int DtOrgChangeSetExecutorOperation::id ( ) const [virtual]
static void DtOrgChangeSetExecutorOperation::singleChangeCompleteCallback ( void *  usr) [static, protected]

Callback that is invoked by each single completion of the org manager.

virtual void DtOrgChangeSetExecutorOperation::processSingleChangeComplete ( unsigned int  changeId) [protected, virtual]
virtual void DtOrgChangeSetExecutorOperation::queueAllChanges ( DtOrganizationManager orgMgr) [protected, virtual]

Calls the relevant calls on the organization manger for all changes listed in the change set.


Member Data Documentation

std::list<unsigned int> DtOrgChangeSetExecutorOperation::myPendingChangeIdList [protected]

List of change IDs that are still pending.

Note:
These change IDs are completely local to this class, and not accessible or used outside this class at all.

Internal use variable indicating whether or not all the changes in the set have been queued with the organization manager.


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)