|
Teamcenter C++ API Reference
2312
|
#include <vector>#include <string>#include <unidefs.h>#include <mfg/libmfg_exports.h>#include <mfg/libmfg_undef.h>Go to the source code of this file.
Classes | |
| struct | MFG_maturity_property_data_s |
Typedefs | |
| typedef int(* | maturity_report_callback_fn_t )(const int ruleID, const tag_t objectScope, const tag_t targetObject, const std::map< std::string, std::string > &ruleAttributes, std::vector< MFG_maturity_property_data_t > &ruleResults) |
| typedef struct MFG_maturity_property_data_s | MFG_maturity_property_data_t |
| typedef int(* maturity_report_callback_fn_t)(const int ruleID,const tag_t objectScope,const tag_t targetObject,const std::map< std::string, std::string > &ruleAttributes,std::vector< MFG_maturity_property_data_t > &ruleResults) |
The function pointer suggests the parameter a custom API must have for the Maturity Report functionality to work in the application Manufcaturing Process Planner (MPP). The custom API must be registered with teamcenter using install_callback utility. Refer to technical documentation on how this utility is used. Once registered, the Maturity Report functionality will invoke the custom API and use the response in the report. The response must be in specific format as describe below.
ruleResults should be empty. Definition at line 42 of file mfg_maturity_rule_interface.hxx.
| typedef struct MFG_maturity_property_data_s MFG_maturity_property_data_t |
mfg_maturity_rule_interface.hxx
example for maturity rule registered as a callback function Represents property data containing property name and its corresponding value.
value, only first member of the vector will be considered.