mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
mf::frame_exporter< Dim, Elem > Class Template Referenceabstract

Frame exporter, abstract base class. More...

#include <frame_exporter.h>

Public Types

using frame_view_type = ndarray_view< Dim, Elem >
 
using elem_type = Elem
 

Public Member Functions

virtual ~frame_exporter ()
 
const ndsize< Dim > & frame_shape ()
 
virtual void write_frame (const frame_view_type &)=0
 
virtual void close ()
 

Static Public Attributes

static constexpr std::size_t dimension = Dim
 

Protected Member Functions

 frame_exporter (const ndsize< Dim > &frame_shape)
 

Detailed Description

template<std::size_t Dim, typename Elem>
class mf::frame_exporter< Dim, Elem >

Frame exporter, abstract base class.

Member Typedef Documentation

template<std::size_t Dim, typename Elem>
using mf::frame_exporter< Dim, Elem >::elem_type = Elem
template<std::size_t Dim, typename Elem>
using mf::frame_exporter< Dim, Elem >::frame_view_type = ndarray_view<Dim, Elem>

Constructor & Destructor Documentation

template<std::size_t Dim, typename Elem>
mf::frame_exporter< Dim, Elem >::frame_exporter ( const ndsize< Dim > &  frame_shape)
inlineprotected
template<std::size_t Dim, typename Elem>
virtual mf::frame_exporter< Dim, Elem >::~frame_exporter ( )
inlinevirtual

Member Function Documentation

template<std::size_t Dim, typename Elem>
virtual void mf::frame_exporter< Dim, Elem >::close ( )
inlinevirtual

Reimplemented in mf::video_exporter.

template<std::size_t Dim, typename Elem>
const ndsize<Dim>& mf::frame_exporter< Dim, Elem >::frame_shape ( )
inline
template<std::size_t Dim, typename Elem>
virtual void mf::frame_exporter< Dim, Elem >::write_frame ( const frame_view_type )
pure virtual

Member Data Documentation

template<std::size_t Dim, typename Elem>
constexpr std::size_t mf::frame_exporter< Dim, Elem >::dimension = Dim
static

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