Scope
|
#include <ScopeImage.h>
Public Member Functions | |
ScopeImageConstAccess (const ScopeImage< T > &_image) | |
~ScopeImageConstAccess () | |
const std::vector< T > * | GetConstData () const |
Protected Attributes | |
const ScopeImage< T > *const | image |
const std::vector< T > *const | pData |
Gives RAII safe const access (read-only) to the pixeldata of a ScopeImage.
A reading access counter is increased on construction and decreased on destruction of the ScopeImageConstAccess object. This allows concurrent read access.
Definition at line 14 of file ScopeImage.h.
|
inline |
Get the data, locks mutex inside ScopeImage.
Definition at line 236 of file ScopeImage.h.
|
inline |
Release data on destruction, unlocks mutex.
Definition at line 242 of file ScopeImage.h.
|
inline |
Definition at line 247 of file ScopeImage.h.
|
protected |
pointer to the ScopeImage
Definition at line 230 of file ScopeImage.h.
|
protected |
Pointer to the ScopeImage's data vector.
Definition at line 232 of file ScopeImage.h.