All Frameworks Class Hierarchy This Framework Previous Next Indexes
ManufacturingInterfaces Interface CATIMfgCatalogServices
System.IUnknown
|
+---System.IDispatch
|
+---System.CATBaseUnknown
|
+---CATIMfgCatalogServices
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIMfgCatalogServices
Interface to manage (machining processes) components instantiation.
Role: CATIMfgCatalogServices has methods to
manage launch of (machining processes) components instantiation from catalog access .
Method Index
- o
BuildMfgStartupMPPath(CATUnicodeString&,CATUnicodeString&)
- Build the path from the Install path and the startup directory .
- o
LaunchMPApplication(CATUnicodeString&,CATUnicodeString&,CATUnicodeString&,CATString&)
- Launch the machining process instantiation from a catalog.
Methods
o BuildMfgStartupMPPath
-
Build the path from the Install path and the startup directory .
Role: Build the path from the Install path and the startup directory
Usage:
The path is built from the "CATInstallPath" environment variable and the startup directory
"/startup/Manufacturing/Processes/". It is available under Windows and Unix platforms
- Parameters:
-
- iCatalogName
- Catalog Name
For example : iCatalogName="MP_demo.catalog"
o LaunchMPApplication
-
Launch the machining process instantiation from a catalog.
Role: Launch machining process instantiation in a CATCommand from a catalog
Usage:
CATIMfgCatalogServices *piServices=NULL;
CATString ClassName("CATMfgCatalogServices");
CATInstantiateComponent (ClassName,
CATIMfgCatalogServices::ClassId(),
piServices);
.....................
HRESULT Res = piServices->LaunchMPApplication(const CATUnicodeString& iPathDocument,
const CATUnicodeString& iPathChapter,
const CATUnicodeString& NomMPRef, const CATString& MPKeyword);
- Parameters:
-
- iPathDocument
- Catalog Name including the path where the catalog is located
For example : "PathDocument = "C:\\install\\intel_a\\startup\\Manufacturing\\Processes\\MP_demo.catalog" under Windows
- iPathChapter
- Path in the catalog where the machining process component is located
For example : iPathChapter = "Chapter.1/Drilling Processes"
This object is included in the file: CATIMfgCatalogServices.h
If needed, your Imakefile.mk should include the module: MfgItfEnv