mf
Media Framework
|
Input port of node in flow graph. More...
#include <node.h>
Public Member Functions | |
node_input (node &nd, std::ptrdiff_t index, time_unit past_window, time_unit future_window) | |
std::ptrdiff_t | index () const noexcept |
node & | this_node () const noexcept |
std::size_t | frame_length () const noexcept |
const frame_format & | format () const noexcept |
time_unit | past_window_duration () const noexcept |
time_unit | future_window_duration () const noexcept |
void | connect (node_output &) |
bool | is_connected () const noexcept |
node_output & | connected_output () const noexcept |
node & | connected_node () const noexcept |
bool | is_activated () const noexcept |
void | set_activated (bool) |
Read interface, used by node. | |
void | pull (time_unit t) |
timed_frame_array_view | begin_read_frame (time_unit t) |
void | end_read_frame (time_unit t) |
void | cancel_read_frame () |
time_unit | end_time () const |
Protected Member Functions | |
node_input (const node_input &)=delete | |
Input port of node in flow graph.
|
protecteddelete |
mf::flow::node_input::node_input | ( | node & | nd, |
std::ptrdiff_t | index, | ||
time_unit | past_window, | ||
time_unit | future_window | ||
) |
timed_frame_array_view mf::flow::node_input::begin_read_frame | ( | time_unit | t | ) |
void mf::flow::node_input::cancel_read_frame | ( | ) |
void mf::flow::node_input::connect | ( | node_output & | output | ) |
|
inlinenoexcept |
|
inlinenoexcept |
void mf::flow::node_input::end_read_frame | ( | time_unit | t | ) |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
void mf::flow::node_input::pull | ( | time_unit | t | ) |
void mf::flow::node_input::set_activated | ( | bool | activated | ) |
|
inlinenoexcept |