Base class of antenna/telescope mount types. More...

#include <Mount.h>

Inheritance diagram for Mount:
Reference::Able Reference::HeapTracked Directional MountProjection Horizon KrausType Meridian Fixed

Public Member Functions

 Mount ()
 Default constructor.
 
virtual ~Mount ()
 Destructor.
 
void set_source_coordinates (const sky_coord &coords)
 Set the coordinates of the source.
 
void set_observatory_latitude (double latitude)
 Set the latitude of the observatory in radians.
 
double get_observatory_latitude () const
 
void set_observatory_longitude (double longitude)
 Set the longitude of the observatory in radians East of Greenwich.
 
double get_observatory_longitude () const
 
void set_epoch (const MJD &epoch)
 Set the epoch in Modified Julian Days.
 
MJD get_epoch () const
 
void set_hour_angle (double rad)
 Set the hour_angle in radians.
 
double get_hour_angle () const
 Get the hour_angle in radians.
 
void set_local_sidereal_time (double rad)
 Set the LST in radians. More...
 
double get_local_sidereal_time () const
 Get the LST in radians.
 
virtual std::string get_name () const =0
 Get the name of the mount.
 
virtual double get_vertical () const =0
 Get the vertical angle (rotation about the line of sight)
 
virtual std::vector< std::pair< double, Mount * > > slew_times (const sky_coord &coords)
 Return all possible slew times and resulting telescope states.
 
- Public Member Functions inherited from Reference::Able
 Able ()
 Default constructor.
 
 Able (const Able &)
 Copy constructor.
 
Ableoperator= (const Able &)
 Assignment operator.
 
virtual ~Able ()
 Destructor.
 
unsigned get_reference_count () const
 Returns the number of references there are to this.
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked ()
 Default constructor.
 
 HeapTracked (const HeapTracked &)
 Copy constructor.
 
HeapTrackedoperator= (const HeapTracked &)
 Assignment operator.
 
virtual ~HeapTracked ()
 Destructor.
 
bool __is_on_heap () const
 Return true if this instance is found in heap addresses.
 

Protected Member Functions

virtual void build () const
 Lazily evaluate lst and hour_angle.
 
bool get_built () const
 Return true when outputs reflect inputs.
 
- Protected Member Functions inherited from Reference::Able
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...
 

Protected Attributes

double declination
 The declination of the source in radians.
 
double right_ascension
 The right ascension of the source in radians.
 
double latitude
 The latitude of the observatory in radians.
 
double longitude
 The latitude of the observatory in radians East of Greenwich.
 
MJD epoch
 The epoch.
 
double lst
 The LST in radians.
 
double hour_angle
 The hour angle in radians.
 
Matrix< 3, 3, double > source_basis
 Basis pointing to source in celestial reference frame.
 
Matrix< 3, 3, double > observatory_basis
 Basis pointing to observatory in celestial reference frame.
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 Returns the current number instances in existence.
 
- Static Public Member Functions inherited from Reference::HeapTracked
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.
 

Detailed Description

Base class of antenna/telescope mount types.

Member Function Documentation

◆ set_local_sidereal_time()

void Mount::set_local_sidereal_time ( double  rad)

Set the LST in radians.

Set the hour_angle in radians.


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

Generated using doxygen 1.8.17