TVwsViewEvent Class Reference

#include <mw/vwsdef.h>

class TVwsViewEvent

Detailed Description

The TVwsViewEvent class encapsulates the attributes of a view server event. These are:
  • The event type

  • The view ids of the two views associated with the event

  • The attributes of any message which can go with the event.

Member Attribute Documentation

iCustomMessageId

TUid iCustomMessageId

The type of message being passed in the custom message buffer

iCustomMessageLength

TInt iCustomMessageLength

The length of the custom message being held by the server. To retrieve the message itself from the server, a buffer of this length must be allocated

iEventType

TVwsViewEventType iEventType

The event type.

iViewOneId

TVwsViewId iViewOneId
The first view id associated with the event. This has a different meaning for each of the event types:
  • For ActivateView events, it is the view to activate

  • For DeactivateView events, it is the view to deactivate

  • For ScreenDeviceChange events, it is the id of the currently active view

  • For ActivationNotification events, it is the id of the activated view

  • For DeactivationNotification events, it is the id of the deactivated view

iViewTwoId

TVwsViewId iViewTwoId
The second view id associated with the event. This has a different meaning for each of the event types:
  • For ActivateView events, it is the view that will be deactivated

  • For DeactivateView events, it is the view that has been activated

  • For ScreenDeviceChange events, it is unused

  • For ActivationNotification events, it is the view that will be deactivated

  • For DeactivationNotification events, it is the id of the view that has been activated

Member Enumeration Documentation

Enum TVwsViewEventType

Constructor & Destructor Documentation

TVwsViewEvent ( )

TVwsViewEvent()[inline]

TVwsViewEvent ( TVwsViewEventType )

TVwsViewEvent(TVwsViewEventTypeaEventType)[inline]

TVwsViewEvent ( TVwsViewEventType, const TVwsViewId & )

TVwsViewEvent(TVwsViewEventTypeaEventType,
const TVwsViewId &aViewOneId
)[inline]

TVwsViewEvent ( TVwsViewEventType, const TVwsViewId &, const TVwsViewId & )

TVwsViewEvent(TVwsViewEventTypeaEventType,
const TVwsViewId &aViewOneId,
const TVwsViewId &aViewTwoId
)[inline]

TVwsViewEvent ( TVwsViewEventType, const TVwsViewId &, const TVwsViewId &, TUid, TInt )

TVwsViewEvent(TVwsViewEventTypeaEventType,
const TVwsViewId &aViewOneId,
const TVwsViewId &aViewTwoId,
TUidaCustomMessageId,
TIntaCustomMessageLength
)[inline]