The purpose of this class is to combine all actions appended to global history store in one big action to undo/redo them all at once. More...
#include <MRAppendHistory.h>
Public Member Functions | |
MRVIEWER_API | ScopeHistory (const std::string &name) |
creates new CombinedHistoryAction, and setups global history store to append all new actions there during this object lifetime | |
MRVIEWER_API | ~ScopeHistory () |
created before CombinedHistoryAction if not empty is appended (with all sub-actions) in the global history store | |
const std::shared_ptr< CombinedHistoryAction > & | combinedAction () const |
returns the action being populated | |
The purpose of this class is to combine all actions appended to global history store in one big action to undo/redo them all at once.
MRVIEWER_API MR::ScopeHistory::ScopeHistory | ( | const std::string & | name | ) |
creates new CombinedHistoryAction, and setups global history store to append all new actions there during this object lifetime
MRVIEWER_API MR::ScopeHistory::~ScopeHistory | ( | ) |
created before CombinedHistoryAction if not empty is appended (with all sub-actions) in the global history store
|
inline |
returns the action being populated