Loading...
Searching...
No Matches
MagneticInfo.hpp
1#pragma once
2#include <Process/TimeValue.hpp>
3
4#include <score_lib_process_export.h>
5
6#include <functional>
7
8namespace Process
9{
10struct SCORE_LIB_PROCESS_EXPORT MagneticInfo
11{
12 TimeVal time;
13 bool snapLine{};
14 operator const TimeVal&() const noexcept { return time; }
15 operator TimeVal&() noexcept { return time; }
16};
17
18using MagnetismHandler = std::function<MagneticInfo(const QObject*, TimeVal)>;
19}
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1324
Definition MagneticInfo.hpp:11
Definition TimeValue.hpp:21