ITK Function Reference

(V10000.1.0.60_20160308.00)
tcactionhandler.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
12 /* */
13 
14 #ifndef TCACTIONHANDLER_H
15 #define TCACTIONHANDLER_H
16 
17 #include <tc/tc_startup.h>
18 #include <common/emh_const.h>
20 #include <tc/tc_macros.h>
21 #include <sub_mgr/subscription.h>
22 #include <sub_mgr/libsub_mgr_exports.h>
23 
30 #define MAX_TCACTIONHANDLER_ID_LEN 32
31 #define MAX_TCACTIONHANDLER_ATTR_STRLEN 240
32 
33 #define USER_EXITS_LIB "user_exits"
34 #define EPM_LIB "epm"
35 #define SA_LIB "sa"
36 
37 #define HANDLERS_INTERNAL_LIB "sub_mgr"
38 
42 typedef enum HANDLER_exec_mode_e {
46 
54 
55 #ifdef __cplusplus
56 extern "C"{
57 #endif
58 
59 extern SUB_MGR_API int TCACTIONHANDLER_execute_handler(
60  tag_t handler,
61  void* subscriptionActionMsg,
62  int nHandlerArgs,
63  char** handlerArgs,
64  ...
65  );
66 
67 extern SUB_MGR_API int TCACTIONHANDLER_find_handler(
68  const char* handlerIdToFind,
69  tag_t* handler
70  );
71 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #include <sub_mgr/libsub_mgr_undef.h>
79 
80 #endif