Design Patterns
graphic.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_GRAPHIC_H_
7 #define OPERATIONAL_MEMENTO_GRAPHIC_H_
8 
9 #include "../../../structural/src/commons/point.h"
10 
11 namespace operational
12 {
13 namespace memento
14 {
15 class Graphic
16 {
17  public:
18  Graphic();
19  explicit Graphic(std::string id);
20 
22  std::string id() const;
23 
25  void point(const structural::commons::Point<float>& point);
26 
27  private:
28  std::string id_;
30 };
31 }
32 }
33 
34 #endif
35 
std::string id() const
Definition: graphic.cc:24
Definition: application.cc:10
Definition: graphic.h:15
void Move(const structural::commons::Point< float > &)
Definition: graphic.cc:19
const structural::commons::Point< float > & point() const
Definition: graphic.cc:29
Graphic()
Definition: graphic.cc:12