ITK Function Reference

(V10000.1.0.60_20160308.00)
Functions
CALS Exits

Functions

USER_EXITS_API int CALS_copying_bvr (tag_t source_bvr, tag_t new_bvr)
 
USER_EXITS_API int CALS_deleting_occ (tag_t parent_bvr, tag_t occurrence, int *n_objs, tag_t **objs_to_delete)
 
USER_EXITS_API int CALS_revising_bvr (tag_t source_bvr, tag_t new_bvr)
 
USER_EXITS_API int CALS_saving_bvr (tag_t bvr)
 

Detailed Description

Function Documentation

USER_EXITS_API int CALS_copying_bvr ( tag_t  source_bvr,
tag_t  new_bvr 
)

Called when a bvr is copied, i.e. producing a bvr of a different bom view.

Parameters
source_bvr(I)
new_bvr(I)
USER_EXITS_API int CALS_deleting_occ ( tag_t  parent_bvr,
tag_t  occurrence,
int *  n_objs,
tag_t **  objs_to_delete 
)

Called whenever an occurrence is being removed from the database, either because the parent bvr is being deleted, or because the parent bvr is being saved, and the occurrence has been 'cut'. Any objects which should also be deleted at the same time as this occurrence should have their tags returned on the objs_to_delete array. Space for this array must be provided by MEM_alloc, and will be deleted by the code that calls this exit.

Parameters
parent_bvr(I)
occurrence(I)
n_objs(O)
objs_to_delete(OF) n_objs
USER_EXITS_API int CALS_revising_bvr ( tag_t  source_bvr,
tag_t  new_bvr 
)

Called when a bvr is revised, i.e. producing a new bvr of the same bom view.

Parameters
source_bvr(I)
new_bvr(I)
USER_EXITS_API int CALS_saving_bvr ( tag_t  bvr)

Called when a bvr is saved.

Parameters
bvr(I)