Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::Workee Class Referenceabstract

#include <worker.h>

Inheritance diagram for ARDOUR::Workee:
[legend]

Public Member Functions

virtual ~Workee ()
 
virtual int work (Worker &worker, uint32_t size, const void *data)=0
 
virtual int work_response (uint32_t size, const void *data)=0
 

Detailed Description

An object that needs to schedule non-RT work in the audio thread.

Definition at line 38 of file worker.h.

Constructor & Destructor Documentation

◆ ~Workee()

virtual ARDOUR::Workee::~Workee ( )
inlinevirtual

Definition at line 40 of file worker.h.

Member Function Documentation

◆ work()

virtual int ARDOUR::Workee::work ( Worker worker,
uint32_t  size,
const void *  data 
)
pure virtual

Do some work in the worker thread.

Implemented in ARDOUR::LV2Plugin.

◆ work_response()

virtual int ARDOUR::Workee::work_response ( uint32_t  size,
const void *  data 
)
pure virtual

Handle a response from the worker thread in the audio thread.

Implemented in ARDOUR::LV2Plugin.


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