Go to the documentation of this file.
12 #ifndef RTCTK_REUSABLECOMPONENT_TELEMETRYRECORDER_FITSRECORDER_HPP
13 #define RTCTK_REUSABLECOMPONENT_TELEMETRYRECORDER_FITSRECORDER_HPP
15 #include <CCfits/FITS.h>
16 #include <CCfits/FitsError.h>
21 #include <string_view>
45 using ::elt::error::CiiBaseException::CiiBaseException;
47 CiiBaseException(
error.message()) {}
66 void Open(const
std::
string& file) override;
70 void Close() override;
81 #include <rtctk/telemetryRecorder/detail/fitsRecorderDetail.hpp>
83 #endif // RTCTK_REUSABLECOMPONENT_TELEMETRYRECORDER_FITSRECORDER_HPP
Provides macros and utilities for exception handling.
std::unique_ptr< CCfits::FITS > m_fits_handle
the handle to access the opened file
Definition: fitsRecorder.hpp:76
FitsRecorder(const FitsRecorder &)=delete
void Close() override
If a FITS file is currently open, close the file.
Definition: fitsRecorderDetail.hpp:34
Definition: recorderIf.hpp:25
FitsException(CCfits::FitsException const &error)
Definition: fitsRecorder.hpp:46
void Open(const std::string &file) override
Open the FITS file given.
Definition: fitsRecorderDetail.hpp:24
Definition: businessLogic.hpp:20
This class encapsulates the CCFits exceptions in CiiBaseExceptions.
Definition: fitsRecorder.hpp:43
Recorder Interface of the Telemetry Recorder.
The FitsRecorder is a abstract class that can be used to implement a specific recorder for a Topic.
Definition: fitsRecorder.hpp:38
Definition: mudpiProcessingError.hpp:119
FitsRecorder(FitsRecorder &&) noexcept=default
void error(const char *msg)
Definition: main.cpp:38