Design Patterns
compositor_interface.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_COMPOSITOR_INTERFACE_H_
7 #define OPERATIONAL_STRATEGY_COMPOSITOR_INTERFACE_H_
8 
9 namespace operational
10 {
11 namespace strategy
12 {
14 {
15  public:
16  virtual ~CompositorInterface() {}
17 
18  virtual int Compose(float natural[], float stretch[], float shrink[], int componentCount, int lineWidth, int breaks[]) = 0;
19 };
20 }
21 }
22 
23 #endif
24 
virtual int Compose(float natural[], float stretch[], float shrink[], int componentCount, int lineWidth, int breaks[])=0
Definition: compositor_interface.h:13
Definition: application.cc:10
virtual ~CompositorInterface()
Definition: compositor_interface.h:16