C
SafeRenderer::QSafeRendererException Class
class SafeRenderer::QSafeRendererExceptionAn 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.
| Constant | Value | Description |
|---|---|---|
SafeRenderer::QSafeRendererException::RendererException::UnsupportedSurfaceFormat | 0 | The bits per pixel value in the window is neither 16 or 32. |
SafeRenderer::QSafeRendererException::RendererException::BitmapOutOfScreen | 1 | The bitmap does not fit inside the screen area. |
SafeRenderer::QSafeRendererException::RendererException::InvalidBitmapPointer | 2 | The bitmap pointer is a null pointer. |
SafeRenderer::QSafeRendererException::RendererException::InvalidBitmapId | 3 | The 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.