Inkscape
Vector Graphics Editor
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
Inkscape::Async::ProgressAlways< T > Class Template Referencefinal

A dummy Progress object that never reports cancellation. More...

#include <progress.h>

Inheritance diagram for Inkscape::Async::ProgressAlways< T >:
Inkscape::Async::Progress< T... >

Private Member Functions

bool _keepgoing () const override
 
bool _report (T const &...) override
 

Additional Inherited Members

- Public Member Functions inherited from Inkscape::Async::Progress< T... >
bool report (T const &... progress)
 Report a progress value, returning false if cancelled.
 
void report_or_throw (T const &... progress)
 Report a progress value, throwing CancelledException if cancelled.
 
bool keepgoing () const
 Return whether not cancelled.
 
void throw_if_cancelled () const
 Throw CancelledException if cancelled.
 
 operator bool () const
 Convenience function - same as check().
 
- Protected Member Functions inherited from Inkscape::Async::Progress< T... >
 ~Progress ()=default
 
virtual bool _report (T const &... progress)=0
 

Detailed Description

template<typename... T>
class Inkscape::Async::ProgressAlways< T >

A dummy Progress object that never reports cancellation.

Definition at line 144 of file progress.h.

Member Function Documentation

◆ _keepgoing()

template<typename... T>
bool Inkscape::Async::ProgressAlways< T >::_keepgoing ( ) const
inlineoverrideprivatevirtual

Implements Inkscape::Async::Progress< T... >.

Definition at line 148 of file progress.h.

◆ _report()

template<typename... T>
bool Inkscape::Async::ProgressAlways< T >::_report ( T const &  ...)
inlineoverrideprivate

Definition at line 149 of file progress.h.


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