Class GUIManager

Class Documentation

class GUIManager

defines functions and settings for the display GUI

Public Functions

inline GUIManager()
inline void set_push_settings(std::string sh)
inline void set_push_image(std::string sh)
inline void set_update()
inline bool get_update()

returns the update flag then clears it

Returns:

boolean true|false

inline std::string get_message_string()

returns a formatted message of all gui settings

This message is the return string to guideset command.

Returns:

string in form of <exptime> <gain> <bin>

inline void push_gui_settings()

calls the push_settings script with the formatted message string

the script pushes the settings to the Guider GUI

inline void send_fifo_warning(const std::string &message)
inline void push_gui_image(std::string_view filename)

calls the push_image script with the formatted message string

the script pushes the indicated file to the Guider GUI display

Parameters:

filename[in] fits file to send

Public Members

float exptime
int gain
int bin
float navg