All Frameworks Class Hierarchy This Framework Previous Next Indexes
ManufacturingInterfaces Interface CATIMfgManufacturingBatch
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIMfgManufacturingBatch
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIMfgManufacturingBatch
Interface to manage manufacturing batch.
Role: CATIMfgManufacturingBatch has methods to
manage manufacturing batch.
Method Index
- o
LaunchCATMFG(CATCommand*,int,char*[],char*[],int&)
- Lauch the batch.
Methods
o LaunchCATMFG
public virtual HRESULT LaunchCATMFG( | CATCommand* | iTheLauncher, |
| int | iNbArgs, |
| const char*[] | iArgs, |
| const char*[] | iEnv, |
| int& | oStatus)=0 |
-
Lauch the batch.
Role: Lauch the batch.
Usage:
CATCommand* TheLauncher = NULL;
char **argv=NULL;
char **env=NULL ;
int argc=0;
int Status = 0;
GetMainArguments( &argc, &argv, &env);
.....................
HRESULT Res = piSet->LaunchCATMFG (TheLauncher,argc,argv,env,Status);
- Parameters:
-
- iTheLauncher
- MUST be NULL;.
- argc,
- argv, env : arguments of the main (env is specific for CATIA V5 environement)
- oStatus
- : return value as a standard main . ststaus of the batch use them as int oStatus = main (int argc, char* argv[])
HRESULT : status of the Launch
This object is included in the file: CATIMfgManufacturingBatch.h
If needed, your Imakefile.mk should include the module: MfgItfEnv