API
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 
13 namespace MagAOX
14 {
15 namespace app
16 {
17 
18 template<>
19 pcf::IndiProperty::Type propType<char *>()
20 {
21  return pcf::IndiProperty::Text;
22 }
23 
24 template<>
25 pcf::IndiProperty::Type propType<std::string>()
26 {
27  return pcf::IndiProperty::Text;
28 }
29 
30 template<>
31 pcf::IndiProperty::Type propType<int>()
32 {
33  return pcf::IndiProperty::Number;
34 }
35 
36 template<>
37 pcf::IndiProperty::Type propType<double>()
38 {
39  return pcf::IndiProperty::Number;
40 }
41 
42 void 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 
54 template class MagAOXApp<true>;
55 template class MagAOXApp<false>;
56 
57 
58 }
59 }
pcf::IndiProperty::Type propType< int >()
Definition: MagAOXApp.cpp:31
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