All Frameworks  Class Hierarchy  This Framework  Next  Indexes

ObjectModelerSystem Interface CATInterfaceEvents

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

Usage: you can freely reimplement this interface.


interface CATInterfaceEvents

Definition of the services for Event Interface classes.
role: All user interfaces have to inherit from this class if they need to use the event services


Method Index


o AddSubscription(CATInterfaceEvents*,CATCallbackEvent,CATSubscriberMethod,char*,CATSubscriberData)
Handles interfaces.
o GetCallbackManager()
Gives the associated CATCallbackManager if it exists.
o RemoveInterfaceSubscriptions(CATInterfaceEvents*,char*)
Removes all callbacks of this Client on a CATCallbackManager.
o RemoveSubscriptionsOn(CATInterfaceEvents*,CATCallbackEvent,char*,CATSubscriberData)
Removes all callbacks which concern the same CATCallbackManager, CATCallbackEvent, CATSubscriberData.

Methods


o AddSubscription
public virtual CATCallback AddSubscription(CATInterfaceEvents* eventManager,
CATCallbackEvent event,
CATSubscriberMethod method,
char* interfaceID,
CATSubscriberData data= NULL )= 0
Handles interfaces.
o GetCallbackManager
public virtual CATCallbackManager * GetCallbackManager()= 0
Gives the associated CATCallbackManager if it exists.
o RemoveInterfaceSubscriptions
public virtual void RemoveInterfaceSubscriptions(CATInterfaceEvents* eventManager,
char* interfaceID)=0
Removes all callbacks of this Client on a CATCallbackManager.
o RemoveSubscriptionsOn
public virtual void RemoveSubscriptionsOn(CATInterfaceEvents* eventManager,
CATCallbackEvent event,
char* interfaceID,
CATSubscriberData data)= 0
Removes all callbacks which concern the same CATCallbackManager, CATCallbackEvent, CATSubscriberData.

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

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