avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Member Functions | Protected Attributes | List of all members
FFWrapperRef< T > Struct Template Reference

#include <ffmpeg.h>

Public Member Functions

 FFWrapperRef ()=default
 
 FFWrapperRef (const T &raw)
 
const T * raw () const
 
T * raw ()
 
void reset (const T &raw=T())
 
bool isNull () const
 
void _log (int level, const char *fmt) const
 
template<typename... Args>
void _log (int level, const char *fmt, const Args &... args) const
 

Protected Attributes

m_raw = T()
 

Constructor & Destructor Documentation

◆ FFWrapperRef() [1/2]

template<typename T >
FFWrapperRef< T >::FFWrapperRef ( )
default

◆ FFWrapperRef() [2/2]

template<typename T >
FFWrapperRef< T >::FFWrapperRef ( const T &  raw)
inlineexplicit

Member Function Documentation

◆ _log() [1/2]

template<typename T >
void FFWrapperRef< T >::_log ( int  level,
const char *  fmt 
) const
inline

◆ _log() [2/2]

template<typename T >
template<typename... Args>
void FFWrapperRef< T >::_log ( int  level,
const char *  fmt,
const Args &...  args 
) const
inline

◆ isNull()

template<typename T >
bool FFWrapperRef< T >::isNull ( ) const
inline

◆ raw() [1/2]

template<typename T >
T* FFWrapperRef< T >::raw ( )
inline

◆ raw() [2/2]

template<typename T >
const T* FFWrapperRef< T >::raw ( ) const
inline

◆ reset()

template<typename T >
void FFWrapperRef< T >::reset ( const T &  raw = T())
inline

Member Data Documentation

◆ m_raw

template<typename T >
T FFWrapperRef< T >::m_raw = T()
protected

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