UndoInterpreter deals with messages for Undo and Redo.
#include
<class_undo_interpreter_1_1_undo_interpreter.h>
Public Member Functions |
|
__init__ () | |
activate () | |
Abstract - to be implemented by the
subclasses. |
|
deactivate () | |
Abstract - to be implemented by the
subclasses. |
|
APPLICATION_CLOSE_SCENE () | |
DOCUMENT_LOADED () | |
UNDO_FLUSH_QUEUE () | |
Clear out both the queues:
theUndoMessageQueue theRedoMessageQueue. |
|
UNDO_DUMP_QUEUE () | |
Print the size and the content of both
queues: theUndoMessageQueue theRedoMessageQueue. |
|
UNDO () | |
Undo is responsible for moving messages from
the undo message queue to the message queue for execution. |
|
REDO () | |
Redo is responsible for moving messages from
the redo message queue to the message queue for execution. |
|
VIEWER_LAYOUT () |
UndoInterpreter.UndoInterpreter.__init__ | ( | ) |
Reimplemented from MessageInterpreter.MessageInterpreter.
UndoInterpreter.UndoInterpreter.activate | ( | ) |
Abstract - to be implemented by the subclasses.
Performs the operations necessary to place this interpreter into a ready, active state. Ensure that this base class implementation is called by the subclass implementation.
Reimplemented from MessageInterpreter.MessageInterpreter.
UndoInterpreter.UndoInterpreter.deactivate | ( | ) |
Abstract - to be implemented by the subclasses.
Performs the operations necessary to place this interpreter into a passive state. Ensure that this base class implementation is called by the subclass implementation.
Reimplemented from MessageInterpreter.MessageInterpreter.
UndoInterpreter.UndoInterpreter.APPLICATION_CLOSE_SCENE | ( | ) |
UndoInterpreter.UndoInterpreter.DOCUMENT_LOADED | ( | ) |
UndoInterpreter.UndoInterpreter.UNDO_FLUSH_QUEUE | ( | ) |
Clear out both the queues: theUndoMessageQueue theRedoMessageQueue.
UndoInterpreter.UndoInterpreter.UNDO_DUMP_QUEUE | ( | ) |
Print the size and the content of both queues: theUndoMessageQueue theRedoMessageQueue.
UndoInterpreter.UndoInterpreter.UNDO | ( | ) |
Undo is responsible for moving messages from the undo message queue to the message queue for execution.
Messages can be moved either individually, or in a chunk. A chunk is a group of messages that is sandwiched by a matching OPEN_CHUNK and CLOSE_CHUNK pair of messages.
UndoInterpreter.UndoInterpreter.REDO | ( | ) |
Redo is responsible for moving messages from the redo message queue to the message queue for execution.
Messages can be moved either individually, or in a chunk. A chunk is a group of messages that is sandwiched by a matching OPEN_CHUNK and CLOSE_CHUNK pair of messages. All messages between the OPEN and CLOSE chunk has to be executed in reverse order.
UndoInterpreter.UndoInterpreter.VIEWER_LAYOUT | ( | ) |