00001 #ifndef agwsGUIDE_STAR_H
00002 #define agwsGUIDE_STAR_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __cplusplus
00020 #error This is a C++ include file and cannot be used from plain C
00021 #endif
00022
00023 #include "agws.h"
00024 #include "fndOBJECT.h"
00025
00026
00027
00028
00029 typedef vltINT32 agwsGS_TRY_STATE;
00030
00031
00032
00033
00034 enum agwsGS_PROBE_POS {
00035 POS = 0,
00036 NEG,
00037 NONE
00038 };
00039
00040 class agwsGUIDE_STAR : public fndOBJECT
00041 {
00042 public:
00043 agwsGUIDE_STAR();
00044 agwsGUIDE_STAR(vltDOUBLE alpha, vltDOUBLE delta,
00045 vltDOUBLE magnitude,
00046 agwsGS_PROBE_POS probePos = NONE,
00047 vltDOUBLE wavelen = 650.0);
00048
00049 void Reset();
00050
00051 void Set(vltDOUBLE alpha, vltDOUBLE delta,
00052 vltDOUBLE magnitude,
00053 agwsGS_PROBE_POS probePos = NONE,
00054 vltDOUBLE wavelen = 650.0,
00055 agwsGS_PROBE_POS triedPos = NONE);
00056 void SetProbePos(agwsGS_PROBE_POS probePos);
00057 void SetTriedPos(agwsGS_PROBE_POS triedPos);
00058
00059 vltDOUBLE Alpha();
00060 vltDOUBLE Delta();
00061 vltDOUBLE Magnitude();
00062 agwsGS_PROBE_POS ProbePos();
00063 agwsGS_PROBE_POS TriedPos();
00064 vltDOUBLE Wavelen();
00065
00066 void TryState(agwsGS_TRY_STATE state);
00067 agwsGS_TRY_STATE TryState();
00068
00069 private:
00070 vltDOUBLE alpha, delta;
00071 vltDOUBLE magnitude;
00072 agwsGS_PROBE_POS probePos;
00073 agwsGS_PROBE_POS triedPos;
00074 agwsGS_TRY_STATE tryState;
00075 vltDOUBLE wavelen;
00076 };
00077
00078
00079
00080
00081 #include "agwsGUIDE_STAR.icc"
00082
00083 #endif