VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
orgChangeSetExecutorOperation.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: orgChangeSetExecutorOperation.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef orgChangeSetExecutorOperation_h
15 #define orgChangeSetExecutorOperation_h
16 
21 
26 {
27 private:
32 
33 public:
36 
38  virtual DtString type() const;
39 
40  virtual bool execute(DtOrganizationManager* orgMgr);
42  virtual bool complete() const;
43 
44  virtual void setId(int id);
45  virtual int id() const;
46 
47 protected:
49  static void singleChangeCompleteCallback(void* usr);
50  virtual void processSingleChangeComplete(unsigned int changeId);
51 
54  virtual void queueAllChanges(DtOrganizationManager* orgMgr);
55 
56 protected:
57  typedef std::pair<unsigned int, DtOrgChangeSetExecutorOperation*> DtIdExecutorPair;
61  std::list<unsigned int> myPendingChangeIdList;
62 
66 
68 
69  int myId;
70 };
71 
72 #endif
int myId
Definition: orgChangeSetExecutorOperation.h:69
DtOrganizationChangeSet.
Definition: organizationChangeSet.h:21
bool myAllChangesQueued
Internal use variable indicating whether or not all the changes in the set have been queued with the ...
Definition: orgChangeSetExecutorOperation.h:65
std::list< unsigned int > myPendingChangeIdList
List of change IDs that are still pending.
Definition: orgChangeSetExecutorOperation.h:61
DtOrgManagerPendingOperation & operator=(DtOrgManagerPendingOperation &orig)
Not Implemented.
Abstract class deriving from DtOrgManagerOperation which adds a completion callback to the operation...
Definition: orgManagerOperations.h:46
Definition: asyncJobServer.h:37
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual bool execute(DtOrganizationManager *orgMgr)=0
Runs the operation on the specified hierarchy.
virtual DtString type() const =0
This class derives from the DtOrganizationView, and adds the capability to manipulate the hierarchy...
Definition: organizationManager.h:46
std::pair< unsigned int, DtOrgChangeSetExecutorOperation * > DtIdExecutorPair
Definition: orgChangeSetExecutorOperation.h:57
Class carries out the organizations specified in a DtOrganizationChangeSet.
Definition: orgChangeSetExecutorOperation.h:25
DtOrganizationChangeSet myChangeSet
Definition: orgChangeSetExecutorOperation.h:67

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)