Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::runtime::BackgroundJobContext Class Reference

#include <background_job.hpp>

Public Member Functions

 BackgroundJobContext (CancelToken cancellation, std::function< void(BackgroundJobProgress)> progress)
bool is_cancelled () const
const CancelToken & cancellation_token () const
void publish_progress (BackgroundJobProgress progress) const

Constructor & Destructor Documentation

◆ BackgroundJobContext()

pulp::runtime::BackgroundJobContext::BackgroundJobContext ( CancelToken cancellation,
std::function< void(BackgroundJobProgress)> progress )

Member Function Documentation

◆ cancellation_token()

const CancelToken & pulp::runtime::BackgroundJobContext::cancellation_token ( ) const
inline

◆ is_cancelled()

bool pulp::runtime::BackgroundJobContext::is_cancelled ( ) const

◆ publish_progress()

void pulp::runtime::BackgroundJobContext::publish_progress ( BackgroundJobProgress progress) const

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