OSSIA
Open Scenario System for Interactive Application
Loading...
Searching...
No Matches
node_process.hpp
1#pragma once
2#include <ossia/detail/config.hpp>
3
4#if defined(OSSIA_SCENARIO_DATAFLOW)
5#include <ossia/dataflow/graph_node.hpp>
7
8namespace ossia
9{
10
11class OSSIA_EXPORT node_process : public looping_process<node_process>
12{
13public:
14 node_process(ossia::node_ptr n);
15 ~node_process() override;
16 void offset_impl(ossia::time_value) override;
17 void transport_impl(ossia::time_value date) override;
18
19 void state_impl(const ossia::token_request& req)
20 {
21#if defined(OSSIA_SCENARIO_DATAFLOW)
22 node->request(req);
23#endif
24 }
25
26 void start() override;
27 void stop() override;
28 void pause() override;
29 void resume() override;
30 void mute_impl(bool) override;
31};
32
33}
34#endif
Definition git_info.h:7
The time_value class.
Definition ossia/editor/scenario/time_value.hpp:30