All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATAnalysisInterfaces Interface CATISamMeshNegociator

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

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


interface CATISamMeshNegociator

Interface for changes triggered by mesh modification.
Role: Interface designed to manage changesdue to mesh modifications.

In the Analysis Model, when the mesh is modified it is necessary to notify some entities of this changes.

The interface allow to :


Method Index


o GetLauncher(CATISpecObject*&)
Retrieves the object called launcher.
o GetSubscribers(CATLISTV(CATBaseUnknown_var)&)
Retrieves all the objects that have subscribed to mesh changes.
o HasSubscribed(CATISpecObject*)
Checks is an object is already defined as impacted.
o SetLauncher(CATISpecObject*)
Defines the iLauncher that will impact all the subscribers when it is modified.
o Subscribe(CATISpecObject*)
Specifies that iSubscriber should be notified that the Mesh has been modified.
o UnSubscribe(CATISpecObject*)
Removes the impacted object.

Methods


o GetLauncher
public virtual HRESULT GetLauncher(CATISpecObject*& oLauncher) = 0
Retrieves the object called launcher.
Parameters:
oLauncher
[out , CATBaseUnknown#Release] The object that propagates.
o GetSubscribers
public virtual HRESULT GetSubscribers(CATLISTV(CATBaseUnknown_var)& oSubscribers) = 0
Retrieves all the objects that have subscribed to mesh changes.
Parameters:
oSubscribers
The list of objects that require to be notified.
o HasSubscribed
public virtual HRESULT HasSubscribed(CATISpecObject* iSubscriber) = 0
Checks is an object is already defined as impacted.
Parameters:
iSubscriber
The object to check.
o SetLauncher
public virtual HRESULT SetLauncher(CATISpecObject* iLauncher) = 0
Defines the iLauncher that will impact all the subscribers when it is modified.
Parameters:
iLauncher
The object that will propagate.
o Subscribe
public virtual HRESULT Subscribe(CATISpecObject* iSubscriber) = 0
Specifies that iSubscriber should be notified that the Mesh has been modified.
Parameters:
iSubscriber
The object that is notified.
o UnSubscribe
public virtual HRESULT UnSubscribe(CATISpecObject* iSubscriber) = 0
Removes the impacted object.
Parameters:
iSubscriber
The object that will no more be notified.

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

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