API
 
Loading...
Searching...
No Matches
MagAOXApp.cpp
Go to the documentation of this file.
1/** \file magAOXApp.cpp
2 * \brief Instantiation of the basic MagAO-X Application
3 * \author Jared R. Males (jaredmales@gmail.com)
4 *
5 * History:
6 * - 2021-01-05 created by JRM
7 *
8 * \ingroup app_files
9 */
10
11#include "MagAOXApp.hpp"
12
13namespace MagAOX
14{
15namespace app
16{
17
18template<>
19pcf::IndiProperty::Type propType<char *>()
20{
21 return pcf::IndiProperty::Text;
22}
23
24template<>
25pcf::IndiProperty::Type propType<std::string>()
26{
27 return pcf::IndiProperty::Text;
28}
29
30template<>
31pcf::IndiProperty::Type propType<int>()
32{
33 return pcf::IndiProperty::Number;
34}
35
36template<>
37pcf::IndiProperty::Type propType<double>()
38{
39 return pcf::IndiProperty::Number;
40}
41
42void sigUsr1Handler( int signum,
43 siginfo_t * siginf,
44 void *ucont
45 )
46{
47 static_cast<void>(signum);
48 static_cast<void>(siginf);
49 static_cast<void>(ucont);
50
51 return;
52}
53
54template class MagAOXApp<true>;
55template class MagAOXApp<false>;
56
57
58}
59}
pcf::IndiProperty::Type propType< int >()
Definition MagAOXApp.cpp:31
pcf::IndiProperty::Type propType< std::string >()
Definition MagAOXApp.cpp:25
pcf::IndiProperty::Type propType< char * >()
Definition MagAOXApp.cpp:19
void sigUsr1Handler(int signum, siginfo_t *siginf, void *ucont)
Empty signal handler. SIGUSR1 is used to interrupt sleep in various threads.
Definition MagAOXApp.cpp:42
pcf::IndiProperty::Type propType< double >()
Definition MagAOXApp.cpp:37
Definition dm.hpp:24