|
SatDump 2.0.0-alpha-520736c72
|
Abstract Segmented decoder implementation to be overriden for mission-specific decoders. More...
#include <segment_decoder.h>
Public Member Functions | |
| virtual void | pushSegment (XRITFile &file)=0 |
| Push a segment into the work-in-progress image. These should already be filtered using file_info.seg_groupid. | |
| virtual bool | isComplete ()=0 |
| Allows knowing if an image is complete, to save it instantly. | |
| virtual void | reset ()=0 |
| Resets the decoder, to lower RAM usage. | |
| virtual bool | hasData ()=0 |
| Allows knowing if an image has data at all (and hence, worth saving) | |
Public Attributes | |
| image::Image | image |
| XRITFileInfo | info |
Abstract Segmented decoder implementation to be overriden for mission-specific decoders.
| image | WIP image |
| info | xRIT File Info, to be set by the user on creating an instance of this class, and used when saving the final image. |
|
pure virtual |
Allows knowing if an image has data at all (and hence, worth saving)
Implemented in satdump::xrit::FY4xSegmentedImageDecoder, satdump::xrit::GK2ASegmentedImageDecoder, satdump::xrit::GOESSegmentedImageDecoder, satdump::xrit::HimawariSegmentedImageDecoder, and satdump::xrit::MSGSegmentedImageDecoder.
|
pure virtual |
Allows knowing if an image is complete, to save it instantly.
Implemented in satdump::xrit::FY4xSegmentedImageDecoder, satdump::xrit::GK2ASegmentedImageDecoder, satdump::xrit::GOESSegmentedImageDecoder, satdump::xrit::HimawariSegmentedImageDecoder, and satdump::xrit::MSGSegmentedImageDecoder.
|
pure virtual |
Push a segment into the work-in-progress image. These should already be filtered using file_info.seg_groupid.
| file | segment to push |
Implemented in satdump::xrit::FY4xSegmentedImageDecoder, satdump::xrit::GK2ASegmentedImageDecoder, satdump::xrit::GOESSegmentedImageDecoder, satdump::xrit::HimawariSegmentedImageDecoder, and satdump::xrit::MSGSegmentedImageDecoder.
|
pure virtual |
Resets the decoder, to lower RAM usage.
Implemented in satdump::xrit::FY4xSegmentedImageDecoder, satdump::xrit::GK2ASegmentedImageDecoder, satdump::xrit::GOESSegmentedImageDecoder, satdump::xrit::HimawariSegmentedImageDecoder, and satdump::xrit::MSGSegmentedImageDecoder.