|
mf
Media Framework
|
Node in flow graph, base class. More...
#include <node.h>
Public Member Functions | |
| virtual | ~node () |
| graph & | this_graph () noexcept |
| void | define_source_stream_properties (bool seekable, time_unit stream_duration=-1) |
| void | set_prefetch_duration (time_unit) |
| const auto & | inputs () noexcept |
| const auto & | outputs () noexcept |
| bool | is_source () const noexcept |
| bool | is_sink () const noexcept |
| virtual void | internal_setup ()=0 |
| Called by propagate_setup_. More... | |
| virtual void | launch ()=0 |
| Called by graph for all nodes, before any frame is pulled from sink. More... | |
| virtual void | stop ()=0 |
| Called by graph for all node, before destruction of any node. More... | |
| virtual bool | process_next_frame ()=0 |
| time_unit | end_time () const noexcept |
| bool | reached_end () const noexcept |
| bool | was_setup () const noexcept |
| time_unit | prefetch_duration () const noexcept |
| time_unit | offset () const noexcept |
| bool | stream_duration_is_defined () const noexcept |
| time_unit | stream_duration () const noexcept |
| bool | is_seekable () const noexcept |
| bool | is_bounded () const |
| bool | is_active () const noexcept |
| void | update_activation () |
| Called by output, propagates to preceding nodes. More... | |
| time_unit | current_time () const noexcept |
Public Attributes | |
| std::string | name |
Protected Member Functions | |
| node (graph &gr) | |
| node (const node &)=delete | |
| node & | operator= (const node &)=delete |
| void | setup_sink () |
| Called by sink node, runs set up procedure for all node in graph. More... | |
| void | set_current_time (time_unit t) noexcept |
| void | mark_end () |
| node_job | make_job () |
| void | cancel_job (node_job &) |
| template<typename Input > | |
| Input & | add_input_ (time_unit past_window, time_unit future_window) |
| template<typename Output > | |
| Output & | add_output_ (const frame_format &format) |
Node in flow graph, base class.
|
inlineexplicitprotected |
|
protecteddelete |
|
inlinevirtual |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
inlinenoexcept |
| void mf::flow::node::define_source_stream_properties | ( | bool | seekable, |
| time_unit | stream_duration = -1 |
||
| ) |
|
inlinenoexcept |
|
inlinenoexcept |
|
pure virtual |
Called by propagate_setup_.
Implemented in mf::flow::async_node, mf::flow::sync_node, and mf::flow::sink_node.
|
inlinenoexcept |
| bool mf::flow::node::is_bounded | ( | ) | const |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
pure virtual |
Called by graph for all nodes, before any frame is pulled from sink.
Implemented in mf::flow::async_node, mf::flow::sync_node, and mf::flow::sink_node.
|
protected |
|
inlineprotected |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
pure virtual |
Implemented in mf::flow::async_node, mf::flow::sync_node, and mf::flow::sink_node.
|
noexcept |
|
inlineprotectednoexcept |
| void mf::flow::node::set_prefetch_duration | ( | time_unit | prefetch | ) |
|
protected |
Called by sink node, runs set up procedure for all node in graph.
|
pure virtual |
Called by graph for all node, before destruction of any node.
Implemented in mf::flow::async_node, mf::flow::sync_node, and mf::flow::sink_node.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| void mf::flow::node::update_activation | ( | ) |
Called by output, propagates to preceding nodes.
|
inlinenoexcept |
| std::string mf::flow::node::name |
1.8.6