18 #ifndef __coronguide_h__
19 #define __coronguide_h__
30 #include "improcessing.h"
44 coronguide(
int argc,
char **argv)
throw (AOException);
45 coronguide(std::string name,
const std::string &conffile)
throw (AOException);
56 bool attached_to_shmem;
67 int attach_status_boards();
69 int move_gimbal(
double gx,
double gy);
88 double * backgroundIm;
109 double ap_recov_time;
112 int set_loop_gain(
double lg);
114 int set_bgalgo(
int bga);
115 int set_kfwhm(
double kfw);
116 int set_ksize(
int ks);
122 std::vector<double> xcens;
123 std::vector<double> ycens;
127 int setUseAvg(
bool ua);
128 int setMinMaxReject(
bool mmr);
130 int setAvgLen(
int na);
135 pthread_mutex_t memmutex;
139 int set_shmem_key(
int sk);
148 std::string get_state_str();
164 std::string
auto_command(std::string com,
char *seqmsg);
176 #endif //__coronguide_h__
virtual std::string script_command(std::string com)
Overridden from VisAOApp_base::script_command, here just calls common_command.
sharedim< short > sim
The sharedim structure retreived from the stack.
virtual void dataLogger(timeval tv)
Write coronguide status to the data log.
The standalone VisAO application, does not interface with the AO Supervisor.
std::string common_command(std::string com, int cmode)
The common command processor for commands received by fifo.
Declarations for the standalone VisAO application.
virtual std::string local_command(std::string com)
Overridden from VisAOApp_base::local_command, here just calls common_command.
sharedim_stack< short > * sis
Manages a VisAO shared memory image stack.
virtual std::string remote_command(std::string com)
Overridden from VisAOApp_base::remote_command, here just calls common_command.
Declarations for the VisAO status information structures.
double tgtx
Size of the kernel, in units of kfwhm.
int update_statusboard()
Update the status board.
std::string auto_command(std::string com, char *seqmsg)
Overridden from VisAOApp_base::auto_command, here just calls common_command.
virtual int Run()
The application main loop, to be re-implemented in derived classes.
Declarations for the shared image circular buffer.
The namespace of VisAO software.
int shmem_key
shared memory key for