|
mf
Media Framework
|
Output port of node in flow graph. More...
#include <node.h>
Public Member Functions | |
| node_output (node &nd, std::ptrdiff_t index, const frame_format &) | |
| virtual | ~node_output () |
| std::ptrdiff_t | index () const noexcept |
| node & | this_node () const noexcept |
| void | define_frame_length (std::size_t len) |
| std::size_t | frame_length () const noexcept |
| void | define_format (const frame_format &format) |
| const frame_format & | format () const noexcept |
| bool | is_connected () const noexcept |
| node_input & | connected_input () const noexcept |
| void | input_has_connected (node_input &) |
| virtual void | setup ()=0 |
| bool | is_active () const noexcept |
| void | propagate_activation (bool active) |
Read interface, used by connected input. | |
Constitutes access point to the node from other nodes in graph. | |
| virtual void | pull (time_span span)=0 |
| virtual timed_frame_array_view | begin_read (time_unit duration)=0 |
| virtual void | end_read (time_unit duration)=0 |
| virtual time_unit | end_time () const =0 |
Write interface, used by node. | |
Implemented differently for different node types. | |
| virtual frame_view | begin_write_frame (time_unit &t)=0 |
| virtual void | end_write_frame (bool was_last_frame)=0 |
| virtual void | cancel_write_frame ()=0 |
Protected Member Functions | |
| node_output (const node_output &)=delete | |
Output port of node in flow graph.
|
protecteddelete |
| mf::flow::node_output::node_output | ( | node & | nd, |
| std::ptrdiff_t | index, | ||
| const frame_format & | format | ||
| ) |
|
inlinevirtual |
|
pure virtual |
Implemented in mf::flow::async_node_output, and mf::flow::sync_node_output.
|
pure virtual |
Implemented in mf::flow::async_node_output, and mf::flow::sync_node_output.
|
pure virtual |
Implemented in mf::flow::async_node_output, and mf::flow::sync_node_output.
|
inlinenoexcept |
|
inline |
|
inline |
|
pure virtual |
Implemented in mf::flow::async_node_output, and mf::flow::sync_node_output.
|
pure virtual |
Implemented in mf::flow::async_node_output, and mf::flow::sync_node_output.
|
pure virtual |
Implemented in mf::flow::async_node_output, and mf::flow::sync_node_output.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
| void mf::flow::node_output::input_has_connected | ( | node_input & | input | ) |
|
inlinenoexcept |
|
inlinenoexcept |
| void mf::flow::node_output::propagate_activation | ( | bool | active | ) |
|
pure virtual |
Implemented in mf::flow::async_node_output, and mf::flow::sync_node_output.
|
pure virtual |
Implemented in mf::flow::async_node_output, and mf::flow::sync_node_output.
|
inlinenoexcept |
1.8.6