SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
FitsTemporaryImageSource wraps FitsImageSource, generating the filename and acquiring its ownership. More...
#include <TemporaryFitsImageSource.h>
Public Member Functions | |
TemporaryFitsImageSource (const std::string &pattern, int width, int height) | |
TemporaryFitsImageSource (int width, int height) | |
virtual | ~TemporaryFitsImageSource ()=default |
std::string | getFullPath () const |
virtual std::string | getRepr () const override |
Human readable representation of this source. More... | |
virtual std::shared_ptr < ImageTile< T > > | getImageTile (int x, int y, int width, int height) const override |
virtual void | saveTile (ImageTile< T > &tile) override |
virtual int | getWidth () const override |
Returns the width of the image in pixels. More... | |
virtual int | getHeight () const override |
Returns the height of the image in pixels. More... | |
![]() | |
ImageSource () | |
virtual | ~ImageSource ()=default |
![]() | |
virtual | ~ImageSourceBase ()=default |
![]() | |
T | enable_shared_from_this (T...args) |
T | operator= (T...args) |
T | shared_from_this (T...args) |
T | ~enable_shared_from_this (T...args) |
Private Attributes | |
Elements::TempFile | m_temp_file |
std::shared_ptr < FitsImageSource< T > > | m_image_source |
FitsTemporaryImageSource wraps FitsImageSource, generating the filename and acquiring its ownership.
Definition at line 36 of file TemporaryFitsImageSource.h.
|
inline |
Definition at line 38 of file TemporaryFitsImageSource.h.
|
inline |
Definition at line 43 of file TemporaryFitsImageSource.h.
|
virtualdefault |
|
inline |
Definition at line 50 of file TemporaryFitsImageSource.h.
References SourceXtractor::TemporaryFitsImageSource< T >::m_temp_file, and Elements::TempPath::path().
Referenced by SourceXtractor::TemporaryFitsImageSource< T >::getRepr().
|
inlineoverridevirtual |
Returns the height of the image in pixels.
Implements SourceXtractor::ImageSource< T >.
Definition at line 70 of file TemporaryFitsImageSource.h.
References SourceXtractor::TemporaryFitsImageSource< T >::m_image_source.
|
inlineoverridevirtual |
Implements SourceXtractor::ImageSource< T >.
Definition at line 58 of file TemporaryFitsImageSource.h.
References SourceXtractor::TemporaryFitsImageSource< T >::m_image_source.
|
inlineoverridevirtual |
Human readable representation of this source.
Implements SourceXtractor::ImageSourceBase.
Definition at line 54 of file TemporaryFitsImageSource.h.
References SourceXtractor::TemporaryFitsImageSource< T >::getFullPath().
|
inlineoverridevirtual |
Returns the width of the image in pixels.
Implements SourceXtractor::ImageSource< T >.
Definition at line 66 of file TemporaryFitsImageSource.h.
References SourceXtractor::TemporaryFitsImageSource< T >::m_image_source.
|
inlineoverridevirtual |
Implements SourceXtractor::ImageSource< T >.
Definition at line 62 of file TemporaryFitsImageSource.h.
References SourceXtractor::TemporaryFitsImageSource< T >::m_image_source.
|
private |
Definition at line 76 of file TemporaryFitsImageSource.h.
Referenced by SourceXtractor::TemporaryFitsImageSource< T >::getHeight(), SourceXtractor::TemporaryFitsImageSource< T >::getImageTile(), SourceXtractor::TemporaryFitsImageSource< T >::getWidth(), and SourceXtractor::TemporaryFitsImageSource< T >::saveTile().
|
private |
Definition at line 75 of file TemporaryFitsImageSource.h.
Referenced by SourceXtractor::TemporaryFitsImageSource< T >::getFullPath().