All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMXBom Interface ENOVICustomCommand

System.IUnknown
  |
  +---ENOVICustomCommand
 

Usage: you can freely reimplement this interface.


interface ENOVICustomCommand

Interface to customize a command.

Role: This interface is meant to be implemented by the customer. It is checked for and eventually called at different points in a command lifecycle


Method Index


o AfterCheck()
Runs customization code.
o AfterExecute()
Runs customization code.
o AfterInit()
Runs customization code.
o BeforeCheck()
Runs customization code.
o BeforeExecute()
Runs customization code.
o BeforeInit()
Runs customization code.

Methods


o AfterCheck
public virtual HRESULT AfterCheck()= 0
Runs customization code.
Role: This method is called after the actual Dassault Systemes check code is run.
Returns:
An HRESULT value
Legal values:
S_OK
All went well the command should continue
S_FALSE
No error but the command should be aborted
E_???
Something went wrong
o AfterExecute
public virtual HRESULT AfterExecute()= 0
Runs customization code.
Role: This method is called after the actual Dassault Systemes execute code is run.
Returns:
An HRESULT value
Legal values:
S_OK
All went well the command should continue
S_FALSE
No error but the command should be aborted
E_???
Something went wrong
o AfterInit
public virtual HRESULT AfterInit()= 0
Runs customization code.
Role: This method is called after the actual Dassault Systemes initialisation code is run.
Returns:
An HRESULT value
Legal values:
S_OK
All went well the command should continue
S_FALSE
No error but the command should be aborted
E_???
Something went wrong
o BeforeCheck
public virtual HRESULT BeforeCheck()= 0
Runs customization code.
Role: This method is called before the actual Dassault Systemes check code is run.
Returns:
An HRESULT value
Legal values:
S_OK
All went well the command should continue
S_FALSE
No error but the command should be aborted
E_???
Something went wrong
o BeforeExecute
public virtual HRESULT BeforeExecute()= 0
Runs customization code.
Role: This method is called before the actual Dassault Systemes execute code is run.
Returns:
An HRESULT value
Legal values:
S_OK
All went well the command should continue
S_FALSE
No error but the command should be aborted
E_???
Something went wrong
o BeforeInit
public virtual HRESULT BeforeInit()= 0
Runs customization code.
Role: This method is called before the actual Dassault Systemes initialisation code is run.
Returns:
An HRESULT value
Legal values:
S_OK
All went well the command should continue
S_FALSE
No error but the command should be aborted
E_???
Something went wrong

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

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