The namespace of VisAO software. More...
Classes | |
struct | aosystem_status_board |
struct | basic_status_board |
struct | ccd47_status_board |
class | CCD47Ctrl |
The controller for the VisAO CCD47 via its Little Joe. More... | |
class | coronguide |
struct | coronguide_status_board |
class | dioserver |
Class to manage access to a digital input/output device. More... | |
struct | dioserver_ch |
Holds the information for one digital I/O channel. More... | |
class | ESPMotorCtrl |
The ESP motor controller class. More... | |
struct | filterwheel_status_board |
class | FilterWheelLocal |
A class to provide Filter Wheel functionality for the VisAO Camera. More... | |
class | fir_filter |
class | FocusMotorCtrl |
The focus stage stepper motor controller class. More... | |
struct | focusstage_status_board |
class | framegrabber |
The basic VisAO framegrabber. More... | |
class | framegrabber39 |
The framegrabber specialization for the CCD39. More... | |
struct | framegrabber39_status_board |
class | framegrabber47 |
The framegrabber specialization for the CCD47. More... | |
class | frameselector |
struct | frameselector_status_board |
class | frameserver |
a class for serving frames over UDP. More... | |
class | framewriter |
A class for writing image frames from shared memory to disk. More... | |
struct | gimbal_status_board |
class | GimbalMotorCtrl |
The gimbal motor controller class. More... | |
struct | imviewer_status_board |
class | JoeCtrl |
The interface between the CCD47Ctrl class and the AO Supervisor. More... | |
struct | littlejoe_program |
Holds the details of one little joe program. More... | |
struct | littlejoe_programset |
Holds the details of a little joe program set (i.e. a pattern/con file pair) More... | |
struct | lutentry |
struct | power_status_board |
class | profiler |
class | PwrMon |
A class to monitor the VisAOPwrCtrl via the RTDB. More... | |
class | reconstructor |
The VisAO reconstructor. More... | |
struct | reconstructor_status_board |
struct | ReprogramData |
struct | shutter_status_board |
struct | shutter_tester_status_board |
class | ShutterControlDioclient |
class | ShutterRemoteControl |
Class to provide remote control (via the AO system) of the Shutter. More... | |
class | sysmonD |
The VisAO system monitor. More... | |
struct | system_status_board |
class | VisAOApp_base |
The base class for VisAO applications. More... | |
class | VisAOApp_standalone |
The standalone VisAO application, does not interface with the AO Supervisor. More... | |
class | VisAOIClient |
class | VisAOSimpleMotorCtrl |
A class to provide VisAO functionality to the adopt motor controller. More... | |
struct | wollaston_status_board |
class | WollastonStatus |
The wollaston lift status maintainer. More... | |
Functions | |
bool | complutentries (lutentry a, lutentry b) |
void * | ReprogramJoeThreadWorker (void *adata) |
This is the thread start function for reprogramming the little joe. More... | |
void * | __SetupNetwork (void *ctrl) |
int | SetJoeRCL (int rcl) |
Set the recall "RCL" parameter on the little joe (pixel readout, gain & related settings) More... | |
int | DumpProgramset (littlejoe_programset programset) |
int | read_diofifo (fifo_channel *fc) |
Handler to read one of the dio channel fifos. | |
void * | __fwstart_signal_catcher (void *ptr) |
void | strehl_ready (int signum, siginfo_t *siginf, void *ucont) |
void | frame_ready_handler (int signum __attribute__((unused)), siginfo_t *siginf, void *ucont __attribute__((unused))) |
int | frame_ready (fifo_channel *fc) |
void | frame_ready_handler (int signum, siginfo_t *siginf, void *ucont) |
int | com_remote_handler (fifo_channel *) |
fifo_channel handler for remote commands | |
int | com_local_handler (fifo_channel *) |
fifo_channel handler for local commands | |
int | com_script_handler (fifo_channel *) |
fifo_channel handler for script commands | |
int | com_auto_handler (fifo_channel *) |
fifo_channel handler for auto commands | |
int | com_remote_thread_handler (fifo_channel *fc) |
Thread version of the fifo_channel handler for remote commands. More... | |
void * | __com_remote_thread_handler (void *ptr) |
The start function for remote handling with a thread. More... | |
int | com_local_thread_handler (fifo_channel *fc) |
Thread version of the fifo_channel handler for local commands. More... | |
void * | __com_local_thread_handler (void *ptr) |
The start function for local handling with a thread. More... | |
int | com_script_thread_handler (fifo_channel *fc) |
Thread version of the fifo_channel handler for script commands. More... | |
void * | __com_script_thread_handler (void *ptr) |
The start function for script handling with a thread. More... | |
int | com_auto_thread_handler (fifo_channel *fc) |
Thread version of the fifo_channel handler for auto commands. More... | |
void * | __com_auto_thread_handler (void *ptr) |
The start function for auto handling with a thread. More... | |
int | getnextline (std::string *comln, std::string *com) |
Utility function for parsing command buffers line by line. More... | |
void * | __start_profiler (void *ptr) |
void * | __start_signal_catcher (void *) |
Thread starter for the signal catcher. More... | |
void | sig_mainthread_catcher (int signum __attribute__((unused)), siginfo_t *siginf __attribute__((unused)), void *ucont __attribute__((unused))) |
void | sigterm_handler (int signum, siginfo_t *siginf __attribute__((unused)), void *ucont __attribute__((unused))) |
void | sig_mainthread_catcher (int signum, siginfo_t *siginf, void *ucont) |
Catches the signal to the main thread. More... | |
void | sigterm_handler (int signum, siginfo_t *siginf, void *ucont) |
Catches SIGTERM and sets TimeToDie. | |
void | frame_ready (int signum __attribute__((unused)), siginfo_t *siginf, void *ucont __attribute__((unused))) |
void | frame_ready (int signum, siginfo_t *siginf, void *ucont) |
void * | __launch_data_logger (void *Sctrl) |
Launches the data logger. More... | |
void | shutter_auto_handler (int signum, siginfo_t *siginf, void *ucont) |
double | get_curr_t () |
static void | timeout_handler (int sig, siginfo_t *si, void *uc) |
std::string | parse_for_fits (std::string &path) |
Variables | |
ReprogramData | rpd |
int | cur_xbin |
int | cur_ybin |
int | cur_speed |
int | default_xbin |
int | default_ybin |
int | default_speed |
int | default_black |
frameselector * | global_selector |
For the auto command handler, which live in the main thread. | |
reconstructor * | global_reconstructor |
ShutterControlDioclient * | global_shutter |
For the auto command handler, which live in the main thread. | |
sysmonD * | global_sysmonD |
jmp_buf | env |
pthread_mutex_t | threadMutex |
Mutex to lock out other threads during complex operations. More... | |
void * VisAO::ReprogramJoeThreadWorker | ( | void * | adata | ) |
First blocks SIGIO so uploads aren't interrupted Then calls __ReprogramJoe
Definition at line 519 of file CCD47Ctrl.cpp.
References VisAO::CCD47Ctrl::__ReprogramJoe().
Referenced by VisAO::CCD47Ctrl::ReprogramJoe().
rcl | program number 0-31 inclusive |
0 | on success |
<0 | otherwise (errordb code) |
Definition at line 1688 of file CCD47Ctrl.cpp.
Referenced by VisAO::CCD47Ctrl::__ReprogramJoe().
int VisAO::com_remote_thread_handler | ( | fifo_channel * | fc | ) |
Creates a thread using __com_remote_thread_handler in the detached state. Note: The thread fifo handlers are no longer maintained as of 3 July 2011. Use with caution.
Definition at line 1063 of file VisAOApp_base.cpp.
References __com_remote_thread_handler().
Referenced by VisAO::VisAOApp_base::setup_baseApp().
void * VisAO::__com_remote_thread_handler | ( | void * | ptr | ) |
Note: The thread fifo handlers are no longer maintained as of 3 July 2011. Use with caution.
Definition at line 1076 of file VisAOApp_base.cpp.
References com_remote_handler(), and VisAO::VisAOApp_base::my_mutex.
Referenced by com_remote_thread_handler().
int VisAO::com_local_thread_handler | ( | fifo_channel * | fc | ) |
Creates a thread using __com_local_thread_handler in the detached state. Note: The thread fifo handlers are no longer maintained as of 3 July 2011. Use with caution.
Definition at line 1090 of file VisAOApp_base.cpp.
References __com_local_thread_handler().
Referenced by VisAO::VisAOApp_base::setup_baseApp().
void * VisAO::__com_local_thread_handler | ( | void * | ptr | ) |
Note: The thread fifo handlers are no longer maintained as of 3 July 2011. Use with caution.
Definition at line 1103 of file VisAOApp_base.cpp.
References com_local_handler(), and VisAO::VisAOApp_base::my_mutex.
Referenced by com_local_thread_handler().
int VisAO::com_script_thread_handler | ( | fifo_channel * | fc | ) |
Creates a thread using __com_script_thread_handler in the detached state. Note: The thread fifo handlers are no longer maintained as of 3 July 2011. Use with caution.
Definition at line 1117 of file VisAOApp_base.cpp.
References __com_script_thread_handler().
Referenced by VisAO::VisAOApp_base::setup_baseApp().
void * VisAO::__com_script_thread_handler | ( | void * | ptr | ) |
Note: The thread fifo handlers are no longer maintained as of 3 July 2011. Use with caution.
Definition at line 1129 of file VisAOApp_base.cpp.
References com_script_handler(), and VisAO::VisAOApp_base::my_mutex.
Referenced by com_script_thread_handler().
int VisAO::com_auto_thread_handler | ( | fifo_channel * | fc | ) |
Creates a thread using __com_auto_thread_handler in the detached state. Note: The thread fifo handlers are no longer maintained as of 3 July 2011. Use with caution.
Definition at line 1143 of file VisAOApp_base.cpp.
References __com_auto_thread_handler().
Referenced by VisAO::VisAOApp_base::setup_baseApp().
void * VisAO::__com_auto_thread_handler | ( | void * | ptr | ) |
Note: The thread fifo handlers are no longer maintained as of 3 July 2011. Use with caution.
Definition at line 1155 of file VisAOApp_base.cpp.
References com_auto_handler(), and VisAO::VisAOApp_base::my_mutex.
Referenced by com_auto_thread_handler().
int VisAO::getnextline | ( | std::string * | comln, |
std::string * | com | ||
) |
This alters com, so make a copy if we need it somewhere else.
Definition at line 1169 of file VisAOApp_base.cpp.
Referenced by com_local_handler(), com_remote_handler(), and com_script_handler().
void * VisAO::__start_signal_catcher | ( | void * | ) |
Casts the void pointer to VisAOApp_standalone and calls start_signal_catcher.
Definition at line 666 of file VisAOApp_standalone.cpp.
Referenced by VisAO::VisAOApp_standalone::start_signal_catcher().
void VisAO::sig_mainthread_catcher | ( | int | signum, |
siginfo_t * | siginf, | ||
void * | ucont | ||
) |
Does absolutely nothing, just provides a facility to wake the main thread up if it is blocking or paused.
void * VisAO::__launch_data_logger | ( | void * | Sctrl | ) |
Sctrl | is a ShutterControlDioclient |
Definition at line 976 of file ShutterControlDioclient.cpp.
Referenced by VisAO::ShutterControlDioclient::launchDataLogger().
pthread_mutex_t VisAO::threadMutex |
Defined in SimpleMotorCtrl.cpp, we use it here for VisAOSimpleMotorCtrl::CModeReqChanged.
Definition at line 8 of file VisAOIClient.cpp.
Referenced by VisAO::VisAOSimpleMotorCtrl::VisAO_PosLocalReqChanged(), VisAO::VisAOSimpleMotorCtrl::VisAO_PosReqChanged(), and VisAO::VisAOSimpleMotorCtrl::VisAO_PosScriptReqChanged().