On this page

C

SafeRenderer::QSafeRendererException Class

class SafeRenderer::QSafeRendererException

An instance of QSafeRendererException is thrown in case of an exception. More...

Header: #include <QSafeRendererException>
Since: QtSafeRenderer 2.1
Inherits: SafeRenderer::QSafeException

Public Types

enum class RendererException { UnsupportedSurfaceFormat, BitmapOutOfScreen, InvalidBitmapPointer, InvalidBitmapId }

Public Functions

QSafeRendererException(SafeRenderer::QSafeRendererException &&other)
SafeRenderer::QSafeRendererException &operator=(SafeRenderer::QSafeRendererException &&other)
SafeRenderer::QSafeRendererException &operator=(const SafeRenderer::QSafeRendererException &other)

Detailed Description

Instance of this class is thrown when an exception occurs related to saferenderer.

Member Type Documentation

enum class QSafeRendererException::RendererException

This enum describes the id of a thrown saferenderer exception.

ConstantValueDescription
SafeRenderer::QSafeRendererException::RendererException::UnsupportedSurfaceFormat0The bits per pixel value in the window is neither 16 or 32.
SafeRenderer::QSafeRendererException::RendererException::BitmapOutOfScreen1The bitmap does not fit inside the screen area.
SafeRenderer::QSafeRendererException::RendererException::InvalidBitmapPointer2The bitmap pointer is a null pointer.
SafeRenderer::QSafeRendererException::RendererException::InvalidBitmapId3The bitmap ID is 0.

Member Function Documentation

[constexpr noexcept default] QSafeRendererException::QSafeRendererException(SafeRenderer::QSafeRendererException &&other)

Move-constructs an instance of QSafeRendererException.

[delete] SafeRenderer::QSafeRendererException &QSafeRendererException::operator=(SafeRenderer::QSafeRendererException &&other)

Move-assigns other to this QSafeRendererException instance. This function is deleted.

[delete] SafeRenderer::QSafeRendererException &QSafeRendererException::operator=(const SafeRenderer::QSafeRendererException &other)

Copy-assigns other to this QSafeRendererException instance. This function is deleted.

Available under certain Qt licenses.
Find out more.