18 #ifndef __reconstructor_h__
19 #define __reconstructor_h__
22 #include "../lib/sharedim_stack.h"
27 #include "rmsAccumulator.h"
29 #define PING_IN_FIFO 0
30 #define FS_PING_FIFO 1
33 #define REC_TELEM_N 19
86 reconstructor(std::string,
const std::string &conffile)
throw (AOException);
97 std::string recFileName;
114 std::string filter_name;
146 std::string ping_fifo_path;
148 pthread_mutex_t reconMutex;
157 int set_matint(std::string matintfile);
159 int set_lambda(
float lam);
160 float get_lambda(){
return lambda;}
162 int set_filter(std::string fname);
163 std::string get_filter(){
return filter_name;}
165 int set_cal_a(
float a);
166 float get_cal_a(){
return cal_a;}
167 int set_cal_b(
float b);
168 float get_cal_b(){
return cal_b;}
177 std::string common_command(std::string com,
int cmode);
185 void frame_ready(
int signum, siginfo_t *siginf,
void *ucont);
189 #endif //__reconstructor_h__
int strehls_shmem_key
Pointer to the slopes vector.
The standalone VisAO application, does not interface with the AO Supervisor.
Declarations for the standalone VisAO application.
Declarations for a class to manage a reconstructor matrix.
virtual int Run()
The application main loop, to be re-implemented in derived classes.
virtual int update_statusboard()
Update the reconstructor Status Board shared memory.
FIR digital filter class declarations.
sharedim< float > * strehl_sim
Shared memory image, from ring buffer, for strehl data.
void Create()
Processes the config file.
sharedim_stack< float > strehl_sis
Shared memory ring buffer for strehl data.
sharedim< unsigned char > slopes_sim
Shared memory image of slopes (a vector actually)
sharedim_stack< unsigned char > slopes_sis
The shared memory ring buffer for slopes storage.
std::string local_command(std::string com)
Called by __local_command after control state logic.
std::string script_command(std::string com)
Called by __script_command after control state logic.
The namespace of VisAO software.
int slopes_shmem_key
The key for the shared memory for slopes.
sharedim< float > strehl_simavg
Shared memory image, from ring buffer, for strehl data.