StormByte C++ Library: Multimedia module 0.0.9999
StormByte-Multimedia is a StormByte library module for parsing configuration files
Loading...
Searching...
No Matches
Public Member Functions | List of all members
StormByte::Multimedia::FFmpeg::Exception Class Reference

Base for FFmpeg backend errors. More...

#include <StormByte/multimedia/ffmpeg/exception.hxx>

Inheritance diagram for StormByte::Multimedia::FFmpeg::Exception:
Inheritance graph
[legend]
Collaboration diagram for StormByte::Multimedia::FFmpeg::Exception:
Collaboration graph
[legend]

Public Member Functions

template<typename... Args>
 Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args)
 Constructs a formatted AV exception.
 
 Exception (const std::string &message)
 Constructs from a preformatted message (Unexpected<E>(fmt, …)).
 
 Exception (const Exception &)=default
 Copy constructor.
 
 Exception (Exception &&) noexcept=default
 Move constructor.
 
 ~Exception () noexcept override=default
 Destructor.
 
Exceptionoperator= (const Exception &)=default
 Copy assignment.
 
Exceptionoperator= (Exception &&) noexcept=default
 Move assignment.
 
- Public Member Functions inherited from StormByte::Multimedia::Exception
template<typename... Args>
 Exception (const std::string &component, std::format_string< Args... > fmt, Args &&... args)
 Constructs a formatted Multimedia exception.
 
 Exception (const Exception &)=default
 Copy constructor.
 
 Exception (Exception &&) noexcept=default
 Move constructor.
 
 ~Exception () noexcept override=default
 Destructor.
 
Exceptionoperator= (const Exception &)=default
 Copy assignment.
 
Exceptionoperator= (Exception &&) noexcept=default
 Move assignment.
 

Detailed Description

Base for FFmpeg backend errors.

Constructor & Destructor Documentation

◆ Exception() [1/4]

template<typename... Args>
StormByte::Multimedia::FFmpeg::Exception::Exception ( const std::string &  component,
std::format_string< Args... >  fmt,
Args &&...  args 
)
inline

Constructs a formatted AV exception.

Template Parameters
ArgsFormat argument types.
Parameters
componentSubsystem label (BSF, Decoder, Encoder).
fmtFormat string.
argsFormat arguments.

◆ Exception() [2/4]

StormByte::Multimedia::FFmpeg::Exception::Exception ( const std::string &  message)
inlineexplicit

Constructs from a preformatted message (Unexpected<E>(fmt, …)).

Parameters
messageAlready formatted text.

◆ Exception() [3/4]

StormByte::Multimedia::FFmpeg::Exception::Exception ( const Exception )
default

Copy constructor.

◆ Exception() [4/4]

StormByte::Multimedia::FFmpeg::Exception::Exception ( Exception &&  )
defaultnoexcept

Move constructor.

◆ ~Exception()

StormByte::Multimedia::FFmpeg::Exception::~Exception ( )
overridedefaultnoexcept

Destructor.

Member Function Documentation

◆ operator=() [1/2]

Exception & StormByte::Multimedia::FFmpeg::Exception::operator= ( const Exception )
default

Copy assignment.

Returns
*this.

◆ operator=() [2/2]

Exception & StormByte::Multimedia::FFmpeg::Exception::operator= ( Exception &&  )
defaultnoexcept

Move assignment.

Returns
*this.

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