VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
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
17
#include "
vrfobjcore/vrfobjcoreDefines.h
"
18
#include "
vrfobjcore/orgMgrOp.h
"
19
#include "
vrfobjcore/orgManager.h
"
20
#include "
vrfobjcore/organizationChangeSet.h
"
21
25
class
DT_DLL_vrfobjcore
DtOrgChangeSetExecutorOperation
:
public
DtOrgManagerPendingOperation
26
{
27
private
:
29
DtOrgChangeSetExecutorOperation
(
const
DtOrgChangeSetExecutorOperation
& orig);
31
DtOrgChangeSetExecutorOperation
&
operator=
(
const
DtOrgChangeSetExecutorOperation
& orig);
32
33
public
:
34
DtOrgChangeSetExecutorOperation
(
const
DtOrganizationChangeSet
& changeSet);
35
virtual
~
DtOrgChangeSetExecutorOperation
();
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
65
bool
myAllChangesQueued
;
66
67
DtOrganizationChangeSet
myChangeSet
;
68
69
int
myId
;
70
};
71
72
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)