ITK Function Reference

(V10000.1.0.60_20160308.00)
esm.h
Go to the documentation of this file.
1 /*==============================================================================
2 
3  Copyright (c) 2005 UGS
4  Unpublished - All rights reserved
5 
6 ===============================================================================*/
7 
14 /* */
15 
16 #ifndef ESM_H
17 #define ESM_H
18 
19 #include <unidefs.h>
20 #include <mechatronics/libmechatronics_exports.h>
21 
29 #ifdef __cplusplus
30  extern "C"{
31 #endif
32 
36 extern MECHATRONICS_API int ESM_is_processor
37 (
38  tag_t bom_line,
39  logical *status
40 );
41 
45 extern MECHATRONICS_API int ESM_is_gateway
46 (
47  tag_t bom_line,
48  logical *status
49 );
54 extern MECHATRONICS_API int ESM_is_software
55 (
56  tag_t bom_line,
57  logical *status
58 );
59 
64 extern MECHATRONICS_API int ESM_associate_processor_to_software
65 (
66  tag_t processor_line,
67  int num_software_lines,
68  tag_t *software_lines,
69  logical *hasFailures,
70  int *numFailedLines,
71  tag_t **failedLines
72 );
73 
74 
79 extern MECHATRONICS_API int ESM_remove_processor_to_software_association
80 (
81  tag_t processor_line,
82  int num_software_lines,
83  tag_t *software_lines,
84  logical *hasFailures,
85  int *numFailedLines,
86  tag_t **failedLines
87 );
88 
92 extern MECHATRONICS_API int ESM_remove_processor_to_processor_association
93 (
94  tag_t gateway_processor_line,
95  int num_processor_lines,
96  tag_t *processor_lines,
97  logical *hasFailures,
98  int *numFailedLines,
99  tag_t **failedLines
100 );
101 
105 extern MECHATRONICS_API int ESM_associate_processor_to_processor
106 (
107  tag_t gateway_processor_line,
108  int num_processor_lines,
109  tag_t *processor_lines,
110  logical *hasFailures,
111  int *numFailedLines,
112  tag_t **failedLines
113 );
114 
118 extern MECHATRONICS_API int ESM_associate_software_to_software
119 (
120  tag_t software_line,
121  int num_software_lines,
122  tag_t *software_lines,
123  logical *hasFailures,
124  int *numFailedLines,
125  tag_t **failedLines
126 );
130 extern MECHATRONICS_API int ESM_remove_software_to_software_association
131 (
132  tag_t software_line,
133  int num_software_lines,
134  tag_t *software_lines,
135  logical *hasFailures,
136  int *numFailedLines,
137  tag_t **failedLines
138 );
139 
144 extern MECHATRONICS_API int ESM_ask_embedded_software_of_processor
145 (
146  tag_t processor_line,
147  int *num_software_lines,
148  tag_t **software_lines
149 );
154 extern MECHATRONICS_API int ESM_ask_processors_associated_with_software
155 (
156  tag_t software_line,
157  int *num_processor_lines,
158  tag_t **processor_lines
159 );
160 
165 extern MECHATRONICS_API int ESM_ask_gateway_of_processor
166 (
167  tag_t processor_line,
168  int *num_gateway_processor_lines,
169  tag_t **gateway_processor_lines
170 );
175 extern MECHATRONICS_API int ESM_ask_processors_accessedby_processor
176 (
177  tag_t gateway_processor_line,
178  int *num_processor_lines,
179  tag_t **processor_lines
180 );
185 extern MECHATRONICS_API int ESM_ask_dependent_software_of_software
186 (
187  tag_t software_line,
188  int *num_software_lines,
189  tag_t **software_lines
190 );
191 
196 extern MECHATRONICS_API int ESM_ask_software_used_by_software
197 (
198  tag_t software_line,
199  int *num_software_lines,
200  tag_t **software_lines
201 );
202 
203 
206 #ifdef __cplusplus
207 }
208 #endif
209 
210 #include <mechatronics/libmechatronics_undef.h>
211 
212 #endif
213