#include <actions.h>
|
| | AddAction (Model &model, std::vector< u64 > &&path, Task &&task) |
| | Parameterized constructor.
|
| virtual void | execute () override |
| | execute action.
|
| virtual void | undo () override |
| | undo action.
|
| | Action (Model &model, std::vector< u64 > &&path) |
| | Parameterized constructor.
|
| virtual | ~Action ()=default |
| | Default destructor.
|
◆ AddAction()
| todo::AddAction::AddAction |
( |
Model & | model, |
|
|
std::vector< u64 > && | path, |
|
|
Task && | task ) |
Parameterized constructor.
- Parameters
-
| model | Reference to the model to work with. |
| path | R-value reference to the path of action. |
| task | R-value reference to the task to add. |
◆ execute()
| void todo::AddAction::execute |
( |
| ) |
|
|
overridevirtual |
◆ undo()
| void todo::AddAction::undo |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: