2 #include <Process/TimeValue.hpp>
4 #include <Magnetism/MagneticInfo.hpp>
6 #include <score/plugins/Interface.hpp>
7 #include <score/plugins/InterfaceList.hpp>
12 #include <score_lib_process_export.h>
34 void registerHandler(T& context) noexcept
36 registerHandler(&context, [&context](
const QObject* obj,
TimeVal t) {
37 return context.magneticPosition(obj, t);
40 void registerHandler(QObject* context, MagnetismHandler h) noexcept;
41 void unregisterHandler(QObject* context) noexcept;
47 void insert(std::unique_ptr<score::InterfaceBase>)
override;
48 void optimize() noexcept
override;
50 std::vector<std::pair<QPointer<QObject>, MagnetismHandler>> m_handlers;
Definition: MagnetismAdjuster.hpp:24
Definition: UuidKey.hpp:343
InterfaceListBase Interface to access factories.
Definition: InterfaceList.hpp:29
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Definition: MagneticInfo.hpp:11
Definition: TimeValue.hpp:21