The VisAO Camera
VisAO_main.h File Reference

The main program for a VisAO application. More...

Go to the source code of this file.


int VisAO_main (int argc, char **argv)


int TimeToDie
 Global set by SIGTERM.
int debug
 The global fifo_list, for signal handling.

Detailed Description

Jared R. Males Define VISAO_APP_TYPE and VISAO_APP_CONFFILE before including this in your main program. Then just call return VisAO_main(argc, argv) as the only line in main() e.g: #define VISAO_APP_TYPE VisAO::FocusMotorCtrl #define VISAO_APP_CONFFILE "conf/FocusMotorCtrl.conf" #include "VisAO_main.h" int main(int argc, char **argv) { return VisAO_main(argc, argv); }

Definition in file VisAO_main.h.