All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Visualization Class CATExtIModelEvents

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

Usage: you can derive this class.


public class CATExtIModelEvents

Class which is an Adapter to the CATIModelEvents interface.
Role: This class provides a default implementation for any extension of the CATIModelEvents interface. That means you should derive from this class to implement your extension of the CATIModelEvents interface.

See also:
CATIModelEvents, CATNotificationDispatcher


Constructor and Destructor Index


o CATExtIModelEvents(void)
Constructs the class.
o ~CATExtIModelEvents(void)

Method Index


o ConnectTo(CATBaseUnknown*)
Connects current object to a given one.
o DeconnectFrom(CATBaseUnknown*)
Disconnects current object from a given one.
o Dispatch(CATNotification&)
Sends a notification.
o GetDispatcher()
Returns the dispatcher of notification.
o Receive(CATNotification&)
Receives a notification thru the CATIModelEvents mechanism.

Constructor and Destructor


o CATExtIModelEvents
public CATExtIModelEvents(void )
Constructs the class.
o ~CATExtIModelEvents
public virtual ~CATExtIModelEvents(void )

Methods


o ConnectTo
public virtual void ConnectTo(CATBaseUnknown* iChild)
Connects current object to a given one.
Parameters:
iChild
object from which current object wants to receive notifications.
o DeconnectFrom
public virtual void DeconnectFrom(CATBaseUnknown* iChild)
Disconnects current object from a given one.
Parameters:
iChild
object from which current object wants not to receive notifications.
o Dispatch
public virtual void Dispatch(CATNotification& iNotif)
Sends a notification.
Parameters:
iNotif
the event to send.
o GetDispatcher
public virtual CATNotificationDispatcher * GetDispatcher()
Returns the dispatcher of notification.
o Receive
public virtual void Receive(CATNotification& iNotif)
Receives a notification thru the CATIModelEvents mechanism.
Parameters:
iNotif
event current object receives.

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

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