ProcessList.hpp
1 #pragma once
2 #include <Process/ProcessFactory.hpp>
3 
4 #include <score/plugins/InterfaceList.hpp>
5 
6 namespace Process
7 {
8 class SCORE_LIB_PROCESS_EXPORT ProcessFactoryList final
9  : public score::InterfaceList<ProcessModelFactory>
10 {
11 public:
14 
15  object_type* loadMissing(
16  const VisitorVariant& vis, const score::DocumentContext& ctx,
17  QObject* parent) const;
18 };
19 
20 class SCORE_LIB_PROCESS_EXPORT LayerFactoryList final
21  : public score::InterfaceList<LayerFactory>
22 {
23 public:
25 
26  LayerFactory* findDefaultFactory(const Process::ProcessModel& proc) const;
27  LayerFactory* findDefaultFactory(const UuidKey<Process::ProcessModel>& proc) const;
28  LayerFactory* get(const UuidKey<Process::ProcessModel>& proc) const
29  {
30  return findDefaultFactory(proc);
31  }
32 };
33 }
Definition: score-lib-process/Process/ProcessFactory.hpp:58
Definition: ProcessList.hpp:22
Definition: ProcessList.hpp:10
The Process class.
Definition: score-lib-process/Process/Process.hpp:61
InterfaceList Default implementation of InterfaceListBase.
Definition: InterfaceList.hpp:80
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
The VisitorVariant struct.
Definition: VisitorInterface.hpp:26
Definition: DocumentContext.hpp:18