C
Qul::ImageWriteGuard Struct
struct Qul::ImageWriteGuardA helper for calling Image::beginWrite() and Image::endWrite(). More...
| Header: | #include <qul/image.h> |
| Since: | Qt Quick Ultralite 1.5 |
Public Functions
| ImageWriteGuard(Qul::Image &image) | |
| ImageWriteGuard(const Qul::ImageWriteGuard &) | |
| ImageWriteGuard(Qul::ImageWriteGuard &&other) | |
| ~ImageWriteGuard() | |
| Qul::ImageWriteGuard & | operator=(Qul::ImageWriteGuard &&) |
| Qul::ImageWriteGuard & | operator=(const Qul::ImageWriteGuard &) |
Detailed Description
Uses RAII to call Image::beginWrite() on construction, and Image::endWrite() on destruction.
See also Image.
Member Function Documentation
[explicit] ImageWriteGuard::ImageWriteGuard(Qul::Image &image)
Construct. Calls Image::beginWrite() on image.
[delete] ImageWriteGuard::ImageWriteGuard(const Qul::ImageWriteGuard &)
Copy-constructs an instance of ImageWriteGuard. This function is deleted.
[noexcept] ImageWriteGuard::ImageWriteGuard(Qul::ImageWriteGuard &&other)
Move.
[noexcept] ImageWriteGuard::~ImageWriteGuard()
Destruct. Calls SharedImage::endWrite().
[delete] Qul::ImageWriteGuard &ImageWriteGuard::operator=(Qul::ImageWriteGuard &&)
Move-assigns other to this ImageWriteGuard instance. This function is deleted.
[delete] Qul::ImageWriteGuard &ImageWriteGuard::operator=(const Qul::ImageWriteGuard &)
Copy-assigns other to this ImageWriteGuard instance. This function is deleted.
Available under certain Qt licenses.
Find out more.