All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ElecDeviceItf Interface CATIElbContactInstance

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIElbContactInstance
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIElbContactInstance

Interface to manage contact instance.


Method Index


o Connect(CATIElbCavity*,int&)
Connect the contact to a target object.
o GetConnectedObject(CATBaseUnknown*&)
Get the connected object.
o ListBundleCnctPts(CATListValCATBaseUnknown_var*&)
List of BundleCnctPts owned by conact reference.

Methods


o Connect
public virtual HRESULT Connect(CATIElbCavity* ipElecCavity,
int& StatusOfGeometricalConstraint) = 0
Connect the contact to a target object.
Parameters:
ipElecCavity
Cavity used to connect.
StatusOfGeometricalConstraint
Value is: 0 if all geometrical constraint are correctly created. 1 if a geometrical constraint is over constraint. 2 if no geometrical constraint was defined to constraint the device between them.
Returns:
Return code.
o GetConnectedObject
public virtual HRESULT GetConnectedObject(CATBaseUnknown*& opElecObject)= 0
Get the connected object.
Parameters:
opElecObject
The device where current instance is connected to.
Returns:
Return code.
o ListBundleCnctPts
public virtual HRESULT ListBundleCnctPts(CATListValCATBaseUnknown_var*& oBundleCnctPts) = 0
List of BundleCnctPts owned by conact reference.
Parameters:
oBundleCnctPts
The list.
Returns:
Return code.

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

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