ddt 1.1.0
Loading...
Searching...
No Matches
Classes
ddtPublisherSimulator.cpp File Reference

Simulator for sending data. This is a simulator for publishing data. Data is read from a directory containing FITS files. More...

#include "ddt/ddtPublisherSimulator.hpp"
#include <thread>
#include <csignal>

Classes

union  R4
 
union  UI2
 
union  UI4
 
const int bit_pix_uint8 = 8
 
const int bit_pix_sint16 = 16
 
const int bit_pix_sint32 = 32
 
const unsigned int bit_pix_uint16 = 16
 
const unsigned int bit_pix_uint32 = 32
 
const int bit_pix_float32 = -32
 
const int bit_pix_float64 = -64
 
const int bytes_per_pixel_1 = 1
 
const int bytes_per_pixel_2 = 2
 
const int bytes_per_pixel_4 = 4
 
const int bytes_per_pixel_8 = 8
 
const uint8_t shift_1_byte_bits = 8
 
const uint8_t shift_2_byte_bits = 16
 
const uint8_t shift_3_byte_bits = 24
 
const uint8_t all_ones = 0xff
 
const int32_t random_val = 5
 
const uint32_t uint32_factor = 4294
 
const int modFactor10 = 10
 
const int arrIndex0 = 0
 
const int arrIndex1 = 1
 
const int arrIndex2 = 2
 
const int arrIndex4 = 4
 
const int arrIndex5 = 5
 
const int arrIndex6 = 6
 
const int arrIndex10 = 10
 
const int arrIndex12 = 12
 
const int arrIndex15 = 15
 
const int arrIndex20 = 20
 
const int arrIndex40 = 40
 
const int publisher_latency = 10000
 
const int publisher_deadline = 10
 
void signal_handler (const int signal_num)
 

Detailed Description

Simulator for sending data. This is a simulator for publishing data. Data is read from a directory containing FITS files.

Author
Matthias Grimm, CGI
Since
2020/01/16

Function Documentation

◆ signal_handler()

void signal_handler ( const int  signal_num)

Variable Documentation

◆ all_ones

const uint8_t all_ones = 0xff

◆ arrIndex0

const int arrIndex0 = 0

◆ arrIndex1

const int arrIndex1 = 1

◆ arrIndex10

const int arrIndex10 = 10

◆ arrIndex12

const int arrIndex12 = 12

◆ arrIndex15

const int arrIndex15 = 15

◆ arrIndex2

const int arrIndex2 = 2

◆ arrIndex20

const int arrIndex20 = 20

◆ arrIndex4

const int arrIndex4 = 4

◆ arrIndex40

const int arrIndex40 = 40

◆ arrIndex5

const int arrIndex5 = 5

◆ arrIndex6

const int arrIndex6 = 6

◆ bit_pix_float32

const int bit_pix_float32 = -32

◆ bit_pix_float64

const int bit_pix_float64 = -64

◆ bit_pix_sint16

const int bit_pix_sint16 = 16

◆ bit_pix_sint32

const int bit_pix_sint32 = 32

◆ bit_pix_uint16

const unsigned int bit_pix_uint16 = 16

◆ bit_pix_uint32

const unsigned int bit_pix_uint32 = 32

◆ bit_pix_uint8

const int bit_pix_uint8 = 8

◆ bytes_per_pixel_1

const int bytes_per_pixel_1 = 1

◆ bytes_per_pixel_2

const int bytes_per_pixel_2 = 2

◆ bytes_per_pixel_4

const int bytes_per_pixel_4 = 4

◆ bytes_per_pixel_8

const int bytes_per_pixel_8 = 8

◆ modFactor10

const int modFactor10 = 10

◆ publisher_deadline

const int publisher_deadline = 10

◆ publisher_latency

const int publisher_latency = 10000

◆ random_val

const int32_t random_val = 5

◆ shift_1_byte_bits

const uint8_t shift_1_byte_bits = 8

◆ shift_2_byte_bits

const uint8_t shift_2_byte_bits = 16

◆ shift_3_byte_bits

const uint8_t shift_3_byte_bits = 24

◆ uint32_factor

const uint32_t uint32_factor = 4294