Views
Foundation Package API Reference Guide
Product Documentation:
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

◆ _action

IlvAction* IlvActionMessage::_action

The action to which the message applies.

◆ _message

IlvActionMessageType IlvActionMessage::_message

Message sent to the observers.