All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Interface CATISchEventManager

System.IUnknown
  |
  +---CATISchEventManager
 

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


interface CATISchEventManager

Interface to manage the schematic application events.
Role: To provide a mechanism for communication between the application-added user interactive dialogs and Schematic Platform generic commands.


Method Index


o DispatchEvent(CATSchNotification*)
Dispatch schematic event.
o GetEvent(CATSchEvent,CATCallbackEvent*)
Get schematic event.
o GetEventPublisher(CATEventSubscriber**)
Get the event publisher.

Methods


o DispatchEvent
public virtual HRESULT DispatchEvent(CATSchNotification* iNotif) = 0
Dispatch schematic event.
Parameters:
iNotif
the notification to be dispatched with the event
o GetEvent
public virtual HRESULT GetEvent(CATSchEvent iEventType,
CATCallbackEvent* oEvent) = 0
Get schematic event.
Parameters:
iEventType
type of schematic event
oEvent
pointer to an event caller must allocate local memory for first level pointer (oEvent)
o GetEventPublisher
public virtual HRESULT GetEventPublisher(CATEventSubscriber** oEventPublisher) = 0
Get the event publisher.
Parameters:
oEvent
pointer to an event publisher The caller must allocate memory for the first level pointer (i.e. oEventPublisher) and release the second level pointer (i.e. *oEventPublisher) after usage.

This object is included in the file: CATISchEventManager.h

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