ngc 1.5.0
 
Loading...
Searching...
No Matches
ngc::gateway::base::Wcs Class Reference

WCS access singleton. More...

#include <wcs.hpp>

Public Member Functions

 Wcs (const Wcs &)=delete
 Disables unused constructors and operators.
 
Wcsoperator= (const Wcs &)=delete
 
void SetInfo (const WcsInformation &info)
 
WcsInformation GetInfo ()
 

Static Public Member Functions

static WcsInstance ()
 Application singleton instance.
 
static void Set (const WcsInformation &info)
 
static WcsInformation Get ()
 

Detailed Description

WCS access singleton.

Caution: Do not use the singleton to initialize other static variables and classes, as this may trigger the "C++ static intialization fiasko".

Constructor & Destructor Documentation

◆ Wcs()

ngc::gateway::base::Wcs::Wcs ( const Wcs & )
delete

Disables unused constructors and operators.

Member Function Documentation

◆ Get()

static WcsInformation ngc::gateway::base::Wcs::Get ( )
inlinestatic

Get WCS information (singleton accees)

Returns
WCS information

◆ GetInfo()

WcsInformation ngc::gateway::base::Wcs::GetInfo ( )
inline

Get WCS information

Returns
WCS information

◆ Instance()

static Wcs & ngc::gateway::base::Wcs::Instance ( )
inlinestatic

Application singleton instance.

◆ operator=()

Wcs & ngc::gateway::base::Wcs::operator= ( const Wcs & )
delete

◆ Set()

static void ngc::gateway::base::Wcs::Set ( const WcsInformation & info)
inlinestatic

Set WCS information (singleton accees)

Parameters
infoWCS information

◆ SetInfo()

void ngc::gateway::base::Wcs::SetInfo ( const WcsInformation & info)
inline

Set WCS information

Parameters
infoWCS information

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