Design Patterns
command_application.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_COMMAND_APPLICATION_H_
7 #define OPERATIONAL_COMMAND_COMMAND_APPLICATION_H_
8 
9 #include "command_document.h"
10 
11 namespace operational
12 {
13 namespace command
14 {
16 {
17  public:
19 
20  void Add(CommandDocument*);
21  std::string GetCurrentDocumentTitle() const;
22 
23  private:
24  CommandDocument* current_document_;
25 };
26 }
27 }
28 
29 #endif
30 
Definition: command_document.h:15
Definition: application.cc:10
void Add(CommandDocument *)
Definition: command_application.cc:14
std::string GetCurrentDocumentTitle() const
Definition: command_application.cc:19
CommandApplication()
Definition: command_application.cc:12
Definition: command_application.h:15