Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface DELIMfgLifeCycleManagement
Interface to be called in customized life cycle management of user activities.
Role: This interface provides basic Activity removal: it does not manage
Tool Path, Product or Manfacturing feature link, Synchronisation and Transition.
DELIMfgLifeCycleManagement is implemented on any ManufacturingActivity object.
It has one main method RemoveActivity() that has to be called on an object inheriting from ManufacturingActivity
object in the implementation of LifeCycleObject interface when this implementation is inheriting
directly from the adapter CATSpecLifeCycleObjectExt.
When using this method, you don’t have to call CATSpecLifeCycleObjectExt::remove(int iForCloseContext)
because this method is already called by this API.
Do not use this interface outside of the LifeCycleObject interface implementation. The main interface to remove a feature from the model is still LifeCycleObject.
In the implementation of LifeCycleObject for an CAA user activity :void CAAUserActivityLifeCycle::remove(int iForCloseContext) { // Specific removal to be executed on the CAA user activity ... // Activity removal DELIMfgLifeCycleManagement* lifeCycleActivity = NULL; rc = ThisCAAActivity->QueryInterface(IID_DELIMfgLifeCycleManagement,(void**)&lifeCycleActivity); if (SUCCEEDED(rc) && NULL!= lifeCycleActivity) { rc = lifeCycleActivity->RemoveActivity(iForCloseContext); } }
public virtual RemoveActivity( | iForCloseContext | =0) |
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.