#include <MRHistoryAction.h>
Inheritance diagram for MR::HistoryAction:Public Types | |
| enum class | Type { Type::Undo , Type::Redo } |
Public Member Functions | |
| virtual | ~HistoryAction ()=default |
| virtual std::string | name () const =0 |
| virtual void | action (Type actionType)=0 |
| This function is called on history action (undo, redo, etc.) | |
| virtual size_t | heapBytes () const =0 |
| returns the amount of memory this object occupies on heap | |
Abstract class for history actions