grapa.shared.command_recorder
@author: Romain Carron Copyright (c) 2026, Empa, Laboratory for Thin Films and Photovoltaics, Romain Carron
Classes
|
Action describes a function call: func, args, kwargs. |
|
A command contains a subject, and do and undo Actions. |
|
Records commands (actions) performed on a graph, to allow undo/redo. |
|
Records operations performed on a Curve, to allow undo/redo functionality. |
|
Decouple: CommandRecorderBase takes care of the logic, and implementation details specific to grapa in CommandRecorderGraph e.g. how to retrieve caller from description, and how to dscribe caller. |
Keeps track of Graphs containing a Curve. |
|
|
A context manager to temporarily suspend logging in CommandRecorder |