Loading...
Searching...
No Matches
score-plugin-gfx/Gfx/Sink/Process.hpp
1#pragma once
2#include <Process/GenericProcessFactory.hpp>
3#include <Process/Process.hpp>
4
5#include <Gfx/Sink/Metadata.hpp>
6
7#include <score_plugin_gfx_export.h>
8
9namespace Gfx::Sink
10{
11class SCORE_PLUGIN_GFX_EXPORT Model final : public Process::ProcessModel
12{
13 SCORE_SERIALIZE_FRIENDS
14 PROCESS_METADATA_IMPL(Gfx::Sink::Model)
15 W_OBJECT(Model)
16
17public:
18 Model(const TimeVal& duration, const Id<Process::ProcessModel>& id, QObject* parent);
19
20 template <typename Impl>
21 Model(Impl& vis, QObject* parent)
22 : Process::ProcessModel{vis, parent}
23 {
24 vis.writeTo(*this);
25 }
26
27 ~Model() override;
28
29private:
30 QString prettyName() const noexcept override;
31};
32
34}
Definition score-plugin-gfx/Gfx/Sink/Process.hpp:12
Definition GenericProcessFactory.hpp:15
The Process class.
Definition score-lib-process/Process/Process.hpp:80
The id_base_t class.
Definition Identifier.hpp:59
Definition TimeValue.hpp:21