Blender V4.3
blender::compositor::Device Class Referenceabstract

Abstract class for device implementations to be used by the Compositor. devices are queried, initialized and used by the WorkScheduler. work are packaged as a WorkPackage instance. More...

#include <COM_Device.h>

Inherited by blender::compositor::CPUDevice.

Public Member Functions

 Device ()=default
 
 Device (const Device &other)=delete
 
 Device (Device &&other) noexcept=default
 
Deviceoperator= (const Device &other)=delete
 
Deviceoperator= (Device &&other)=delete
 
virtual ~Device ()
 Declaration of the virtual destructor.
 
virtual void execute (struct WorkPackage *work)=0
 execute a WorkPackage
 

Detailed Description

Abstract class for device implementations to be used by the Compositor. devices are queried, initialized and used by the WorkScheduler. work are packaged as a WorkPackage instance.

Definition at line 20 of file COM_Device.h.

Constructor & Destructor Documentation

◆ Device() [1/3]

blender::compositor::Device::Device ( )
default

◆ Device() [2/3]

blender::compositor::Device::Device ( const Device & other)
delete

◆ Device() [3/3]

blender::compositor::Device::Device ( Device && other)
defaultnoexcept

◆ ~Device()

virtual blender::compositor::Device::~Device ( )
inlinevirtual

Declaration of the virtual destructor.

Note
resolve warning gcc 4.7

Definition at line 35 of file COM_Device.h.

Member Function Documentation

◆ execute()

virtual void blender::compositor::Device::execute ( struct WorkPackage * work)
pure virtual

execute a WorkPackage

Parameters
workthe WorkPackage to execute

Implemented in blender::compositor::CPUDevice.

◆ operator=() [1/2]

Device & blender::compositor::Device::operator= ( const Device & other)
delete

◆ operator=() [2/2]

Device & blender::compositor::Device::operator= ( Device && other)
delete

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