TwiceAsNice  2019-02-18
Public Member Functions | Public Attributes | List of all members
Laos::LaosSeAOType Class Reference

This class represents either the HWS or the GWS Star enlargers. More...

#include <LaosSeAOType.h>

Collaboration diagram for Laos::LaosSeAOType:
Collaboration graph

Public Member Functions

 LaosSeAOType (const enum AOType anyWS=LINC_HWS)
 
 LaosSeAOType (const std::string &hgws)
 
 LaosSeAOType (const LaosSeAOType &oth)
 copy constructor More...
 
LaosSeAOTypeoperator= (const LaosSeAOType &oth)
 Assignment operator. Deep copy of this state. More...
 
std::string toString () const
 Generate a string as used in the ICS initializations. More...
 
std::string toStringCfg () const
 Generate a string as used in the file names. More...
 
int toIntIdx () const
 Generate a index 0 or 1 suitable for the two indices of two proxies. More...
 
short seCount () const
 Deliver the number of SE arms in that unit. This is either 8 or 12. More...
 
 LaosSeAOType (const enum AOType anyWS=LINC_HWS)
 
 LaosSeAOType (const std::string &hgws)
 
 LaosSeAOType (const LaosSeAOType &oth)
 
LaosSeAOTypeoperator= (const LaosSeAOType &oth)
 
std::string toString () const
 
std::string toStringCfg () const
 
int toIntIdx () const
 
short seCount () const
 

Public Attributes

float fov
 field of view in arcseconds. This is the diameter corresponding to the annular mirror. 360 for GWS 6', 120 for HWS, 2'. More...
 
enum AOType typ
 

Detailed Description

This class represents either the HWS or the GWS Star enlargers.

Constructor & Destructor Documentation

◆ LaosSeAOType() [1/6]

Laos::LaosSeAOType::LaosSeAOType ( const enum AOType  anyWS = LINC_HWS)

Default ctor.

Parameters
anyWSAn enumerated constant indicating either HWS or GWS.
Since
2017-03-26

◆ LaosSeAOType() [2/6]

Laos::LaosSeAOType::LaosSeAOType ( const std::string &  ghws)

Ctor from a string that contains the usual abbreviation gws or hws.

Parameters
ghwsA string that contains a substring "gws" or "hws" or "0" or "1". The strings may also appear in upper case.
Since
2017-05-20

◆ LaosSeAOType() [3/6]

Laos::LaosSeAOType::LaosSeAOType ( const LaosSeAOType oth)

copy constructor


Parameters
othThe side to be duplicated
Since
2017-03-26

◆ LaosSeAOType() [4/6]

Laos::LaosSeAOType::LaosSeAOType ( const enum AOType  anyWS = LINC_HWS)

◆ LaosSeAOType() [5/6]

Laos::LaosSeAOType::LaosSeAOType ( const std::string &  hgws)

◆ LaosSeAOType() [6/6]

Laos::LaosSeAOType::LaosSeAOType ( const LaosSeAOType oth)

Member Function Documentation

◆ operator=() [1/2]

Laos::LaosSeAOType & Laos::LaosSeAOType::operator= ( const LaosSeAOType oth)

Assignment operator. Deep copy of this state.


Since
2017-01-17

◆ operator=() [2/2]

LaosSeAOType& Laos::LaosSeAOType::operator= ( const LaosSeAOType oth)

◆ seCount() [1/2]

short Laos::LaosSeAOType::seCount ( ) const

Deliver the number of SE arms in that unit. This is either 8 or 12.


Returns
8 if HWS, 12 if GWS.
Since
2017-01-17

◆ seCount() [2/2]

short Laos::LaosSeAOType::seCount ( ) const

◆ toIntIdx() [1/2]

int Laos::LaosSeAOType::toIntIdx ( ) const

◆ toIntIdx() [2/2]

int Laos::LaosSeAOType::toIntIdx ( ) const

Generate a index 0 or 1 suitable for the two indices of two proxies.


Returns
0 if SX, 1 if DX, -1 otherwise.
Since
2017-01-17

◆ toString() [1/2]

std::string Laos::LaosSeAOType::toString ( ) const

Generate a string as used in the ICS initializations.


Returns
the standard string representation "HWS", "GWS" etc
Since
2017-03-26

◆ toString() [2/2]

std::string Laos::LaosSeAOType::toString ( ) const

◆ toStringCfg() [1/2]

std::string Laos::LaosSeAOType::toStringCfg ( ) const

Generate a string as used in the file names.


Returns
the standard string representation "hws" or "gws".
Since
2017-03-26

◆ toStringCfg() [2/2]

std::string Laos::LaosSeAOType::toStringCfg ( ) const

Member Data Documentation

◆ fov

float Laos::LaosSeAOType::fov

field of view in arcseconds. This is the diameter corresponding to the annular mirror. 360 for GWS 6', 120 for HWS, 2'.


Since
2017-08-02

◆ typ

enum AOType Laos::LaosSeAOType::typ

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