ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
mfg
mfg.h
Go to the documentation of this file.
1
/*
2
Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
3
==================================================
4
Copyright 2009.
5
Siemens Product Lifecycle Management Software Inc.
6
All Rights Reserved.
7
==================================================
8
Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
9
*/
10
18
#ifndef MFG_H
19
#define MFG_H
20
21
22
#include <mfg/libmfg_exports.h>
32
typedef
struct
MFG_create_input_s
{
33
char
*
client_id
;
34
tag_t
target
;
35
tag_t
create_input
;
36
}
MFG_create_input_t
;
37
41
typedef
struct
MFG_create_output_s
{
42
char
*
client_id
;
43
int
count
;
44
tag_t
*
new_objects
;
45
}
MFG_create_output_t
;
46
47
48
#ifdef __cplusplus
49
extern
"C"
{
50
#endif
51
52
extern
MFG_API
int
MFG_disconnect_object
(
53
tag_t
object
,
54
tag_t
disconnectFrom
55
);
56
57
extern
MFG_API
int
MFG_create_flow
(
58
tag_t
pred,
59
tag_t
succ,
60
logical
implicit,
61
double
delay,
62
tag_t
* newFlow
63
);
64
65
extern
MFG_API
int
MFG_remove_flow
(
66
tag_t
delFlow
67
);
68
69
extern
MFG_API
int
MFG_resolve_logical_assignments
(
70
tag_t
object
,
71
tag_t
* contexts,
72
int
nContexts,
73
logical
recursive
74
);
75
76
extern
MFG_API
int
MFG_get_resolved_nodes_from_LA
(
77
tag_t
parentLine,
78
tag_t
laObj,
79
int
* count,
80
tag_t
** resolvedNodes
81
);
82
83
extern
MFG_API
int
MFG_edit_tool_requirement
(
84
tag_t
trTag,
85
const
char
*name,
86
const
char
*desc,
87
const
char
*assignType,
88
tag_t
searchCriteria
89
);
90
91
extern
MFG_API
int
MFG_edit_logical_assignment
(
92
tag_t
laTag,
93
const
char
*assignType,
94
const
char
*usageAddr,
95
const
char
*position
96
);
97
98
102
extern
MFG_API
int
MFG_list_behaviors
();
103
107
extern
MFG_API
int
MFG_list_properties
();
108
109
110
extern
MFG_API
int
MFG_open_context
(
111
tag_t
object
,
112
logical
openViews,
113
logical
openAssociatedContexts,
114
int
* count,
115
tag_t
** openedContexts,
116
tag_t
** structuerContexts,
117
tag_t
* cc
118
);
119
120
extern
MFG_API
int
MFG_open_view
(
121
tag_t
context,
122
tag_t
sc,
123
tag_t
view,
124
tag_t
* openedView
125
);
126
127
extern
MFG_API
int
MFG_close_context
(
128
tag_t
context
129
);
130
131
extern
MFG_API
int
MFG_close_view
(
132
tag_t
view,
133
tag_t
sc
134
);
135
136
extern
MFG_API
int
MFG_set_ref_contexts
(
137
tag_t
context,
138
int
num_addRefContexts,
139
tag_t
* addRefContexts,
140
int
num_removeRefContexts,
141
tag_t
* removeRefContexts,
142
logical
removeExistingRef
143
);
144
145
extern
MFG_API
int
MFG_get_ref_contexts
(
146
tag_t
context,
147
int
* count_refContexts,
148
tag_t
** refContexts
149
);
150
151
extern
MFG_API
int
MFG_create_precedence_constraint
(
152
tag_t
pred,
153
tag_t
succ,
154
tag_t
* newConstraint
155
);
156
157
extern
MFG_API
int
MFG_add_associated_context
(
158
tag_t
i_source_context,
159
tag_t
i_new_context_to_add
160
);
161
162
extern
MFG_API
int
MFG_is_context_associated
(
163
tag_t
i_source_context,
164
tag_t
i_context_to_check,
165
logical
* o_result
166
);
167
171
extern
MFG_API
int
MFG_resolve_toolRequirement
(
172
tag_t
ownerTag,
173
tag_t
trObjectTag,
174
tag_t
toolTag,
175
const
char
* toolSource
176
);
177
181
extern
MFG_API
int
MFG_get_candidate_tools_for_tool_requirement
(
182
tag_t
toolRequirementObject,
183
tag_t
ownerTag,
184
const
char
* toolSource,
185
int
*nb_found_tools,
186
tag_t
** found_tools
187
);
188
192
extern
MFG_API
int
MFG_get_tool_requirements
(
193
tag_t
ownerTag,
194
const
char
* resolvedState,
195
int
*nb_found_trs,
196
tag_t
** found_trs
197
);
198
199
210
extern
MFG_API
int
MFG_create_objects
(
211
int
num_input,
212
const
MFG_create_input_t
* input,
213
int
* num_output,
214
MFG_create_output_t
** output
215
);
216
217
220
#ifdef __cplusplus
221
}
222
#endif
223
224
#include <mfg/libmfg_undef.h>
225
#endif