mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
mf::flow::node_input Class Reference

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
 
nodethis_node () const noexcept
 
std::size_t frame_length () const noexcept
 
const frame_formatformat () 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_outputconnected_output () const noexcept
 
nodeconnected_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
 

Detailed Description

Input port of node in flow graph.

Constructor & Destructor Documentation

mf::flow::node_input::node_input ( const node_input )
protecteddelete
mf::flow::node_input::node_input ( node nd,
std::ptrdiff_t  index,
time_unit  past_window,
time_unit  future_window 
)

Member Function Documentation

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)
node& mf::flow::node_input::connected_node ( ) const
inlinenoexcept
node_output& mf::flow::node_input::connected_output ( ) const
inlinenoexcept
void mf::flow::node_input::end_read_frame ( time_unit  t)
time_unit mf::flow::node_input::end_time ( ) const
inline
const frame_format& mf::flow::node_input::format ( ) const
inlinenoexcept
std::size_t mf::flow::node_input::frame_length ( ) const
inlinenoexcept
time_unit mf::flow::node_input::future_window_duration ( ) const
inlinenoexcept
std::ptrdiff_t mf::flow::node_input::index ( ) const
inlinenoexcept
bool mf::flow::node_input::is_activated ( ) const
inlinenoexcept
bool mf::flow::node_input::is_connected ( ) const
inlinenoexcept
time_unit mf::flow::node_input::past_window_duration ( ) const
inlinenoexcept
void mf::flow::node_input::pull ( time_unit  t)
void mf::flow::node_input::set_activated ( bool  activated)
node& mf::flow::node_input::this_node ( ) const
inlinenoexcept

The documentation for this class was generated from the following files: