MrSID Decode SDK for Raster Reference Manual  9.5.5.5244
lti_imageStageManager.h
Go to the documentation of this file.
1 //
2 // This code is property of Celartem, Inc dba Extensis.
3 // Copyright (c) 1995-2023. All rights reserved.
4 // Use permitted only under license from Extensis.
5 //
6 /* PUBLIC */
7 
8 #ifndef LTI_IMAGESTAGEMANAGER_H
9 #define LTI_IMAGESTAGEMANAGER_H
10 
11 // lt_lib_mrsid_core
12 #include "lti_imageStage.h"
13 
14 
15 LT_BEGIN_LIZARDTECH_NAMESPACE
16 
29 {
31 public:
41  virtual LT_STATUS createImageProps(lt_uint32 imageNumber,
42  LTIImage *&imageProps);
43 
53  virtual LT_STATUS createImageStage(lt_uint32 imageNumber,
54  LTIImageStage *&imageStage) = 0;
55 
59  lt_uint32 getNumImages(void) const;
60 
69 
70 protected:
74  virtual void setNumImages(lt_uint32 numImages) final;
75 
76 private:
77  lt_uint32 m_numImages;
78 };
79 
80 #ifndef DOXYGEN_EXCLUDE
81 
82 class LTIImageStageManager2 : public LTIImageStageManager
83 {
84  LTI_REFERENCE_COUNTED_BOILERPLATE_BASE(LTIImageStageManager2);
85 public:
92  virtual LT_STATUS getImageName(lt_uint32 imageNumber,
93  LTFileSpec &imageName) = 0;
94 
101  virtual LT_STATUS getSupportFileBaseName(lt_uint32 imageNumber,
102  LTFileSpec &baseName) = 0;
103 };
104 
105 #endif
106 
107 LT_END_LIZARDTECH_NAMESPACE
108 
109 #endif // LTI_IMAGESTAGEMANAGER_H
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:30
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:44
#define LTI_REFERENCE_COUNTED_BOILERPLATE_BASE(classname)
Macros for defining boilerplate parts of derived LTIReferenceCountedObject classes.
Represents a file or directory path.
Definition: lt_fileSpec.h:35
abstract class representing an image
Definition: lti_image.h:28
abstract class for decoding from an image
abstract class for managing a list of image stages
virtual LT_STATUS createImageProps(lt_uint32 imageNumber, LTIImage *&imageProps)
create an image properties
lt_uint32 getNumImages(void) const
get the number of images the object is managing
virtual LT_STATUS createOverviewImageStage(LTIImageStage *&imageStage)
create an image stage that can be used as an overview of all other images.
virtual void setNumImages(lt_uint32 numImages) final
The derived class needs to call this.
virtual LT_STATUS createImageStage(lt_uint32 imageNumber, LTIImageStage *&imageStage)=0
create an image stage
LTIReferenceCountedObject is a base class for implementing reference counting.

Extensis