OpenShot Library | libopenshot  0.2.4
Public Member Functions | Public Attributes | List of all members
openshot::WriterClosed Class Reference

Exception when a writer is closed, and a frame is requested. More...

#include <Exceptions.h>

Inheritance diagram for openshot::WriterClosed:
openshot::BaseException

Public Member Functions

 WriterClosed (std::string message, std::string file_path="")
 Constructor. More...
 
virtual ~WriterClosed () noexcept
 
- Public Member Functions inherited from openshot::BaseException
 BaseException (std::string message)
 
virtual const char * what () const noexcept
 
virtual ~BaseException () noexcept
 

Public Attributes

std::string file_path
 

Additional Inherited Members

- Protected Attributes inherited from openshot::BaseException
std::string m_message
 

Detailed Description

Exception when a writer is closed, and a frame is requested.

Definition at line 385 of file Exceptions.h.

Constructor & Destructor Documentation

◆ WriterClosed()

openshot::WriterClosed::WriterClosed ( std::string  message,
std::string  file_path = "" 
)
inline

Constructor.

Parameters
messageA message to accompany the exception
file_path(optional) The output file being written

Definition at line 395 of file Exceptions.h.

◆ ~WriterClosed()

virtual openshot::WriterClosed::~WriterClosed ( )
inlinevirtualnoexcept

Definition at line 397 of file Exceptions.h.

Member Data Documentation

◆ file_path

std::string openshot::WriterClosed::file_path

Definition at line 388 of file Exceptions.h.


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