Beatmup
|
Locks a bitmap for reading on CPU. More...
#include <abstract_bitmap.h>
Public Member Functions | |
ReadLock (AbstractBitmap &bitmap) | |
~ReadLock () | |
Private Attributes | |
AbstractBitmap & | bitmap |
Locks a bitmap for reading on CPU.
Once instantiated on a bitmap, bitmap.getData() returns a valid address. Modifying its content puts the bitmap into inconsistent state. Warning: using this lock in a task (not in the user code) may cause a dead lock.
Definition at line 236 of file abstract_bitmap.h.
AbstractBitmap::ReadLock::ReadLock | ( | AbstractBitmap & | bitmap | ) |
Definition at line 235 of file abstract_bitmap.cpp.
AbstractBitmap::ReadLock::~ReadLock | ( | ) |
Definition at line 245 of file abstract_bitmap.cpp.
|
private |
Definition at line 238 of file abstract_bitmap.h.