ITK Function Reference

(V10000.1.0.60_20160308.00)
callback.h
Go to the documentation of this file.
1 /*
2  Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
3  ==================================================
4  Copyright 2013.
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 
17 #ifndef EXTENSIONFRAMEWORK_H_INCLUDED
18 #define EXTENSIONFRAMEWORK_H_INCLUDED
19 
20 #include <unidefs.h>
21 
22 #include <extensionframework/libextensionframework_exports.h>
29 #ifdef __cplusplus
30 extern "C"
31 {
32 #endif
33 
37 typedef void (*Callback_fn_t)(void);
38 
64 extern EXTENSIONFRAMEWORK_API int CALLBACK_get_function_pointers(
65  const char* callback_type,
66  int* number_of_callbacks,
67  Callback_fn_t** functions
68  );
69 
70 
98 extern EXTENSIONFRAMEWORK_API int CALLBACK_get_function_pointer_by_name(
99  const char* callback_type,
100  const char* callback_name,
101  Callback_fn_t* function
102  );
103 
104 
131 extern EXTENSIONFRAMEWORK_API int CALLBACK_get_names_and_tags(
132  const char* callback_type,
133  int* number_of_callbacks,
134  char*** callback_names,
137  tag_t** cb_functions
138  );
139 
142 #ifdef __cplusplus
143 }
144 #endif
145 
146 #include <extensionframework/libextensionframework_undef.h>
147 
148 #endif
149 
150