Sayonara Player
Loading...
Searching...
No Matches
src
Components
Engine
PipelineFactory.h
1
/* PipelineFactory.h, (Created on 15.01.2025) */
2
3
/* Copyright (C) 2011-2025 Michael Lugmair
4
*
5
* This file is part of Sayonara Player
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
#ifndef SAYONARA_PLAYER_PIPELINEFACTORY_H
21
#define SAYONARA_PLAYER_PIPELINEFACTORY_H
22
23
#include <memory>
24
25
class
QString;
26
namespace
Engine
27
{
28
class
Pipeline;
29
30
class
PipelineFactory
31
{
32
public
:
33
virtual
~PipelineFactory
()
noexcept
;
34
[[nodiscard]]
virtual
std::shared_ptr<Pipeline> createPipeline(
const
QString& name)
const
= 0;
35
36
};
37
38
class
StandardPipelineFactory
:
39
public
PipelineFactory
40
{
41
public
:
42
~StandardPipelineFactory
()
noexcept
override
;
43
44
[[nodiscard]] std::shared_ptr<Pipeline> createPipeline(
const
QString& name)
const override
;
45
};
46
47
using
PipelineFactoryPtr = std::shared_ptr<PipelineFactory>;
48
49
}
// Engine
50
51
#endif
//SAYONARA_PLAYER_PIPELINEFACTORY_H
Engine::PipelineFactory
Definition
PipelineFactory.h:31
Engine::StandardPipelineFactory
Definition
PipelineFactory.h:40
Generated on Fri Apr 25 2025 00:00:00 for Sayonara Player by
1.12.0