All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---ObjectModelerSystem.CATInterfaceEvents | +---CATIOmbUndoRedoEvents
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIOmbUndoRedoEvents
Interface to subscribe to undo redo events management.
Role: This interface, implemented by each V5 document, enables you to be informed
when an undo or redo operation occurs in the session.
The methods returns the callback indentifier. Here is an example with the AddCallback global function.
CATDocument *pDoc = .... CATIOmbUndoRedoEvents_var spUndoRedoOnDoc = pDoc ; ::AddCallback( this, pDoc, spUndoRedoOnDoc->GetUndoRedoNotification(), (CATSubscriberMethod) &MyClass::MethodOnMyClass);Where this is an instance of MyClass.
public virtual CATCallbackEvent GetBeforeUndoRedoNotification( | )= 0 |
public virtual CATCallbackEvent GetUndoRedoNotification( | )= 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.