VieSched++
VieVS VLBI Scheduling Software
VieVS::PointingVector Class Reference

representation of VLBI pointing vector More...

#include <PointingVector.h>

Inheritance diagram for VieVS::PointingVector:
Collaboration diagram for VieVS::PointingVector:

Public Member Functions

 PointingVector (unsigned long staid, unsigned long srcid)
 constructor More...
 
 PointingVector (const PointingVector &other)
 copy constructor More...
 
PointingVectoroperator= (const PointingVector &other)=default
 copy assignment operator More...
 
 PointingVector (PointingVector &&other)=default
 move constructor More...
 
PointingVectoroperator= (PointingVector &&other)=default
 move assignment operator More...
 
 ~PointingVector ()=default
 destructor More...
 
bool operator< (const PointingVector &other) const
 less then operator More...
 
void copyValuesFromOtherPv (const PointingVector &other)
 copy values from other pointing vector More...
 
unsigned long getStaid () const noexcept
 getter for station id More...
 
unsigned long getSrcid () const noexcept
 getter for source id More...
 
double getAz () const noexcept
 getter for azimuth More...
 
double getEl () const noexcept
 getter for elevation More...
 
double getHa () const
 getter for local hour angle More...
 
double getDc () const
 getter for declination More...
 
unsigned int getTime () const noexcept
 getter for time for which azimuth and elevation is calculated More...
 
void setAz (double new_az) noexcept
 sets azimuth More...
 
void setEl (double new_el) noexcept
 sets elevation More...
 
void setHa (double ha)
 sets local hour angle More...
 
void setDc (double dc)
 sets declination More...
 
void setTime (unsigned int new_time) noexcept
 sets time for which azimth and elevation is calculated More...
 
- Public Member Functions inherited from VieVS::VieVS_Object
 VieVS_Object (unsigned long id)
 constructor More...
 
const unsigned long getId () const
 get object id More...
 
bool hasValidId () const
 check if id is valid More...
 
bool hasId (unsigned long id) const
 check if object has specific id More...
 
void setId (unsigned long id)
 set object id More...
 
std::string printId () const
 object id string More...
 

Static Public Member Functions

static unsigned long numberOfCreatedObjects ()
 total number of created pointing vectors More...
 

Private Attributes

unsigned long staid_
 station id More...
 
unsigned long srcid_
 source id More...
 
double az_
 azimth in radians More...
 
double el_
 elevation in radians More...
 
double ha_ { 0 }
 declination in radians More...
 
double dc_ { 0 }
 local hour angle in radians More...
 
unsigned int time_
 time in seconds since session start for which azimuth and elevation is calculated More...
 

Static Private Attributes

static unsigned long nextId = 0
 next id for this object type More...
 

Detailed Description

representation of VLBI pointing vector

Author
Matthias Schartner
Date
06.07.2017

Constructor & Destructor Documentation

PointingVector::PointingVector ( unsigned long  staid,
unsigned long  srcid 
)

constructor

Author
Matthias Schartner
Parameters
staidid of station
srcidid of observed source
PointingVector::PointingVector ( const PointingVector other)

copy constructor

Author
Matthias Schartner
Parameters
otherother pointing vector
VieVS::PointingVector::PointingVector ( PointingVector &&  other)
default

move constructor

Author
Matthias Schartner
Parameters
otherother pointing vector
VieVS::PointingVector::~PointingVector ( )
default

destructor

Author
Matthias Schartner

Member Function Documentation

void PointingVector::copyValuesFromOtherPv ( const PointingVector other)

copy values from other pointing vector

Author
Matthias Schartner
Parameters
otherother pointing vector

Here is the caller graph for this function:

double VieVS::PointingVector::getAz ( ) const
inlinenoexcept

getter for azimuth

Author
Matthias Schartner
Returns
azimth in radians

Here is the caller graph for this function:

double VieVS::PointingVector::getDc ( ) const
inline

getter for declination

Author
Matthias Schartner
Returns
declination

Here is the caller graph for this function:

double VieVS::PointingVector::getEl ( ) const
inlinenoexcept

getter for elevation

Author
Matthias Schartner
Returns
elevation in radians

Here is the caller graph for this function:

double VieVS::PointingVector::getHa ( ) const
inline

getter for local hour angle

Author
Matthias Schartner
Returns
local hour angle

Here is the caller graph for this function:

unsigned long VieVS::PointingVector::getSrcid ( ) const
inlinenoexcept

getter for source id

Author
Matthias Schartner
Returns
id of source

Here is the caller graph for this function:

unsigned long VieVS::PointingVector::getStaid ( ) const
inlinenoexcept

getter for station id

Author
Matthias Schartner
Returns
id of station

Here is the caller graph for this function:

unsigned int VieVS::PointingVector::getTime ( ) const
inlinenoexcept

getter for time for which azimuth and elevation is calculated

Author
Matthias Schartner
Returns
time in seconds since session start

Here is the caller graph for this function:

static unsigned long VieVS::PointingVector::numberOfCreatedObjects ( )
inlinestatic

total number of created pointing vectors

Author
Matthias Schartner
Returns
total nubmer of created pointing vectors

Here is the caller graph for this function:

bool VieVS::PointingVector::operator< ( const PointingVector other) const
inline

less then operator

Author
Matthias Schartner
Parameters
otherother pointing vector
Returns
true if time is less then other's time, otherwise false

Here is the call graph for this function:

PointingVector& VieVS::PointingVector::operator= ( const PointingVector other)
default

copy assignment operator

Author
Matthias Schartner
Parameters
otherother pointing vector
Returns
copy of other
PointingVector& VieVS::PointingVector::operator= ( PointingVector &&  other)
default

move assignment operator

Author
Matthias Schartner
Parameters
otherother pointing vector
Returns
move of other
void VieVS::PointingVector::setAz ( double  new_az)
inlinenoexcept

sets azimuth

Author
Matthias Schartner
Parameters
new_aznew azimuth

Here is the caller graph for this function:

void VieVS::PointingVector::setDc ( double  dc)
inline

sets declination

Author
Matthias Schartner
Parameters
dcnew declination
void VieVS::PointingVector::setEl ( double  new_el)
inlinenoexcept

sets elevation

Author
Matthias Schartner
Parameters
new_elnew elevation

Here is the caller graph for this function:

void VieVS::PointingVector::setHa ( double  ha)
inline

sets local hour angle

Author
Matthias Schartner
Parameters
hanew local hour angle
void VieVS::PointingVector::setTime ( unsigned int  new_time)
inlinenoexcept

sets time for which azimth and elevation is calculated

Author
Matthias Schartner
Parameters
new_timenew time

Here is the caller graph for this function:

Member Data Documentation

double VieVS::PointingVector::az_
private

azimth in radians

double VieVS::PointingVector::dc_ { 0 }
private

local hour angle in radians

double VieVS::PointingVector::el_
private

elevation in radians

double VieVS::PointingVector::ha_ { 0 }
private

declination in radians

unsigned long PointingVector::nextId = 0
staticprivate

next id for this object type

unsigned long VieVS::PointingVector::srcid_
private

source id

unsigned long VieVS::PointingVector::staid_
private

station id

unsigned int VieVS::PointingVector::time_
private

time in seconds since session start for which azimuth and elevation is calculated


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