Pulsar::ITRFExtension Class Reference

International Terrestrial Reference Frame Extension. More...

#include <ITRFExtension.h>

Inheritance diagram for Pulsar::ITRFExtension:
Pulsar::Archive::Extension Reference::Able Reference::HeapTracked

Public Member Functions

 ITRFExtension ()
 Default constructor.
 ITRFExtension (const ITRFExtension &extension)
 Copy constructor.
const ITRFExtensionoperator= (const ITRFExtension &extension)
 Operator =.
 ~ITRFExtension ()
 Destructor.
ITRFExtensionclone () const
 Clone method.
TextInterface::Parserget_interface ()
 Return a text interfaces that can be used to access this instance.
std::string get_short_name () const
 Return an abbreviated name that can be typed relatively quickly.
double get_ant_x () const
double get_ant_y () const
double get_ant_z () const
void set_ant_x (const double _ant_x)
void set_ant_y (const double _ant_y)
void set_ant_z (const double _ant_z)
void get_sph (double &lat, double &lon, double &rad)
 Get geocentric latitude and longitude in radians, and radius in metres.
Public Member Functions inherited from Pulsar::Archive::Extension
 Extension (const char *name)
 Construct with a name.
virtual ~Extension ()
 Destructor.
std::string get_extension_name () const
 Return the name of the Extension.
virtual bool has_data () const
 Returns true if the Extension contains useful data.
virtual void resize (unsigned nsubint, unsigned npol=0, unsigned nchan=0, unsigned nbin=0)
 Resize the Extension.
virtual void frequency_append (Archive *to, const Archive *from)
 Append data along frequency dimension, if applicable.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Public Attributes

double ant_x
 Antenna ITRF X-coordinate.
double ant_y
 Antenna ITRF Y-coordinate.
double ant_z
 Antenna ITRF Z-coordinate.

Additional Inherited Members

Static Public Member Functions inherited from Pulsar::Archive::Extension
static Extensionfactory (const std::string &name)
 Derived type factory.
Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const
Protected Attributes inherited from Pulsar::Archive::Extension
std::string extension_name
 Extension name - useful when debugging.

Detailed Description

International Terrestrial Reference Frame Extension.

This ITRFExtension class provides a container for holding the ITRF coordinates of a telescope.

Member Function Documentation

◆ clone()

ITRFExtension * Pulsar::ITRFExtension::clone ( ) const
inlinevirtual

Clone method.

Implements Pulsar::Archive::Extension.

References ITRFExtension().

◆ get_interface()

TextInterface::Parser * Pulsar::ITRFExtension::get_interface ( void )
virtual

Return a text interfaces that can be used to access this instance.

Reimplemented from Pulsar::Archive::Extension.

◆ get_short_name()

std::string Pulsar::ITRFExtension::get_short_name ( ) const
inlinevirtual

Return an abbreviated name that can be typed relatively quickly.

Reimplemented from Pulsar::Archive::Extension.


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

Generated using doxygen 1.14.0