### INotificationEventFor

  An INotificationEventFor is a specialized subclass of INotificationEvent which allows a notifier to pass event-specific data to its observers.

### INotificationEventFor - Member Functions and Data by Group

### Constructors & Destructor

You can construct, destruct, and assign objects of this class.

~INotificationEventFor

      public:
      virtual ~INotificationEventFor()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

INotificationEventFor
  Creates an INotificationEvent from an interest and a reference to some event data. The event data is copied within the constructor.

  Overload 1

      public:
      INotificationEventFor( const INotificationEventFor < AType >& event )

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

  Overload 2

      public:
      INotificationEventFor( const IInterest& interest,
                             const AType& data )

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

operator =

      public:
      INotificationEventFor < AType >&
        operator =( const INotificationEventFor < AType >& event )

  Assigns the contents of one notification event object to another.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Duplication

clone

      public:
      virtual INotificationEvent* clone() const

  Returns a pointer to a copy of this object.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### Event attributes

These members return attributes of the object.

eventData

      public:
      const AType& eventData() const

  Returns the templatized event data associated with the event.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

interest

      public:
      virtual const IInterest& interest() const

  Returns the interest which describes the event.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

notificationId

      public:
      virtual INotificationId notificationId() const

  Returns the notification id for the event.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

notifierAddress

      public:
      virtual INotifierAddress notifierAddress() const

  Returns the notifier address which identifies the source notifier of the event.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

### INotificationEventFor - Inherited Member Functions and Data

#### Inherited Public Functions

  INotificationEvent

  -     virtual ~INotificationEvent()

  -     INotificationEvent(const IInterest& interest)

  -     INotificationEvent(const INotificationEvent& event)

  -     INotificationEvent( INotifier& notifier,
                            const INotificationId& identifier )

  -     INotificationEvent&
          operator =( const INotificationEvent& event )

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  INotificationEvent

  -     INotificationEvent()

#### Inherited Protected Data

  - None