Audacity 3.2.0
Public Member Functions | List of all members
Observer::ExceptionPolicy Struct Referenceabstract

May be supplied to constructor of Publisher to customize exception handling. More...

#include <Observer.h>

Public Member Functions

virtual ~ExceptionPolicy () noexcept
 
virtual void OnBeginPublish ()=0
 Called at the start of each publication. More...
 
virtual bool OnEachFailedCallback () noexcept(false)=0
 
virtual void OnEndPublish () noexcept(false)=0
 Called at the end of each publication, if exiting normally; may throw. More...
 

Detailed Description

May be supplied to constructor of Publisher to customize exception handling.

Definition at line 29 of file Observer.h.

Constructor & Destructor Documentation

◆ ~ExceptionPolicy()

Observer::ExceptionPolicy::~ExceptionPolicy ( )
virtualdefaultnoexcept

Member Function Documentation

◆ OnBeginPublish()

virtual void Observer::ExceptionPolicy::OnBeginPublish ( )
pure virtual

Called at the start of each publication.

Referenced by Observer::detail::RecordList::Visit().

Here is the caller graph for this function:

◆ OnEachFailedCallback()

virtual bool Observer::ExceptionPolicy::OnEachFailedCallback ( )
pure virtualnoexcept
Returns
if true, then skip remaining callbacks

Referenced by Observer::detail::RecordList::Visit().

Here is the caller graph for this function:

◆ OnEndPublish()

virtual void Observer::ExceptionPolicy::OnEndPublish ( )
pure virtualnoexcept

Called at the end of each publication, if exiting normally; may throw.

Referenced by Observer::detail::RecordList::Visit().

Here is the caller graph for this function:

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