ITK Function Reference

(V10000.1.0.60_20160308.00)
servicerequest.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2009 Siemens PLM Software
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
12 
13 #ifndef SERVICEREQUEST_H
14 #define SERVICEREQUEST_H
15 
16 #include <unidefs.h>
17 
18 #include <servicerequest/libservicerequest_exports.h>
19 
33 typedef struct {
44 
45 #ifdef __cplusplus
46 extern "C"{
47 #endif
48 
52  extern SERVICEREQUEST_API int SERVICEREQUEST_init_module();
53 
57  extern SERVICEREQUEST_API int SERVICEREQUEST_get_cost (
58  tag_t service_request,
62  );
63 
70  extern SERVICEREQUEST_API int SERVICEREQUEST_free_cost(
72  );
73 
82  extern SERVICEREQUEST_API int SERVICEREQUEST_cancel_service_object (
83  tag_t service_object
84  );
85 
89  extern SERVICEREQUEST_API int SERVICEREQUEST_delegate_requests (
90  tag_t primary_service_request,
91  tag_t performs_service_request,
92  tag_t delegate_create_input,
93  int num_activities,
94  const tag_t *requested_activites,
95  tag_t *new_delegate_service_request,
96  int *num_requests_to_refresh,
97  tag_t **requests_to_refresh
98  );
99 
103  extern SERVICEREQUEST_API int SERVICEREQUEST_create_request_activities (
104  tag_t requested_activity_create_input,
105  logical requalify_request_activity,
106  int *num_requested_activities,
107  tag_t **new_requested_activities
108  );
109 
121  extern SERVICEREQUEST_API int SERVICEREQUEST_replace_error (
122  int severity,
123  int error_to_replace,
124  int replacement_error,
125  const char *s1,
126  const char *s2,
127  const char *s3,
128  const char *s4,
129  const char *s5,
130  const char *s6,
131  const char *s7
132  );
133 #ifdef __cplusplus
134 }
135 #endif
136 
139 #include <servicerequest/libservicerequest_undef.h>
140 
141 #endif
142