Design Patterns
Main Page
Namespaces
Classes
Files
File List
simple_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_SIMPLE_COMPOSITOR_H_
7
#define OPERATIONAL_STRATEGY_SIMPLE_COMPOSITOR_H_
8
9
#include "
compositor_interface.h
"
10
11
namespace
operational
12
{
13
namespace
strategy
14
{
15
class
SimpleCompositor
:
public
CompositorInterface
16
{
17
public
:
18
virtual
int
Compose
(
float
natural[],
float
stretch[],
float
shrink[],
int
componentCount,
int
lineWidth,
int
breaks[])
override
;
19
};
20
}
21
}
22
23
#endif
24
operational::strategy::CompositorInterface
Definition:
compositor_interface.h:13
operational
Definition:
application.cc:10
compositor_interface.h
operational::strategy::SimpleCompositor::Compose
virtual int Compose(float natural[], float stretch[], float shrink[], int componentCount, int lineWidth, int breaks[]) override
Definition:
simple_compositor.cc:12
operational::strategy::SimpleCompositor
Definition:
simple_compositor.h:15
src
operational
src
strategy
simple_compositor.h
Generated by
1.8.10