ddt 1.2.1
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions | Variables
ddt Namespace Reference

Classes

class  BiasBuffer
 
class  CommandLineParser
 
class  ConfigurationMaps
 
class  ConfigurationMapsAccess
 
class  ConfigurationMapsAccessFiles
 
class  DataAcquisition
 
class  DataFile
 
struct  DataPacket
 
struct  DataPacketShared
 
struct  DataSample
 
struct  DataSampleShared
 
class  DdtClient
 
class  DdtConnectionManager
 
class  DdtDataConsumer
 
class  DdtDataProducer
 
class  DdtDataPublisher
 
class  DdtDataPublisherApplication
 
class  DdtDataSubscriber
 
class  DdtDataSubscriberApplication
 
class  DdtDataTransferFactory
 
class  DdtDataTransferLib
 
class  DdtLogger
 
class  DdtMemoryAccessor
 
class  DdtMemoryManager
 
class  DdtProducerConsumerBase
 
class  DdtPublisher
 
class  DdtPublisherSimulator
 
class  DdtRemoteClient
 
class  DdtRemoteControl
 
struct  DdtStatistics
 
class  DdtStatisticsClient
 
class  DdtSubscriberSimulator
 
struct  FitsExtension
 
class  ImageBuffer
 
class  ImageColor
 
class  ImageCoords
 
class  ImageHandling
 
class  InformationMaps
 
class  InformationMapsAccess
 
class  InformationMapsAccessFiles
 
struct  scalingLut_t
 
struct  Shm
 

Typedefs

typedef struct ddt::FitsExtension FitsExtension
 
using colorMap_t = std::array<std::array<float, COLOR_MAP_ENTRY_SIZE>, MAX_COLOR_MAP_ENTRIES>
 
using colorMapARGB_t = std::array<unsigned int, MAX_COLOR_MAP_ENTRIES>
 
typedef struct ddt::scalingLut_t scalingLut_t
 

Enumerations

enum  PublisherModes {
  IMAGETRANSFER = 1 , OSCILLOSCOPE = 2 , MULTIDIM = 3 , CONFIGURATIONMAP = 4 ,
  SEGMENTEDIMAGE = 5 , UNSIGNEDINT16 = 6 , UNSIGNEDINT32 = 7
}
 
enum  SubscriberModes {
  IMAGETRANSFER = 1 , OSCILLOSCOPE = 2 , MULTIDIM = 3 , CONFIGURATIONMAP = 4 ,
  SEGMENTEDIMAGE = 5
}
 
enum  CommandLineParserResult { PARSE_OK = 0 , PARSE_OK_WITH_DEBUG , PARSE_HELP , PARSE_ERROR }
 
enum  InitCodes { INIT_OK = 0 , INIT_HELP , INIT_PARSE_ERROR , INIT_ERROR }
 

Functions

 PYBIND11_MODULE (DdtUtils, m)
 Construct a new pybind11 DdtUtils module object.
 
void ddtRegisterMetaTypes ()
 

Variables

constexpr size_t MAX_SCALING_LUT_ENTRIES = 65536
 
constexpr uint MAX_SCALING_LUT_VALUE = 65535
 
constexpr size_t MAX_COLOR_MAP_ENTRIES = 256
 
constexpr size_t MAX_COLOR_MAP_VALUE = 255
 
constexpr size_t COLOR_MAP_ENTRY_SIZE = 3
 
const int NUMERICAL_BASE = 10
 
const int HEARTBEAT_PAUSE_MS = 10
 
const int THREAD_PAUSE_MS = 100
 
const int THREAD_PAUSE_SEC = 1
 
const int WAIT_FOR_CONNECT = 3
 
const int PUBLISH_TIMEOUT = 3
 
const int REGISTRATION_TIMEOUT = 3
 
const int WAIT_FOR_CONNECTION = 10
 
const int META_DATA_LENGTH = 1024
 
const int REPLY_TIME_INFINITE = 86400
 
const int ADDITIONAL_SPACE = 1500
 
const int GUI_DISPLAY_RESULTS_HIGH_PRECISION = 5
 
const int GUI_DISPLAY_RESULTS_LOW_PRECISION = 3
 
const int PUBLISHER_LATENCY_MS = 10000
 
const int PUBLISHER_DEADLINE_SEC = 10
 
const int SUBSCRIBER_LATENCY_MS = 10000
 
const int SUBSCRIBER_DEADLINE_SEC = 10
 

Typedef Documentation

◆ colorMap_t

using ddt::colorMap_t = std::array<std::array<float, COLOR_MAP_ENTRY_SIZE>, MAX_COLOR_MAP_ENTRIES>

Color map type definition. The color map type consists of a 256 element array. Each array element itself consists of an array of 3 float values, where these float values represent the red, green and blue part, all expressed as a value between 0.0 and 1.0)

◆ colorMapARGB_t

using ddt::colorMapARGB_t = std::array<unsigned int, MAX_COLOR_MAP_ENTRIES>

Definition of a color map type containing the RGB values as unsigned int values. This color map type consists of a 256 element array. Each array element itself consists of an unsigned int value, where each values represents an ARGB quadruplet in the form # AARRGBB with AA being the alpha channel that defaults to FF (opaque). The red, green and blue parts are between 0 and 255)

◆ FitsExtension

typedef struct ddt::FitsExtension ddt::FitsExtension

Structure to bundle the main statistic values

◆ scalingLut_t

typedef struct ddt::scalingLut_t ddt::scalingLut_t

The scaling Lookup-Table type definition. The scaling LUT consists of a 65536 element array of uint values. The LUT is used to assign each pixel value another pixel values that e.g. was computed using a logarithmic function. In addition, an offset and a factor are contained. These are used to adjust value ranges that do not fit to the given LUT type and dimension.

Enumeration Type Documentation

◆ CommandLineParserResult

Return values for CommandLineParser::Parse() method

Enumerator
PARSE_OK 
PARSE_OK_WITH_DEBUG 
PARSE_HELP 
PARSE_ERROR 

◆ InitCodes

Enumerator
INIT_OK 
INIT_HELP 
INIT_PARSE_ERROR 
INIT_ERROR 

◆ PublisherModes

The different publisher modes.

Enumerator
IMAGETRANSFER 

Transfer of FITS images

OSCILLOSCOPE 

Transfer of single dimensional array

MULTIDIM 

Transfer of multi dimensional array

CONFIGURATIONMAP 

Configurable Map test scenario

SEGMENTEDIMAGE 

Chunked image test scenario

UNSIGNEDINT16 

Transfer of 16 bit unsinged data

UNSIGNEDINT32 

Transfer of 32 bit unsigned data

◆ SubscriberModes

The different subscriber modes.

Enumerator
IMAGETRANSFER 

Transfer of FITS images

OSCILLOSCOPE 

Transfer of single dimensional array

MULTIDIM 

Transfer of multi dimensional array

CONFIGURATIONMAP 

Configurable Map test scenario

SEGMENTEDIMAGE 

Chunked image test scenario

Function Documentation

◆ ddtRegisterMetaTypes()

void ddt::ddtRegisterMetaTypes ( )

Function to register metatypes required by QObject::connect(..., Qt::QueuedConnection) and QObject.connect(..., Qt.QueuedConnection).

◆ PYBIND11_MODULE()

ddt::PYBIND11_MODULE ( DdtUtils ,
m  )

Construct a new pybind11 DdtUtils module object.

Bindings for the DdtLogger

Bindings for the DdtStatistics

Binding for the ddtRegisterMetaTypes

Variable Documentation

◆ ADDITIONAL_SPACE

const int ddt::ADDITIONAL_SPACE = 1500

Additional space required by boost for creating shared memories (in byte)

◆ COLOR_MAP_ENTRY_SIZE

constexpr size_t ddt::COLOR_MAP_ENTRY_SIZE = 3
constexpr

◆ GUI_DISPLAY_RESULTS_HIGH_PRECISION

const int ddt::GUI_DISPLAY_RESULTS_HIGH_PRECISION = 5

Number of decimals using to display double and float results in GUI - high precision

◆ GUI_DISPLAY_RESULTS_LOW_PRECISION

const int ddt::GUI_DISPLAY_RESULTS_LOW_PRECISION = 3

Number of decimals using to display double and float results in GUI - low precision

◆ HEARTBEAT_PAUSE_MS

const int ddt::HEARTBEAT_PAUSE_MS = 10

Pause for the hearbeat thread

◆ MAX_COLOR_MAP_ENTRIES

constexpr size_t ddt::MAX_COLOR_MAP_ENTRIES = 256
constexpr

◆ MAX_COLOR_MAP_VALUE

constexpr size_t ddt::MAX_COLOR_MAP_VALUE = 255
constexpr

◆ MAX_SCALING_LUT_ENTRIES

constexpr size_t ddt::MAX_SCALING_LUT_ENTRIES = 65536
constexpr

◆ MAX_SCALING_LUT_VALUE

constexpr uint ddt::MAX_SCALING_LUT_VALUE = 65535
constexpr

◆ META_DATA_LENGTH

const int ddt::META_DATA_LENGTH = 1024

Length of the meta data field in the data sample

◆ NUMERICAL_BASE

const int ddt::NUMERICAL_BASE = 10

Specifies the numerical base for conversion functions, e.g. strtol or strtoull.

◆ PUBLISH_TIMEOUT

const int ddt::PUBLISH_TIMEOUT = 3

Timeout for publishing

◆ PUBLISHER_DEADLINE_SEC

const int ddt::PUBLISHER_DEADLINE_SEC = 10

Defaul deadline for the ddtPublisherSimulator

◆ PUBLISHER_LATENCY_MS

const int ddt::PUBLISHER_LATENCY_MS = 10000

Default latency for the ddtPublisherSimulator

◆ REGISTRATION_TIMEOUT

const int ddt::REGISTRATION_TIMEOUT = 3

Timeout for registration

◆ REPLY_TIME_INFINITE

const int ddt::REPLY_TIME_INFINITE = 86400

Reply time for MAL clients if infinite is specified (24 h in seconds)

◆ SUBSCRIBER_DEADLINE_SEC

const int ddt::SUBSCRIBER_DEADLINE_SEC = 10

Defaul deadline for the DdtSubscriberSimulator

◆ SUBSCRIBER_LATENCY_MS

const int ddt::SUBSCRIBER_LATENCY_MS = 10000

Default latency for the DdtSubscriberSimulator

◆ THREAD_PAUSE_MS

const int ddt::THREAD_PAUSE_MS = 100

Short pause for threads

◆ THREAD_PAUSE_SEC

const int ddt::THREAD_PAUSE_SEC = 1

Long pause for threads

◆ WAIT_FOR_CONNECT

const int ddt::WAIT_FOR_CONNECT = 3

Time in seconds to wait for connection.

◆ WAIT_FOR_CONNECTION

const int ddt::WAIT_FOR_CONNECTION = 10

Time to wait for connection