ITK Function Reference

(V10000.1.0.60_20160308.00)
Modules | Data Structures | Typedefs | Functions
Manufacturing

Modules

 MFG Errors
 

Data Structures

struct  MFG_create_input_s
 
struct  MFG_create_output_s
 

Typedefs

typedef struct MFG_create_input_s MFG_create_input_t
 
typedef struct MFG_create_output_s MFG_create_output_t
 

Functions

MFG_API int MFG_add_associated_context (tag_t i_source_context, tag_t i_new_context_to_add)
 
MFG_API int MFG_close_context (tag_t context)
 
MFG_API int MFG_close_view (tag_t view, tag_t sc)
 
MFG_API int MFG_create_flow (tag_t pred, tag_t succ, logical implicit, double delay, tag_t *newFlow)
 
MFG_API int MFG_create_objects (int num_input, const MFG_create_input_t *input, int *num_output, MFG_create_output_t **output)
 
MFG_API int MFG_create_precedence_constraint (tag_t pred, tag_t succ, tag_t *newConstraint)
 
MFG_API int MFG_disconnect_object (tag_t object, tag_t disconnectFrom)
 
MFG_API int MFG_edit_logical_assignment (tag_t laTag, const char *assignType, const char *usageAddr, const char *position)
 
MFG_API int MFG_edit_tool_requirement (tag_t trTag, const char *name, const char *desc, const char *assignType, tag_t searchCriteria)
 
MFG_API int MFG_get_candidate_tools_for_tool_requirement (tag_t toolRequirementObject, tag_t ownerTag, const char *toolSource, int *nb_found_tools, tag_t **found_tools)
 
MFG_API int MFG_get_ref_contexts (tag_t context, int *count_refContexts, tag_t **refContexts)
 
MFG_API int MFG_get_resolved_nodes_from_LA (tag_t parentLine, tag_t laObj, int *count, tag_t **resolvedNodes)
 
MFG_API int MFG_get_tool_requirements (tag_t ownerTag, const char *resolvedState, int *nb_found_trs, tag_t **found_trs)
 
MFG_API int MFG_is_context_associated (tag_t i_source_context, tag_t i_context_to_check, logical *o_result)
 
MFG_API int MFG_list_behaviors ()
 
MFG_API int MFG_list_properties ()
 
MFG_API int MFG_open_context (tag_t object, logical openViews, logical openAssociatedContexts, int *count, tag_t **openedContexts, tag_t **structuerContexts, tag_t *cc)
 
MFG_API int MFG_open_view (tag_t context, tag_t sc, tag_t view, tag_t *openedView)
 
MFG_API int MFG_remove_flow (tag_t delFlow)
 
MFG_API int MFG_resolve_logical_assignments (tag_t object, tag_t *contexts, int nContexts, logical recursive)
 
MFG_API int MFG_resolve_toolRequirement (tag_t ownerTag, tag_t trObjectTag, tag_t toolTag, const char *toolSource)
 
MFG_API int MFG_set_ref_contexts (tag_t context, int num_addRefContexts, tag_t *addRefContexts, int num_removeRefContexts, tag_t *removeRefContexts, logical removeExistingRef)
 

Detailed Description

MFG.h

File description: ITK function

This module defines the required ITK interface for MFG (manufacturing) related operations.

Typedef Documentation

The input object containing the relevant data for creating an object.

The output containing the new objects resulting from the creation for the specified input.

Function Documentation

MFG_API int MFG_add_associated_context ( tag_t  i_source_context,
tag_t  i_new_context_to_add 
)
Parameters
i_source_context(I) source_context
i_new_context_to_add(I) new_context_to_add
MFG_API int MFG_close_context ( tag_t  context)
Parameters
context(I) context
MFG_API int MFG_close_view ( tag_t  view,
tag_t  sc 
)
Parameters
view(I) view
sc(I) StructureContext
MFG_API int MFG_create_flow ( tag_t  pred,
tag_t  succ,
logical  implicit,
double  delay,
tag_t newFlow 
)
Parameters
pred(I) predecessor
succ(I) successor
implicit(I) implicit
delay(I) delay
newFlow(O) tag to newly created flow
MFG_API int MFG_create_objects ( int  num_input,
const MFG_create_input_t input,
int *  num_output,
MFG_create_output_t **  output 
)

Create new objects in the BOM structure as specified in the input structure.
The method receives create input object to create a new item and automatically adds this item to the target BOM line.

Returns
Parameters
num_input(I) The number of inputs
input(I) num_input The input for create
num_output(O) The number of outputs
output(OF) num_output The new objects created
MFG_API int MFG_create_precedence_constraint ( tag_t  pred,
tag_t  succ,
tag_t newConstraint 
)
Parameters
pred(I) predecessor
succ(I) successor
newConstraint(O) tag to newly created constraint
MFG_API int MFG_disconnect_object ( tag_t  object,
tag_t  disconnectFrom 
)
Parameters
object(I) object
disconnectFrom(I) disconnectFrom
MFG_API int MFG_edit_logical_assignment ( tag_t  laTag,
const char *  assignType,
const char *  usageAddr,
const char *  position 
)
Parameters
laTag(I) LA object to edit
assignType(I) assignment type
usageAddr(I) usage address
position(I) logical position
MFG_API int MFG_edit_tool_requirement ( tag_t  trTag,
const char *  name,
const char *  desc,
const char *  assignType,
tag_t  searchCriteria 
)
Parameters
trTag(I) Tool Requirement object to edit
name(I) TR Name
desc(I) TR description
assignType(I) Assignment Type say METool
searchCriteria(I) Search Criteria
MFG_API int MFG_get_candidate_tools_for_tool_requirement ( tag_t  toolRequirementObject,
tag_t  ownerTag,
const char *  toolSource,
int *  nb_found_tools,
tag_t **  found_tools 
)

Finds tools matching the search criteria of Tool Requirement.

Parameters
toolRequirementObject(I) Tool Requirement tag
ownerTag(I) Process or operation tag
toolSource(I) Source of tools
nb_found_tools(O) Number of found tools
found_tools(OF) nb_found_tools Candidate tools matching the search criteria of Tool Requirement
MFG_API int MFG_get_ref_contexts ( tag_t  context,
int *  count_refContexts,
tag_t **  refContexts 
)
Parameters
context(I) context
count_refContexts(O) number of contexts
refContexts(OF) contexts list
MFG_API int MFG_get_resolved_nodes_from_LA ( tag_t  parentLine,
tag_t  laObj,
int *  count,
tag_t **  resolvedNodes 
)
Parameters
parentLine(I) parent line of nodes
laObj(I) LA object to get nodes from
count(O) number of resolved nodes
resolvedNodes(O) resolved nodes
MFG_API int MFG_get_tool_requirements ( tag_t  ownerTag,
const char *  resolvedState,
int *  nb_found_trs,
tag_t **  found_trs 
)

Get the Tool Requirements of the process or operation.

Parameters
ownerTag(I) Process or operation tag
resolvedState(I) Resolved state of the Tool Requirement. Values are "ALL", "RESOLVED" and "UNRESOLVED".
nb_found_trs(O) Number of found Tool Requirements
found_trs(OF) nb_found_trs Tool Requirements that are assigned to process or operation
MFG_API int MFG_is_context_associated ( tag_t  i_source_context,
tag_t  i_context_to_check,
logical o_result 
)
Parameters
i_source_context(I) source_context
i_context_to_check(I) context_to_check
o_result(O) true if associated
MFG_API int MFG_list_behaviors ( )

Lists the behaviors for each MFG class

MFG_API int MFG_list_properties ( )

Lists the properties for each MFG class

MFG_API int MFG_open_context ( tag_t  object,
logical  openViews,
logical  openAssociatedContexts,
int *  count,
tag_t **  openedContexts,
tag_t **  structuerContexts,
tag_t cc 
)
Parameters
object(I) object
openViews(I) open OG windows
openAssociatedContexts(I) open associated contexts
count(O) number of opened contexts
openedContexts(OF) count returned array of opened contexts tags
structuerContexts(OF) count returned array of structure contexts tags
cc(O) the CC object
MFG_API int MFG_open_view ( tag_t  context,
tag_t  sc,
tag_t  view,
tag_t openedView 
)
Parameters
context(I) context
sc(I) StructureContext
view(I) view
openedView(O) opened view
MFG_API int MFG_remove_flow ( tag_t  delFlow)
Parameters
delFlow(I) tag to removed flow
MFG_API int MFG_resolve_logical_assignments ( tag_t  object,
tag_t contexts,
int  nContexts,
logical  recursive 
)
Parameters
object(I) object to resolve
contexts(I) context list
nContexts(I) number of contexts
recursive(I) if true, resolve recursively
MFG_API int MFG_resolve_toolRequirement ( tag_t  ownerTag,
tag_t  trObjectTag,
tag_t  toolTag,
const char *  toolSource 
)

Resolves the tool.

Parameters
ownerTag(I) Process or operation tag
trObjectTag(I) Tool Requirement tag
toolTag(I) Tool tag
toolSource(I) Tool source
MFG_API int MFG_set_ref_contexts ( tag_t  context,
int  num_addRefContexts,
tag_t addRefContexts,
int  num_removeRefContexts,
tag_t removeRefContexts,
logical  removeExistingRef 
)
Parameters
context(I) context
num_addRefContexts(I) number of add contexts
addRefContexts(I) contexts list to add
num_removeRefContexts(I) number of remove contexts
removeRefContexts(I) contexts list to remove
removeExistingRef(I) if true remove all existing ref contexts