ddt 1.2.1
|
Python bindings for the data broker component. More...
#include "ddt/ddtDataBroker.hpp"
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
#include <cstring>
Functions | |
ddt::InitCodes | init_helper (DdtDataBroker &self, std::vector< std::string > &arguments) |
Helper method for calling DdtDataBroker::Init(int argc, char** argv). | |
PYBIND11_MODULE (DdtDataBroker, m) | |
Construct a new pybind11 module object. | |
Python bindings for the data broker component.
ddt::InitCodes init_helper | ( | DdtDataBroker & | self, |
std::vector< std::string > & | arguments ) |
Helper method for calling DdtDataBroker::Init(int argc, char** argv).
This method casts the entries of arguments of type std::string to char arrays and stores them in another array. This is important for having a '\0' at the end of each entry.
self | The DdtDataBroker class which implements the Init method. |
arguments | The arguments with which the broker is to be started. |
PYBIND11_MODULE | ( | DdtDataBroker | , |
m | ) |
Construct a new pybind11 module object.