creaImageIO_lib
creaImageIO::MultiThreadImageReader::ImageToLoadPtrPriorityComparator Struct Reference

ImageToLoadPtr comparator on priority (for image queue) More...

#include <creaImageIOMultiThreadImageReader.h>

Public Member Functions

bool operator() (ImageToLoadPtr const &a, ImageToLoadPtr const &b) const
 
bool operator() (ImageToLoadPtr const &a, ImageToLoadPtr const &b) const
 

Detailed Description

ImageToLoadPtr comparator on priority (for image queue)

Definition at line 189 of file creaImageIOMultiThreadImageReader.h.

Member Function Documentation

bool creaImageIO::MultiThreadImageReader::ImageToLoadPtrPriorityComparator::operator() ( ImageToLoadPtr const &  a,
ImageToLoadPtr const &  b 
) const
inline

Definition at line 191 of file creaImageIOMultiThreadImageReader.h.

References creaImageIO::MultiThreadImageReader::ImageToLoad::GetPriority().

193  {
194  return ( a->GetPriority() > b->GetPriority() );
195  }

Here is the call graph for this function:

bool creaImageIO::MultiThreadImageReader::ImageToLoadPtrPriorityComparator::operator() ( ImageToLoadPtr const &  a,
ImageToLoadPtr const &  b 
) const
inline

Definition at line 192 of file creaImageIOQMultiThreadImageReader.h.

References creaImageIO::MultiThreadImageReader::ImageToLoad::GetPriority().

194  {
195  return ( a->GetPriority() > b->GetPriority() );
196  }

Here is the call graph for this function:


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