ChimeraTK-ApplicationCore 04.06.00
Loading...
Searching...
No Matches
PyReadAnyGroup.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Deutsches Elektronen-Synchrotron DESY, MSK, ChimeraTK Project <chimeratk-support@desy.de>
2// SPDX-License-Identifier: LGPL-3.0-or-later
3#pragma once
4
5#include <pybind11/pybind11.h>
6// pybind11.h must come first
7
8#include "PyTransferElement.h"
9
10#include <ChimeraTK/ReadAnyGroup.h>
11
12namespace py = pybind11;
13
14namespace ChimeraTK {
15
16 /********************************************************************************************************************/
17
19 public:
20 PyReadAnyGroup() = default;
21
22 PyReadAnyGroup(ReadAnyGroup&& other);
23
24 PyReadAnyGroup(py::args args);
25
26 void readUntil(const TransferElementID& tid);
27
28 void add(PyTransferElementBase& acc);
29
31
32 void readUntilAll(py::args args);
33
34 TransferElementID readAny();
35
36 TransferElementID readAnyNonBlocking();
37
38 void finalise() { _impl.finalise(); }
39
40 void interrupt() { _impl.interrupt(); }
41
42 static void bind(py::module& mod);
43
44 protected:
45 ReadAnyGroup _impl;
46 };
47
48 /********************************************************************************************************************/
49
50} // namespace ChimeraTK
void readUntil(const TransferElementID &tid)
void readUntilAll(py::args args)
void readUntilAccessor(PyTransferElementBase &acc)
void add(PyTransferElementBase &acc)
TransferElementID readAny()
TransferElementID readAnyNonBlocking()
static void bind(py::module &mod)
InvalidityTracer application module.
module_ module