Rogue Wave Views
Foundation Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Attributes
IlvActionMessage Class Reference

Notification message sent to observers of IlvActionHistory objects. More...

#include <ilviews/base/action.h>

Public Attributes

IlvAction_action
 
IlvActionMessageType _message
 

Detailed Description

Notification message sent to observers of IlvActionHistory objects.

Library: views

Each time a significant change in an IlvActionHistory object is performed, the action history can notify IlvObserver objects of these changes. This allows you, for example, to keep track of whether commands can be undone or redone, whether commands have generated an error when executed, or whether the document to which the action history is attached has to be saved.

When an IlvActionHistory object calls its notify() method, it passes a pointer to an IlvActionMessage object created statically. This object consists of an IlvActionMessageType and a pointer to the IlvAction object to which the message applies.

See also
IlvObserver, IlvActionHistory, IlvCommand, IlvCommandHistory.

Member Data Documentation

IlvAction* IlvActionMessage::_action

The action to which the message applies.

IlvActionMessageType IlvActionMessage::_message

Message sent to the observers.


© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.