![]() |
VR-Forces 4.0.4 Class Documentation
|
Class carries out the organizations specified in a DtOrganizationChangeSet. More...

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. | |
| DtOrgChangeSetExecutorOperation & | operator= (const DtOrgChangeSetExecutorOperation &orig) |
| Not Implemented. | |
Class carries out the organizations specified in a DtOrganizationChangeSet.
It is also responsible for invoking any completion callbacks associated with the change set.
typedef std::pair<unsigned int, DtOrgChangeSetExecutorOperation*> DtOrgChangeSetExecutorOperation::DtIdExecutorPair [protected] |
| DtOrgChangeSetExecutorOperation::DtOrgChangeSetExecutorOperation | ( | const DtOrgChangeSetExecutorOperation & | orig | ) | [private] |
Not Implemented.
| DtOrgChangeSetExecutorOperation::DtOrgChangeSetExecutorOperation | ( | const DtOrganizationChangeSet & | changeSet | ) |
| virtual DtOrgChangeSetExecutorOperation::~DtOrgChangeSetExecutorOperation | ( | ) | [virtual] |
| DtOrgChangeSetExecutorOperation& DtOrgChangeSetExecutorOperation::operator= | ( | const DtOrgChangeSetExecutorOperation & | orig | ) | [private] |
Not Implemented.
| virtual DtString DtOrgChangeSetExecutorOperation::type | ( | ) | const [virtual] |
Implements DtOrgManagerOperation.
| virtual bool DtOrgChangeSetExecutorOperation::execute | ( | DtOrganizationManager * | orgMgr | ) | [virtual] |
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] |
| 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.
std::list<unsigned int> DtOrgChangeSetExecutorOperation::myPendingChangeIdList [protected] |
List of change IDs that are still pending.
Internal use variable indicating whether or not all the changes in the set have been queued with the organization manager.
int DtOrgChangeSetExecutorOperation::myId [protected] |