All Frameworks  Class Hierarchy  This Framework  Next  Indexes

DNBManufacturingLayoutItf Interface CATIArrAttachSubscriber

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

Usage: you can freely reimplement this interface.


interface CATIArrAttachSubscriber

Interface to allow the attachment to receive notification from the Parent/Child events.
Role: Allows the attachment to receive notification from the Parent/Child events.


Method Index


o DoConnection()
Subcribes to the Parent/Child events and create the attachment display.
o IsConnected(CATBoolean*)
Checks if the Attachment is subcribed to the Parent/Child events.
o RemoveConnection()
Removes the subscription to the Parent/Child events and removes the attachment display.
o Subscribe()
o UnSubscribe()

Methods


o DoConnection
public virtual HRESULT DoConnection()= 0
Subcribes to the Parent/Child events and create the attachment display.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o IsConnected
public virtual HRESULT IsConnected(CATBoolean* oStatus) = 0
Checks if the Attachment is subcribed to the Parent/Child events.
Parameters:
oStatus
Result of the check
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o RemoveConnection
public virtual HRESULT RemoveConnection()= 0
Removes the subscription to the Parent/Child events and removes the attachment display.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o Subscribe
public virtual HRESULT Subscribe()= 0
Deprecated:
V5R15 Use DoConnection instead. Subscribe the connection to Products events.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o UnSubscribe
public virtual HRESULT UnSubscribe()= 0
Deprecated:
V5R15 Use RemoveConnection instead. Unsubscribe the connection to Products events.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

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

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