ddt 1.2.1
Loading...
Searching...
No Matches
Classes
pyDdtDataTransfer.cpp File Reference

Python bindings for the data transfer component. More...

#include <boost/bind.hpp>
#include <boost/interprocess/containers/vector.hpp>
#include <boost/signals2/signal.hpp>
#include <boost/signals2/slot.hpp>
#include <log4cplus/logger.h>
#include "ddt/ddtDataPublisher.hpp"
#include "ddt/ddtDataSubscriber.hpp"
#include "ddt/ddtEncDec.hpp"
#include "ddt/ddtEncDecImage2D.hpp"
#include "pybind11/functional.h"
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
#include "ddt/ddtEncDecBinaryxD.hpp"
#include "ddt/ddtEncDecImage3D.hpp"

Classes

class  PyEncDec
 Trampoline class for adding bindings for DdtEncDec. This class is neccessary for adding bindings for the class DdtEncDec, since it adds bindings for virtual methods. More...
 
#define BOOST_BIND_GLOBAL_PLACEHOLDERS
 
class __attribute__ ((visibility("hidden"))) PySlot
 Python slot for connecting to the DataAvailable signal.
 
boost::signals2::connection connect_slot_helper (ddt::DdtDataSubscriber &self, py::object object)
 Helper method for connecting the python slot to the DataAvailable signal.
 
 PYBIND11_MODULE (DdtDataTransfer, m)
 Construct a new pybind11 module object.
 

Detailed Description

Python bindings for the data transfer component.

Author
Michael Lenz, CGI
Monika Pfeil, CGI
Since
2020/09/03

Macro Definition Documentation

◆ BOOST_BIND_GLOBAL_PLACEHOLDERS

#define BOOST_BIND_GLOBAL_PLACEHOLDERS

Function Documentation

◆ __attribute__()

class __attribute__ ( (visibility("hidden")) )

Python slot for connecting to the DataAvailable signal.

This slot takes care of the GIL which is necessary for connecting a Python method to a C++ signal.

◆ connect_slot_helper()

boost::signals2::connection connect_slot_helper ( ddt::DdtDataSubscriber & self,
py::object object )

Helper method for connecting the python slot to the DataAvailable signal.

Parameters
selfThe DdtDataSubscriber class which implements the connect method.
objectThe function to be called when the event occurs.

◆ PYBIND11_MODULE()

PYBIND11_MODULE ( DdtDataTransfer ,
m  )

Construct a new pybind11 module object.

Wrapper class for boost::vector bindings

Wrapper class for boost::signal2 Connection bindings

Wrapper class for the DataSample

Meta-data for Wcs Information reference_point_x is the x location of the reference pixel reference_point_y is the y location of the reference pixel ra_reference_point defines the right ascension of the reference pixel dec_reference_point defines the declination of the reference pixel arcsec_pixel_x resolution in arcseconds in x direction arcsec_pixel_y resolution in arcseconds in y direction rotation_x_axis rotation angle of the x axis for the image cd1_1 is the partial of first axis coordinate w.r.t. x cd1_2 is the partial of first axis coordinate w.r.t. y cd2_1 is the partial of second axis coordinate w.r.t. x cd2_2 is the partial of second axis coordinate w.r.t. y epoch_equinox epoch time for the coordinates type_1 indicates the coordinate type and projection type_2 indicates the coordinate type and projection

Base Meta-data for all data samples

Bindings for the class DdtEncDec.

Bindings for the class for Encoding and Decoding the meta data for 2-Dimensional image data.

Bindings for the class DdtEncDecImage2D.

Bindings for the class for Encoding and Decoding the meta data for binary multi-dimensional data.

Bindings for the class DdtEncDecBinaryxD.

Bindings for the class for Encoding and Decoding the meta data for Multi-Layer data.

Bindings for the class DdtEncDecImage3D.