Loading...
Searching...
No Matches
score2OSSIA.hpp
1#pragma once
2#include <State/Expression.hpp>
3#include <State/Value.hpp>
4
5#include <Process/TimeValue.hpp>
6
7#include <ossia/editor/expression/expression.hpp>
8#include <ossia/editor/scenario/time_value.hpp>
9
10#include <score_plugin_scenario_export.h>
11
12#include <memory>
13namespace Execution
14{
15struct Context;
16}
17namespace Scenario
18{
19class StateModel;
20}
21namespace ossia
22{
23struct execution_state;
24class state;
25} // namespace OSSIA
26namespace Engine
27{
28namespace score_to_ossia
29{
30
31void state(
32 ossia::state& ossia_state, const Scenario::StateModel& score_state,
33 const ossia::execution_state& ctx);
34
35SCORE_PLUGIN_SCENARIO_EXPORT
36ossia::state
37state(const Scenario::StateModel& score_state, const ossia::execution_state& ctx);
38
39SCORE_PLUGIN_SCENARIO_EXPORT
40void play_state_from_ui(
41 const Scenario::StateModel& score_state, const Execution::Context& ctx);
42
43ossia::expression_ptr
44condition_expression(const State::Expression& expr, const ossia::execution_state&);
45ossia::expression_ptr
46trigger_expression(const State::Expression& expr, const ossia::execution_state&);
47}
48}
Definition StateModel.hpp:63
Link of score with the OSSIA API execution engine.
Definition CurveConversion.hpp:8
Components used for the execution of a score.
Definition ProcessComponent.cpp:12
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13
Definition ExecutionContext.hpp:76