API

The xrif2shmim class declaration and definition. More...

#include <ImageStreamIO/ImageStruct.h>
#include <ImageStreamIO/ImageStreamIO.h>
#include <xrif/xrif.h>
#include <mx/ioutils/fileUtils.hpp>
#include <mx/improc/eigenCube.hpp>
#include <mx/ioutils/fits/fitsFile.hpp>
#include <mx/sys/timeUtils.hpp>
#include "../../libMagAOX/libMagAOX.hpp"
Include dependency graph for xrif2shmim.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  xrif2shmim
 A utility to stream MagaO-X images from xrif compressed archives to an ImageStreamIO stream. More...
 

Functions

void microsleep (unsigned usec)
 Sleep for a specified period in microseconds. More...
 
void sigTermHandler (int signum, siginfo_t *siginf, void *ucont)
 

Variables

bool g_timeToDie = false
 

Detailed Description

The xrif2shmim class declaration and definition.

Definition in file xrif2shmim.hpp.

Function Documentation

◆ microsleep()

void microsleep ( unsigned  usec)
inline

Sleep for a specified period in microseconds.

Todo:
add timeutils to libMagAOX
Parameters
[in]usecthe number of microseconds to sleep.

Definition at line 26 of file xrif2shmim.hpp.

Referenced by xrif2shmim::execute().

◆ sigTermHandler()

void sigTermHandler ( int  signum,
siginfo_t *  siginf,
void *  ucont 
)

Definition at line 46 of file xrif2shmim.hpp.

Referenced by xrif2shmim::execute().

Variable Documentation

◆ g_timeToDie

bool g_timeToDie = false

Definition at line 44 of file xrif2shmim.hpp.

Referenced by xrif2shmim::execute(), and sigTermHandler().