The VisAO Camera
reconstructor_main.cpp
Go to the documentation of this file.
1
/************************************************************
2
* reconstructor_main.cpp
3
*
4
* Author: Jared R. Males (jrmales@email.arizona.edu)
5
*
6
* Main program for the reconstructor.
7
*
8
* Developed as part of the Magellan Adaptive Optics system.
9
************************************************************/
10
11
/** \file reconstructor_main.cpp
12
* \author Jared R. Males
13
* \brief Main program for the reconstructor.
14
*
15
*/
16
17
#include "
reconstructor.h
"
18
19
20
#define VISAO_APP_TYPE VisAO::reconstructor
21
#define VISAO_APP_NAME "reconstructor"
22
#include "
VisAO_main.h
"
23
24
int
main(
int
argc,
char
**argv)
25
{
26
return
VisAO_main(argc, argv);
27
}
28
29
/*
30
31
32
#include <sched.h>
33
34
int TimeToDie;
35
36
int main(int argc, char **argv)
37
{
38
TimeToDie = 0;
39
40
std::cout.precision(20);
41
42
try
43
{
44
VisAO::ShutterControlDioclient * scd;
45
46
if(argc > 1)
47
{
48
scd = new VisAO::ShutterControlDioclient(argc,argv);
49
}
50
else
51
{
52
ostringstream oss;
53
oss << "conf/" << "ShutterControl.conf";
54
scd = new VisAO::ShutterControlDioclient(oss.str());
55
}
56
57
58
59
scd->Exec();
60
61
delete scd;
62
63
return 0;
64
65
}
66
catch(...)
67
{
68
Logger::get()->log( Logger::LOG_LEV_FATAL, "%s:%d: %s", __FILE__, __LINE__, "exception caught in ShutterControl");
69
return -1;
70
}
71
}
72
*/
VisAO_main.h
The main program for a VisAO application.
reconstructor.h
Declarations for a class to perform real-time reconstruction of wavefronts.
Reconstructor
reconstructor_main.cpp
Generated on Tue Dec 1 2015 23:21:52 for The VisAO Camera by
1.8.9.1