NDEVR
API Documentation
ImageReadPointer

A read-only smart pointer to ImageCacheData that acquires a read lock on construction. More...

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

Public Member Functions

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

Detailed Description

A read-only smart pointer to ImageCacheData that acquires a read lock on construction.


Ensures thread-safe read access to cached image data.

Definition at line 92 of file ImageFactory.h.

Constructor & Destructor Documentation

◆ ImageReadPointer() [1/2]

ImageReadPointer::ImageReadPointer ( )
inline

Default constructor.

Creates a null read pointer with no lock.

Definition at line 97 of file ImageFactory.h.

◆ ImageReadPointer() [2/2]

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

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

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

Definition at line 104 of file ImageFactory.h.


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