Design Patterns
move_command.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef OPERATIONAL_MEMENTO_MOVE_COMMAND_H_
7 #define OPERATIONAL_MEMENTO_MOVE_COMMAND_H_
8 
10 
11 namespace operational
12 {
13 namespace memento
14 {
16 {
17  public:
19  void Execute();
20  void Unexecute();
21 
22  private:
26  Graphic* target_;
27 };
28 }
29 }
30 
31 #endif
32 
Definition: application.cc:10
void Execute()
Definition: move_command.cc:14
Definition: graphic.h:15
void Unexecute()
Definition: move_command.cc:21
Definition: move_command.h:15
MoveCommand(ConstraintSolverInterface *solver, Graphic *target, const structural::commons::Point< float > &delta)
Definition: move_command.cc:12
Definition: constraint_solver_interface.h:16
Definition: constraint_solver_memento.h:19