ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
schmgt
schmgt_itk.h
Go to the documentation of this file.
1
//Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
2
//==================================================
3
//Copyright 2010.
4
//Siemens Product Lifecycle Management Software Inc.
5
//All Rights Reserved.
6
//==================================================
7
//Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
8
9
15
#ifndef SCHMGTITK_H
16
#define SCHMGTITK_H
17
#include <
tc/tc_startup.h
>
18
#include <
itk/mem.h
>
19
#include <schmgt/libschmgt_exports.h>
20
22
typedef
struct
ExecUpdateRequest_s
23
{
24
tag_t
task
;
25
logical
updateAS
;
26
date_t
newAS
;
27
logical
updateAF
;
28
date_t
newAF
;
29
int
updateAW
;
30
double
newPC
;
31
int
newStatus
;
32
int
newWC
;
33
int
newWR
;
34
}
ExecUpdateRequest_t
;
35
36
38
typedef
struct
ExecutionUpdateRequest_s
39
{
40
tag_t
task
;
41
logical
updateAS
;
42
date_t
newAS
;
43
logical
updateAF
;
44
date_t
newAF
;
45
int
updateAW
;
46
double
newPC
;
47
int
newWC
;
48
int
newWR
;
49
char
*
newFnd0Status
;
50
}
ExecutionUpdateRequest_t
;
51
52
53
typedef
struct
ProxyCreate_s
54
{
55
tag_t
schedule
;
56
tag_t
home_task
;
57
tag_t
ref_task
;
58
}
ProxyCreate_t
;
59
60
#ifdef __cplusplus
61
extern
"C"
{
62
#endif
63
67
extern
SCHMGT_API
int
SCHMGT_update_tasks_exec_data
(
68
ExecUpdateRequest_t
*request,
69
int
size );
70
74
extern
SCHMGT_API
int
SCHMGT_update_task_exec_data
(
75
tag_t
task,
76
logical
updateAS,
77
date_t
newAS,
78
logical
updateAF,
79
date_t
newAF,
80
int
updateAW,
81
double
newPC,
82
int
newStatus,
83
int
newWC,
84
int
newWR
85
);
86
94
extern
SCHMGT_API
int
SCHMGT_copyTaskWithPasteSpecial
(
95
tag_t
fromSchedule,
96
tag_t
* tasks,
97
int
numberOfTasks,
98
tag_t
toSchedule,
99
tag_t
targetTask,
100
int
pasteType,
101
int
numberOfCopies,
102
logical
offsetCalculate,
103
logical
includeAssignments,
104
logical
includeDependencies,
105
logical
includeDeliverables,
106
logical
useExistingDeliverables,
107
logical
updateMembership,
108
logical
resetDeliverables,
109
logical
copyWorkflow,
110
logical
copyCost,
111
logical
asynchRecalculateSchedule,
112
int
* numberOfIfails,
113
int
** ifails,
114
tag_t
** failedTasks,
115
int
* numberOfCreatedTasks,
116
tag_t
** createdTasks
117
);
118
119
123
extern
SCHMGT_API
int
SCHMGT_set_schedule_status
(
124
tag_t
schedule,
125
char
* status
126
);
127
131
extern
SCHMGT_API
int
SCHMGT_set_task_status
(
132
tag_t
task,
133
char
* status
134
);
135
139
extern
SCHMGT_API
int
SCHMGT_set_percent_complete
(
140
tag_t
task,
141
double
pcomplete
142
);
143
147
extern
SCHMGT_API
int
SCHMGT_set_work_complete
(
148
tag_t
task,
149
int
wcomplete
150
);
151
155
extern
SCHMGT_API
int
SCHMGT_initialize_actual_start_date
(
156
tag_t
task
157
);
158
162
extern
SCHMGT_API
int
SCHMGT_initialize_actual_finish_date
(
163
tag_t
task
164
);
165
169
extern
SCHMGT_API
int
SCHMGT_update_task_exec_data1
(
170
tag_t
task,
171
logical
updateAS,
172
date_t
newAS,
173
logical
updateAF,
174
date_t
newAF,
175
int
updateAW,
176
double
newPC,
177
int
newWC,
178
int
newWR,
179
char
* fnd0status
180
);
181
185
extern
SCHMGT_API
int
SCHMGT_update_tasks_exec_data1
(
186
ExecutionUpdateRequest_t
*request,
187
int
size,
188
int
*noTaksUpdated,
189
tag_t
**updatedTasks
190
);
191
195
extern
SCHMGT_API
int
SCHMGT_create_proxy_tasks
(
196
ProxyCreate_t
*createContainers ,
197
int
numberOfCreates ,
198
tag_t
**createdProxies
199
);
200
201
202
203
#ifdef __cplusplus
204
}
205
#endif
206
207
208
#include <schmgt/libschmgt_undef.h>
209
#endif