ObjectModelerSystem Interface 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.
Methods
o AddSubscription
-
Handles interfaces.
- Parameters:
-
- eventManager
- pointer to eventManager
- event
- kind of event
- method
- method which will be called on event
- interfaceID
- interface name
- data
- data
- Returns:
- Callback
o GetCallbackManager
-
Gives the associated CATCallbackManager if it exists.
- Returns:
- pointer to eventManager
o RemoveInterfaceSubscriptions
public virtual void RemoveInterfaceSubscriptions( | CATInterfaceEvents* | eventManager, |
| char* | interfaceID)=0 |
-
Removes all callbacks of this Client on a CATCallbackManager.
- Parameters:
-
- eventManager
- pointer to eventManager
- interfaceID
- interface name
o RemoveSubscriptionsOn
-
Removes all callbacks.
Removes all callbacks which concern the same CATCallbackManager, CATCallbackEvent, CATSubscriberData.
- Parameters:
-
- eventManager
- pointer to eventManager
- event
- kind of event
- interfaceID
- interface name
- data
- data
This object is included in the file: CATInterfaceEvents.h
If needed, your Imakefile.mk should include the module: ObjectModelerSystem
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.