|
mf
Media Framework
|
Graph containing interconnected nodes through which media frames flow. More...
#include <graph.h>
Public Types | |
| using | frame_callback_function_type = void(time_unit t) |
Public Member Functions | |
| ~graph () | |
| template<typename Filter , typename Node = sync_node, typename... Args> | |
| Filter & | add_filter (Args &&...args) |
| template<typename Filter , typename... Args> | |
| Filter & | add_sink_filter (Args &&...args) |
| bool | was_setup () const |
| bool | is_running () const |
| event & | stop_event () |
| void | setup () |
| void | launch () |
| void | stop () |
| time_unit | current_time () const |
| void | run_until (time_unit last_frame) |
| void | run_for (time_unit duration) |
| bool | run () |
| void | seek (time_unit target_time) |
Public Attributes | |
| std::function < frame_callback_function_type > | callback_function |
Graph containing interconnected nodes through which media frames flow.
| using mf::flow::graph::frame_callback_function_type = void(time_unit t) |
| mf::flow::graph::~graph | ( | ) |
|
inline |
|
inline |
| time_unit mf::flow::graph::current_time | ( | ) | const |
|
inline |
| void mf::flow::graph::launch | ( | ) |
| bool mf::flow::graph::run | ( | ) |
| void mf::flow::graph::run_for | ( | time_unit | duration | ) |
| void mf::flow::graph::run_until | ( | time_unit | last_frame | ) |
| void mf::flow::graph::seek | ( | time_unit | target_time | ) |
| void mf::flow::graph::setup | ( | ) |
| void mf::flow::graph::stop | ( | ) |
|
inline |
|
inline |
| std::function<frame_callback_function_type> mf::flow::graph::callback_function |
1.8.6