Notification message sent to observers of IlvActionHistory
objects.
More...
#include <ilviews/base/action.h>
Public Attributes | |
IlvAction * | _action |
IlvActionMessageType | _message |
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.
IlvObserver
, IlvActionHistory
, IlvCommand
, IlvCommandHistory
. IlvAction* IlvActionMessage::_action |
The action to which the message applies.
IlvActionMessageType IlvActionMessage::_message |
Message sent to the observers.