TwiceAsNice
2019-02-18
|
An implementation of Presetting the Telescope. More...
#include <LicsTcsPreset.h>
Public Member Functions | |
LicsTcsPreset (const Lics::LicsStarcat &cat) | |
constructor preparing for a preset. More... | |
LicsTcsPreset (const double offRA, const double offDEC, const Lics::LicsIIFSide sdx) | |
Constructor in prepration of an offset. More... | |
~LicsTcsPreset () | |
int | run (int argc, char *argv[]) |
The function which will be called intermediatly through Application::start() More... | |
LicsTcsPreset (const Lics::LicsStarcat &cat) | |
LicsTcsPreset (const double offRA, const double offDEC, const Lics::LicsIIFSide sdx) | |
~LicsTcsPreset () | |
int | run (int argc, char *argv[]) |
![]() | |
Application () | |
~Application () | |
int | init (int &, char *[]) |
int | start (int, char *[]) |
void | loadTypes () |
void | enableHeartbeat () |
void | enableLogger () |
virtual void | interruptCallback (int _i) |
Application () | |
~Application () | |
int | init (int &, char *[]) |
int | start (int, char *[]) |
void | loadTypes () |
void | enableHeartbeat () |
void | enableLogger () |
virtual void | interruptCallback (int _i) |
Public Attributes | |
lbto::SeqPos2 | sc |
That star catalogue to be rendered into TCS positions. More... | |
Protected Attributes | |
double | deltaRa |
offset in right ascension (radians) of the forthcoming offsetpointing command This contains already the cosine(delta) factor, as usual in (modern) proper motion catalogs. More... | |
double | deltaDec |
offset in declination (radians) of the forthcoming offsetpointing command More... | |
Lics::LicsIIFSide | sid |
side of the offset (sx, dx or both) More... | |
Additional Inherited Members | |
![]() | |
static void | exit (int) |
static const char * | appName () |
static bool | isInitialized () |
static void | wait () |
static void | shutdown (int _int=0) |
static Ice::CommunicatorPtr | communicator () |
static Ice::ObjectAdapterPtr | adapter (const std::string &="") |
static const Ice::ObjectPrx & | addService (const std::string &_name, Ice::ObjectPtr &_object) |
static JointPtr | preinit () |
static JointPtr | config (const std::string &_node="") |
static Nice::JointPtr | loadFile (const std::string &_filename) |
static Nice::PrioThreadPoolPtr | threadpool () |
static void | startHeartbeat () |
static void | startLogger () |
static void | distribute (const Nice::JointPtr &_seed, bool _recursive=true) |
static std::string | fileByPath (const std::string _filename, bool _create=false) |
static void | destroyOnInterrupt () |
static void | shutdownOnInterrupt () |
static void | ignoreInterrupt () |
static void | callbackOnInterrupt () |
static void | holdInterrupt () |
static void | releaseInterrupt () |
static bool | interrupted () |
static void | exit (int) |
static const char * | appName () |
static bool | isInitialized () |
static void | wait () |
static void | shutdown (int _int=0) |
static Ice::CommunicatorPtr | communicator () |
static Ice::ObjectAdapterPtr | adapter (const std::string &="") |
static const Ice::ObjectPrx & | addService (const std::string &_name, Ice::ObjectPtr &_object) |
static JointPtr | preinit () |
static JointPtr | config (const std::string &_node="") |
static Nice::JointPtr | loadFile (const std::string &_filename) |
static Nice::PrioThreadPoolPtr | threadpool () |
static void | startHeartbeat () |
static void | startLogger () |
static void | distribute (const Nice::JointPtr &_seed, bool _recursive=true) |
static std::string | fileByPath (const std::string _filename, bool _create=false) |
static void | destroyOnInterrupt () |
static void | shutdownOnInterrupt () |
static void | ignoreInterrupt () |
static void | callbackOnInterrupt () |
static void | holdInterrupt () |
static void | releaseInterrupt () |
static bool | interrupted () |
![]() | |
static int | end (int) |
static void | setCtrlCCallback (IceUtil::CtrlCHandlerCallback) |
static int | end (int) |
static void | setCtrlCCallback (IceUtil::CtrlCHandlerCallback) |
Lics::LicsTcsPreset::LicsTcsPreset | ( | const Lics::LicsStarcat & | cat | ) |
constructor preparing for a preset.
cat | The star catalogue that contains the main target and AO stars. |
Lics::LicsTcsPreset::LicsTcsPreset | ( | const double | offRA, |
const double | offDEC, | ||
const Lics::LicsIIFSide | sdx | ||
) |
Constructor in prepration of an offset.
offRa | The offset in RA*cos(dec) (radians) |
offDec | The offset in DEC (radians) |
Lics::LicsTcsPreset::~LicsTcsPreset | ( | ) |
Lics::LicsTcsPreset::LicsTcsPreset | ( | const Lics::LicsStarcat & | cat | ) |
Lics::LicsTcsPreset::LicsTcsPreset | ( | const double | offRA, |
const double | offDEC, | ||
const Lics::LicsIIFSide | sdx | ||
) |
Lics::LicsTcsPreset::~LicsTcsPreset | ( | ) |
|
virtual |
The function which will be called intermediatly through Application::start()
It either submits the star catalogue to the setPresetTelescope function of the iif or iifDummyLocalhost server or submits the offsets in ra and dec.
Implements Nice::Application.
|
virtual |
Implements Nice::Application.
|
protected |
offset in declination (radians) of the forthcoming offsetpointing command
|
protected |
offset in right ascension (radians) of the forthcoming offsetpointing command This contains already the cosine(delta) factor, as usual in (modern) proper motion catalogs.
lbto::SeqPos2 Lics::LicsTcsPreset::sc |
That star catalogue to be rendered into TCS positions.
|
protected |
side of the offset (sx, dx or both)