3 #include <State/Address.hpp>
5 #include <Device/Address/AddressSettings.hpp>
6 #include <Device/Node/DeviceNode.hpp>
8 #include <Process/TimeValue.hpp>
10 #include <Scenario/Commands/Scenario/Displacement/MoveNewEvent.hpp>
12 #include <Recording/Commands/Record.hpp>
14 #include <score/command/Dispatchers/MacroCommandDispatcher.hpp>
15 #include <score/tools/std/HashMap.hpp>
21 namespace RedoStrategy
27 class DeviceExplorerModel;
41 struct hash<
Device::FullAddressSettings>
59 using RecordListening = std::vector<std::vector<Device::Node*>>;
81 inline double GetTimeDifferenceInDouble(std::chrono::steady_clock::time_point start)
83 using namespace std::chrono;
84 return duration_cast<microseconds>(steady_clock::now() - start).count() / 1000.;
86 inline TimeVal GetTimeDifference(std::chrono::steady_clock::time_point start)
88 using namespace std::chrono;
89 return TimeVal::fromMsecs(GetTimeDifferenceInDouble(start));
97 constexpr
int ReasonableUpdateInterval(
int numberOfCurves)
99 return numberOfCurves < 10 ? 8
100 : numberOfCurves < 50 ? 16
101 : numberOfCurves < 100 ? 100
102 : numberOfCurves < 1000 ? 1000
Definition: DeviceExplorerModel.hpp:67
The MacroCommandDispatcher class.
Definition: MacroCommandDispatcher.hpp:18
Definition: Record.hpp:11
Definition: MoveNewEvent.hpp:34
Definition: IntervalModel.hpp:50
The id_base_t class.
Definition: Identifier.hpp:57
Manipulation of Devices from Qt.
Definition: AddressSettings.cpp:14
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: AddressSettings.hpp:62
Definition: RecordTools.hpp:64
Definition: RecordProviderFactory.hpp:39
Definition: SendStrategy.hpp:42
Definition: SendStrategy.hpp:23
Definition: TimeValue.hpp:21
Definition: Address.hpp:187