All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ElecFunctionalItf Interface CATIEfdSignalResolution

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

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


interface CATIEfdSignalResolution

Class to manage signal resolution.
Role: This interface resolve signals that are not completely defined. Resolution consists in linking the incomplete signals by their offsheets to build a complete signal. The link between the offsheets is called an offsheetlink. The resulting complete signal is a multisheet signal.


Method Index


o ListOffSheets(wchar_t*,wchar_t*,CATListValCATBaseUnknown_var**)
Lists offsheets from the whole session.
o Resolve(CATIEfdOffSheet*,CATIEfdOffSheet*)
Resolves signal offsheets.
o Unresolve(CATIEfdOffSheet*)
Reset signal offsheet resolution.

Methods


o ListOffSheets
public virtual HRESULT ListOffSheets( const wchar_t* iOffSheetType,
const wchar_t* iStatus,
CATListValCATBaseUnknown_var** oOffSheets)=0
Lists offsheets from the whole session.
Parameters:
iOffSheetType
the type of offsheets to be listed (ALL to retrieve all types)
iStatus
the resolution status of offsheets to be listed (resolved, unresolved or ALL)
oOffSheets
the list of offsheet objects.
Legal values: NULL if the list is created from scratch, orNOT NULL if you want to append new elements to the list.
o Resolve
public virtual HRESULT Resolve(CATIEfdOffSheet* iOffSheet1,
CATIEfdOffSheet* iOffSheet2)=0
Resolves signal offsheets. This method first checks the compatibility of the two OffSheets and resolve them if they are compatible. The compatibility rules are
  • the signals that own the offsheets must have the same type.
  • the offsheets must have the same name. This rule can be overloaded by implementing the CATIEfdOffSheetCompatibility interface.
  • If the offsheets are not already involved into a resolution a new offsheet link is automatically created. Otherwise the existing offsheetlink is used.
  • If the signals that own the offsheets are not already involved into a resolution a new multisheet signal is created in the system. Otherwise the existing multisheet signal is used.
Parameters:
iOffSheet1
the first offsheet.
iOffSheet2
the second offsheet.
o Unresolve
public virtual HRESULT Unresolve(CATIEfdOffSheet* iOffSheet)=0
Reset signal offsheet resolution. The multisheetsignal involved in the resolution of the given offsheet is automaticaly deleted if it is no longer usefull.
Parameters:
iOffSheet
the offsheet.

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

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