Design Patterns
my_class.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_COMMAND_MY_CLASS_H_
7 #define OPERATIONAL_COMMAND_MY_CLASS_H_
8 
9 namespace operational
10 {
11 namespace command
12 {
13 class MyClass
14 {
15  public:
16  MyClass();
17  explicit MyClass(bool fired);
18 
19  void Action();
20 
21  bool fired() const;
22 
23  private :
24  bool fired_;
25 };
26 }
27 }
28 
29 #endif
30 
Definition: my_class.h:13
Definition: application.cc:10
void Action()
Definition: my_class.cc:16
bool fired() const
Definition: my_class.cc:21
MyClass()
Definition: my_class.cc:12