All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---System.CATBaseDispatch | +---System.CATIABase | +---CATIAVPMVDACommand
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIAVPMVDACommand
Base interface to a server command.
Role: Every interface of a server command derives from this base interface. It
provides the basic functionnalities shared by all other commands: a flag to know if
the command can be executed or not, the calls to the user exit, and the call to the
execution which is specific to each command.
This a base interface designed for internal inheritance architecture, so it won't work
if you reimplement it directly.
Please note :
- Do not reuse a command,
- A command that has been executed can only be consulted for information on the parameters
used, and then released.
The correct methodology is :
- Create the command
- Execute the command
- Possibly consult the command
- Release the command
- Create another command if necessary to repeat the process.
public virtual HRESULT __stdcall Exec( | )=0 |
public virtual HRESULT __stdcall Test( | )=0 |
public virtual HRESULT __stdcall get_ExecFlag( | CATBoolean& | oThisCommandIsExecutable)= 0 |
public virtual HRESULT __stdcall put_ExecFlag( | CATBoolean | iThisCommandIsExecutable)= 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.