All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Interface CATISchAppCCPCGCntrInfo

System.IUnknown
  |
  +---CATISchAppCCPCGCntrInfo
 

Usage: you can reimplement this interface by deriving the supplied CATEASchAppCCPCGCntrInfo adapter class.


interface CATISchAppCCPCGCntrInfo

Interface to manage an application component group connector during placement.
Application must derived implementation of this interface from CATEASchAppCCPCGCntrInfo. Role: Customize component group placement behaviors.

BOA information: this interface CANNOT be implemented using the BOA (Basic Object Adapter). To know more about the BOA, refer to the CAA Encyclopedia home page. Click Middleware at the bottom left, then click the Object Modeler tab page. Several articles deal with the BOA.


Method Index


o AppGetCGConnectInfo(CATISchAppConnector*,CATIUnknownList**,CATICStringList**)
o AppGetCGConnectInfo2(CATISchAppConnector*,CATIUnknownList**,CATListOfCATUnicodeString&)
Store appropriate information as attributes of iCompGroup.
o AppPostCGPlacementConnect(CATISchAppConnector*,char*)
o AppPostCGPlacementConnect2(CATISchAppConnector*,CATUnicodeString&)
Post process after placing this connector whoes owner is a component group.

Methods


o AppGetCGConnectInfo
public virtual HRESULT AppGetCGConnectInfo( const CATISchAppConnector* iCntrSrcOfThis,
CATIUnknownList** oLConCntrNeedsMapping,
CATICStringList** oLCStrConMainCntrName)= 0
Deprecated:
V5R15 Use CATISchAppCCPCGCntrInfo.AppGetCGConnectInfo2 instead. Store appropriate information as attributes of iCompGroup.
Parameters:
iCntrSrcOfThis
The connector that is a counterpart of this connector in the source component. It provides connectivity information of the connector in the source component (this connector is in the target component. Terminology as used in cut-copy-paste architecture).
oLConCntrNeedsMapping
A list of connector interfaces. These are the connectors that are connected to iCntrSrcOfThis. The caller needs to find the corresponding copies under the CCP architecture.
oLCStrConMainCntrName
A list of names of connectors. These connectors will be used used to identify the reference connection (such as cable connection) when the pin/wire connections are made in AppPostCGPlacementConnect.
o AppGetCGConnectInfo2
public virtual HRESULT AppGetCGConnectInfo2( const CATISchAppConnector* iCntrSrcOfThis,
CATIUnknownList** oLConCntrNeedsMapping,
CATListOfCATUnicodeString& oLUStrConMainCntrName)= 0
Store appropriate information as attributes of iCompGroup.
Parameters:
iCntrSrcOfThis
The connector that is a counterpart of this connector in the source component. It provides connectivity information of the connector in the source component (this connector is in the target component. Terminology as used in cut-copy-paste architecture).
oLConCntrNeedsMapping
A list of connector interfaces. These are the connectors that are connected to iCntrSrcOfThis. The caller needs to find the corresponding copies under the CCP architecture.
oLUStrConMainCntrName
A list of names of connectors. These connectors will be used used to identify the reference connection (such as cable connection) when the pin/wire connections are made in AppPostCGPlacementConnect.
o AppPostCGPlacementConnect
public virtual HRESULT AppPostCGPlacementConnect( const CATISchAppConnector* iCntrToConnect,
const char* iConMainCntrName) = 0
Deprecated:
V5R15 Use CATISchAppCCPCGCntrInfo.AppPostCGPlacementConnect2 instead. Post process after placing this connector whoes owner is a component group. Through this method application will make use of the information stored by AppGetCGConnectInfo to connect this connector to the input connector.
Parameters:
iCntrToConnect
The connector to connect to.
iConMainCntrName
The name of the connector. The owner of this connector is connected to the owner of iCntrToConnect (for .e.g. if iCntrToConnect is a wire connector, the iConMainCntrName is the name of a cable-extremity connector).
o AppPostCGPlacementConnect2
public virtual HRESULT AppPostCGPlacementConnect2( const CATISchAppConnector* iCntrToConnect,
const CATUnicodeString& iConMainCntrName) = 0
Post process after placing this connector whoes owner is a component group. Through this method application will make use of the information stored by AppGetCGConnectInfo to connect this connector to the input connector.
Parameters:
iCntrToConnect
The connector to connect to.
iConMainCntrName
The name of the connector. The owner of this connector is connected to the owner of iCntrToConnect (for .e.g. if iCntrToConnect is a wire connector, the iConMainCntrName is the name of a cable-extremity connector).

This object is included in the file: CATISchAppCCPCGCntrInfo.h

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