Design Patterns
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
array_compositor.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_STRATEGY_ARRAY_COMPOSITOR_H_
7 #define OPERATIONAL_STRATEGY_ARRAY_COMPOSITOR_H_
8 
9 #include "compositor_interface.h"
10 
11 namespace operational
12 {
13 namespace strategy
14 {
16 {
17  public:
18  explicit ArrayCompositor(int interval);
19 
20  virtual int Compose(float natural[], float stretch[], float shrink[], int componentCount, int lineWidth, int breaks[]) override;
21 
22  private:
23  int interval_;
24 };
25 }
26 }
27 
28 #endif
29 
virtual int Compose(float natural[], float stretch[], float shrink[], int componentCount, int lineWidth, int breaks[]) override
Definition: array_compositor.cc:14
ArrayCompositor(int interval)
Definition: array_compositor.cc:12
Definition: compositor_interface.h:13
Definition: application.cc:10
Definition: array_compositor.h:15