Scope
|
#include <ScopeImage.h>
Public Member Functions | |
ScopeImageAccess (ScopeImage< T > &_image) | |
~ScopeImageAccess () | |
std::vector< T > * | GetData () const |
T * | GetPointer () const |
Protected Attributes | |
ScopeImage< T > *const | image |
std::vector< T > *const | pData |
Gives RAII safe access (read&write) to the pixeldata of a ScopeImage.
ScopeImage pixelmutex is locked on construction and unlocked on destruction of the ScopeImageAccess object.
Definition at line 11 of file ScopeImage.h.
|
inline |
Get the data, locks mutex inside ScopeImage.
Definition at line 203 of file ScopeImage.h.
|
inline |
Release data on destruction, unlocks mutex.
Definition at line 209 of file ScopeImage.h.
|
inline |
Definition at line 214 of file ScopeImage.h.
|
inline |
Definition at line 219 of file ScopeImage.h.
|
protected |
pointer to the ScopeImage
Definition at line 197 of file ScopeImage.h.
|
protected |
Pointer to the ScopeImage's data vector.
Definition at line 199 of file ScopeImage.h.