23 template<
typename CT>
class DICOMCachedIOFileHandleBase;
64 size_t numFrames)
const;
81 const ML_NAMESPACE::DICOMCachedIOFileHandle &fileNamePath,
82 size_t &numFoundFrames,
83 std::string &warnDesc,
84 std::string &errDesc);
118 static MLuint _instanceCounter;
Project global and OS specific declarations.
#define MLDICOMCachedIO_EXPORT
If included by external modules, exported symbols are declared as import symbols.
DCMTree::pixel_cont_t pixel_cont_t
DCMTree::MFPixelTag::pixel_cont_t getCachedPixFrameData(const ml::DICOMCachedIOFileHandle &fileName, size_t frameIdx, DCMTree::MFPixelTag::pixel_cont_t pixFrameData, size_t numFrames)
MLDICOMCachedIOPixelFrameCache & operator=(const MLDICOMCachedIOPixelFrameCache &)=default
Default assignment operator.
~MLDICOMCachedIOPixelFrameCache()
Destructor. Decrements the reference counting and deletes the cache if the new count is 0.
const MLDICOMCachedIOPixelFrameCacheContainer * getCachedIOPixelFrameCacheContainer() const
Returns a constant pointer to the singleton object.
void removeAssociatedEntries(const ml::DICOMCachedIOFileHandle &fileHandle)
bool hasMultiFrameCache(const ml::DICOMCachedIOFileHandle &fileHandle, size_t numFrames) const
void loadMultiFramesInCache(DCMTree::Const_TreePtr mfTree, const ml::DICOMCachedIOFileHandle &fileNamePath, size_t &numFoundFrames, std::string &warnDesc, std::string &errDesc)
static MLDICOMCachedIOPixelFrameCache singletonProxy()
MLDICOMCachedIOPixelFrameCache()
Constructor. Increments the reference counting and creates a cache if the count is 0.
void clear()
Clears the DICOM tag cache container.
MLMFPixDataFramesCacheEntry * getCachedPixFrameCacheEntry(const ml::DICOMCachedIOFileHandle &fileName)
MLDICOMCachedIOPixelFrameCache(const MLDICOMCachedIOPixelFrameCache &)=default
Default copy constructor.
Small helper class to manage a list of data frames related to a filename.
boost::shared_ptr< const Tree > Const_TreePtr
DICOMCachedIOFileHandleBase< char > DICOMCachedIOFileHandle
"Forward" to DICOMCachedIOFileHandle.