Teamcenter C++ API Reference  2312
PostActionInternalHandler.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //Copyright $2016.
4 //Siemens Product Lifecycle Management Software Inc.
5 //All Rights Reserved.
6 //==================================================
7 //Copyright 2022 Siemens Digital Industries Software
8 
19 #ifndef POSTACTIONINTERNALHANDLER_HXX
20 #define POSTACTIONINTERNALHANDLER_HXX
21 
22 #include <string>
23 #include <vector>
24 #include <map>
25 #include <set>
26 
27 #include <unidefs.h>
28 
30 #include <tccore/method.h>
31 
32 #include <metaframework/libmetaframework_exports.h>
33 
36 {
40 
41 namespace Teamcenter
42 {
43  class PostActionInternalHandler;
44  class BulkInput;
45 }
46 
47 class METAFRAMEWORK_API Teamcenter::PostActionInternalHandler
48 {
49 public:
52  const std::string &opId,
53  const std::vector<Teamcenter::BulkInput*> *inputs
54  );
55 
58 
62  static void setPostActionExecutionOption(
63  const std::string &opId,
64  const std::vector < tag_t > &objs,
66  );
67 
76  const std::string &opId,
77  const tag_t &obj
78  );
79 
95  const METHOD_function_t &fn
96  );
97 
108  const OperationDispatcher* opDispatcher
109  );
110 
111 private:
114 
120 
121  static std::map < std::string, std::map< tag_t, PostActionExecutionOption_t > > s_objPostActionExecutionMap;
122  static std::set < METHOD_function_t > s_registeredHiPriPostActionFns;
123 
124  std::set< tag_t > m_objs;
125  std::string m_opId;
126 };
127 
128 #include <metaframework/libmetaframework_undef.h>
129 #endif