NDEVR
API Documentation
ImageWritePointer

A writable smart pointer to ImageCacheData that acquires a write lock on construction. More...

Inheritance diagram for ImageWritePointer:
[legend]
Collaboration diagram for ImageWritePointer:
[legend]

Public Member Functions

 ImageWritePointer ()
 Default constructor.
 ImageWritePointer (const DynamicPointer< ImageCacheData > &d)
 Constructs a write pointer from a DynamicPointer and acquires a write lock.

Detailed Description

A writable smart pointer to ImageCacheData that acquires a write lock on construction.


Ensures thread-safe write access to cached image data.

Definition at line 115 of file ImageFactory.h.

Constructor & Destructor Documentation

◆ ImageWritePointer() [1/2]

ImageWritePointer::ImageWritePointer ( )
inline

Default constructor.

Creates a null write pointer with no lock.

Definition at line 120 of file ImageFactory.h.

◆ ImageWritePointer() [2/2]

ImageWritePointer::ImageWritePointer ( const DynamicPointer< ImageCacheData > & d)
inline

Constructs a write pointer from a DynamicPointer and acquires a write lock.

Parameters
[in]dThe dynamic pointer to the image cache data.

Definition at line 127 of file ImageFactory.h.


The documentation for this struct was generated from the following file: