RTC Toolkit  1.0.0
Public Member Functions | List of all members
ExampleFitsRecorder Class Reference
Inheritance diagram for ExampleFitsRecorder:
rtctk::telemetryRecorder::FitsRecorder< ScaoLoopTopic > rtctk::telemetryRecorder::RecorderIf< ScaoLoopTopic >

Public Member Functions

void Open (const std::string &file) override
 Open a file with the recorder. More...
 
void WriteData (const ScaoLoopTopic &data) override
 
void CreateTable ()
 
void SetTelemetrySubSet (std::string mask) override
 Select telemetry subset This function is used to select the telemetry that should be written. More...
 
- Public Member Functions inherited from rtctk::telemetryRecorder::FitsRecorder< ScaoLoopTopic >
 FitsRecorder ()=default
 
 FitsRecorder (const FitsRecorder &)=delete
 
 FitsRecorder (FitsRecorder &&) noexcept=default
 
 FitsRecorder (const std::string &file)
 Create Fitsrecorder and Open() the given file. More...
 
FitsRecorderoperator= (const FitsRecorder &)=delete
 
FitsRecorderoperator= (FitsRecorder &&) noexcept=default
 
virtual ~FitsRecorder ()=default
 
void Open (const std::string &file) override
 Open the FITS file given. More...
 
void Close () override
 If a FITS file is currently open, close the file. More...
 
- Public Member Functions inherited from rtctk::telemetryRecorder::RecorderIf< ScaoLoopTopic >
virtual void WriteData (const TelemetryType &data)=0
 Write the given Telemetry Data This function is called, when data is received over the shared memory queue. More...
 

Additional Inherited Members

- Public Types inherited from rtctk::telemetryRecorder::RecorderIf< ScaoLoopTopic >
typedef ScaoLoopTopic TelemetryType
 The type of the Telemetry Topic to be processed by this recorder. More...
 
- Protected Attributes inherited from rtctk::telemetryRecorder::FitsRecorder< ScaoLoopTopic >
std::unique_ptr< CCfits::FITS > m_fits_handle
 the handle to access the opened file More...
 

Member Function Documentation

◆ CreateTable()

void ExampleFitsRecorder::CreateTable ( )

◆ Open()

void ExampleFitsRecorder::Open ( const std::string &  file)
overridevirtual

Open a file with the recorder.

Parameters
filethe file to be opened by the recorder for writing

Implements rtctk::telemetryRecorder::RecorderIf< ScaoLoopTopic >.

◆ SetTelemetrySubSet()

void ExampleFitsRecorder::SetTelemetrySubSet ( std::string  mask)
overridevirtual

Select telemetry subset This function is used to select the telemetry that should be written.

Parameters
maskA comma seperated list of telemetry data that should be written to disk

Implements rtctk::telemetryRecorder::RecorderIf< ScaoLoopTopic >.

◆ WriteData()

void ExampleFitsRecorder::WriteData ( const ScaoLoopTopic data)
override

The documentation for this class was generated from the following file: