All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ManufacturingInterfaces Interface CATIMfgMachiningOperationUpdateCustom

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIMfgMachiningOperationUpdateCustom
 

Usage: you can freely reimplement this interface.


interface CATIMfgMachiningOperationUpdateCustom

Interface dedicated to Machining Operation / the update mechanism.
Allow customize the behavior of the Machining Operations at the beginning and at the end of the Update and IsUpToDate mechanisms. Note: The update mechanism rebuilds the feature ( generate the result ). The default update mechanism detects all features that have been modified upstream from a feature, updates all the features impacting the updated feature, and finally rebuilds the final feature.


Method Index


o End_IsUpToDate(CATBoolean)
Method called at the end of the IsUpToDate mechanism.
o End_Update(int)
Method called at the end of the update mechanism.
o Init_IsUpToDate()
Method called at the beginning of the IsUpToDate mechanism.
o Init_Update()
Method called at the beginning of the update mechanism.

Methods


o End_IsUpToDate
public virtual CATBoolean End_IsUpToDate(CATBoolean iCurrentStatus) const = 0
Method called at the end of the IsUpToDate mechanism. Returns a post-status of the object concerning the update mechanism. This post-status replaces iCurrentStatus and is returned by the IsUpToDate method
Parameters:
iCurrentStatus
The IsUpToDate status just before the call of this method.
Returns:
CATBoolean TRUE : the object is up-to-date. FALSE : the object has to be updated.
o End_Update
public virtual int End_Update(int iCurrentRC) = 0
Method called at the end of the update mechanism. The returned value replaces iCurrentRC and is returned by the Update method
Parameters:
iCurrentRC
The current return code of the Update method just before the call of this method.
Returns:
int 0 : the method has succeeded. 1 : the method has failed.
o Init_IsUpToDate
public virtual HRESULT Init_IsUpToDate()const = 0
Method called at the beginning of the IsUpToDate mechanism. The return code of this method is not taken into account for the IsUpToDate status. If this method failed, the update mechanism continues all the same.
Returns:
HRESULT S_OK : the method has succeeded. E_FAIL : the method has failed.
o Init_Update
public virtual int Init_Update()= 0
Method called at the beginning of the update mechanism. If this method failed, the update mechanism continues all the same.
Returns:
int 0 : the method has succeeded. 1 : the method has failed.

This object is included in the file: CATIMfgMachiningOperationUpdateCustom.h
If needed, your Imakefile.mk should include the module: MfgItfEnv

Copyright © 2003, Dassault Systèmes. All rights reserved.