openMSX
ScalerFactory.hh
Go to the documentation of this file.
1 #ifndef SCALERFACTORY_HH
2 #define SCALERFACTORY_HH
3 
4 #include <memory>
5 
6 namespace openmsx {
7 
8 class RenderSettings;
9 template<typename Pixel> class Scaler;
10 template<typename Pixel> class PixelOperations;
11 
15 template<typename Pixel>
17 {
18 public:
22  [[nodiscard]] static std::unique_ptr<Scaler<Pixel>> createScaler(
23  const PixelOperations<Pixel>& pixelOps,
24  RenderSettings& renderSettings);
25 };
26 
27 } // namespace openmsx
28 
29 #endif
openmsx::PixelOperations
Definition: PixelOperations.hh:144
openmsx::RenderSettings
Class containing all settings for renderers.
Definition: RenderSettings.hh:22
openmsx::ScalerFactory
Abstract base class for scalers.
Definition: ScalerFactory.hh:17
openmsx::ScalerFactory::createScaler
static std::unique_ptr< Scaler< Pixel > > createScaler(const PixelOperations< Pixel > &pixelOps, RenderSettings &renderSettings)
Instantiates a Scaler.
Definition: ScalerFactory.cc:28
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5