All Frameworks  Class Hierarchy  This Framework  Next  Indexes

VPMPersistency Interface ENOVIEventAttributes

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

Usage: you can freely reimplement this interface.


interface ENOVIEventAttributes

Interface to add extra attributes in published events.
Role:
This interface allows to add customizable supplementary information in the Publish/Subscribe email notifications and in the Published Events panel.
This interface must be implemented as an Extension of the late type of the instance that published the Event.


Method Index


o FillEventStream(ENOVIEvent_var&,CATListOfCATUnicodeString&,ENOVIStream_var&)
Method to add extra attributes in a published event.

Methods


o FillEventStream
public virtual HRESULT FillEventStream( const ENOVIEvent_var& iEvent,
const CATListOfCATUnicodeString& iAttributes,
ENOVIStream_var& oEventStream)=0
Method to add extra attributes in a published event.
Role : The purpose of this method is to fill an Event Stream with the values of all the attributes present in the list. These attributes are characteristics of the late type of the instance that published the event and have been selected by the end-user at subscription time to show up at notification time. The values are to be retrieved from the publisher instance obtained via the method ( ENOVIEvent.GetPublisher ) on the published Event instance. Then the Event Stream is to be filled via the method ( ENOVIStream.AddArgumentValue ).
Parameters:
iEvent
published Event from which the publisher instance can be obtained (
ENOVIEvent )
iAttributes
list of attributes the values of which have to be added to the Event Stream
oEventStream
Event Stream to be filled with the values of the attributes retrieved from the publisher instance (
ENOVIStream )

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

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