Observatory data available from TEMPO.
More...
#include <T2Observatory.h>
|
| Observatory () |
| Default constructor.
|
|
bool | is_alias_of (const std::string &name) const |
|
bool | is_alias_of (const Observatory &obs) const |
|
bool | is_alias_of (const char c) const |
|
std::string | get_name () const |
| Get the observatory name.
|
|
void | set_name (const std::string &) |
|
void | get_xyz (double &x, double &y, double &z) const |
| Get the geocentric XYZ coordinates in metres.
|
|
void | set_xyz (double x, double y, double z) |
|
void | get_sph (double &lat, double &lon, double &rad) const |
| Get the latitude and longitude in radians, radius in metres. More...
|
|
std::string | get_old_code () const |
| Get the "old-style" telescope ID code.
|
|
void | set_old_code (const std::string &) |
|
char | get_code () const |
| Get the observatory number (from $TEMPO2/observatory/aliases)
|
|
void | set_code (char) |
|
| Able () |
| Default constructor.
|
|
| Able (const Able &) |
| Copy constructor.
|
|
Able & | operator= (const Able &) |
| Assignment operator.
|
|
virtual | ~Able () |
| Destructor.
|
|
unsigned | get_reference_count () const |
| Returns the number of references there are to this.
|
|
| HeapTracked () |
| Default constructor.
|
|
| HeapTracked (const HeapTracked &) |
| Copy constructor.
|
|
HeapTracked & | operator= (const HeapTracked &) |
| Assignment operator.
|
|
virtual | ~HeapTracked () |
| Destructor.
|
|
bool | __is_on_heap () const |
| Return true if this instance is found in heap addresses.
|
|
|
std::vector< std::string > | aliases |
|
|
std::string | name |
|
std::string | old_code |
|
char | code |
|
double | x |
|
double | y |
|
double | z |
|
|
static const Site * | location (const std::string &antenna) |
| Get the location of the named antenna.
|
|
static size_t | get_instance_count () |
| Returns the current number instances in existence.
|
|
static void * | operator new (size_t size, void *ptr=0) |
| Records the addresses of new instances allocated on the heap.
|
|
static void | operator delete (void *location, void *ptr) |
| Placement delete overload to match the placement new overload.
|
|
static void | operator delete (void *location) |
| Regular delete overload.
|
|
static size_t | get_heap_queue_size () |
| Return the number of heap addresses awaiting processing.
|
|
Handle * | __reference (bool active) const |
| Add the address of a reference to this object. More...
|
|
void | __dereference (bool auto_delete=true) const |
| Remove the address of a reference to this object. More...
|
|
Observatory data available from TEMPO.
◆ get_sph()
void Tempo2::Observatory::get_sph |
( |
double & |
lat, |
|
|
double & |
lon, |
|
|
double & |
rad |
|
) |
| const |
|
virtual |
Get the latitude and longitude in radians, radius in metres.
Get the latitude and longitude in radians.
Implements Pulsar::Site.
The documentation for this class was generated from the following files: