RTC Toolkit  1.0.0
Public Member Functions | List of all members
GenericCamera Class Reference

The GenericCamera implements a Camera that saves the packet data, without combining the data into a FITS binary table. More...

#include <genericCamera.hpp>

Inheritance diagram for GenericCamera:
FitsConverterIf

Public Member Functions

 GenericCamera (const std::string &directory, const bool split_files)
 
virtual void WriteData (const PacketData &data) override
 Write data into the FITS file(s) More...
 
- Public Member Functions inherited from FitsConverterIf
 FitsConverterIf (const std::string &directory, bool split_files)
 Construct a FITS converter. More...
 
virtual ~FitsConverterIf ()
 
void SetStoreSampleIds (bool store)
 Enable or disable storage of sample ids as keywords. More...
 
void SetStoreTimestamps (bool store)
 Enable or disable storage of timestamps as keywords. More...
 
bool GetStoreSampleIds ()
 Get current setting for storing sample ids as keywords. More...
 
bool GetStoreTimestamps ()
 Get current setting for storing timestamps as keywords. More...
 
bool GetSplitFiles ()
 Get the setting for splitting files. More...
 
const std::string & GetDirectory ()
 Get the setting for splitting files. More...
 

Additional Inherited Members

- Protected Member Functions inherited from FitsConverterIf
const bool IsOpen ()
 
void Open (const std::string &file)
 
void Close ()
 
void SetFitsHandle (std::unique_ptr< CCfits::FITS > &&handle)
 
CCfits::FITS & GetFitsHandle ()
 

Detailed Description

The GenericCamera implements a Camera that saves the packet data, without combining the data into a FITS binary table.

Constructor & Destructor Documentation

◆ GenericCamera()

GenericCamera::GenericCamera ( const std::string &  directory,
const bool  split_files 
)

Member Function Documentation

◆ WriteData()

void GenericCamera::WriteData ( const PacketData data)
overridevirtual

Write data into the FITS file(s)

Parameters
dataThe data to store in the fits file

Implements FitsConverterIf.


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