All Classes Namespaces Functions Variables Typedefs Enumerations Friends
constructors.h
1 
5 #pragma once
6 
7 #include <memory>
8 
9 #include <Python.h>
10 
11 #include <ucxx/buffer.h>
12 
13 namespace ucxx {
14 
15 class Context;
16 class Future;
17 class Notifier;
18 class Worker;
19 
20 namespace python {
21 
22 [[nodiscard]] std::shared_ptr<::ucxx::Future> createFuture(
23  std::shared_ptr<::ucxx::Notifier> notifier);
24 
25 [[nodiscard]] std::shared_ptr<::ucxx::Future> createFutureWithEventLoop(
26  PyObject* asyncioEventLoop, std::shared_ptr<::ucxx::Notifier> notifier);
27 
28 [[nodiscard]] std::shared_ptr<::ucxx::Notifier> createNotifier();
29 
30 [[nodiscard]] std::shared_ptr<::ucxx::Worker> createWorker(std::shared_ptr<ucxx::Context> context,
31  const bool enableDelayedSubmission,
32  const bool enableFuture);
33 
34 } // namespace python
35 
36 } // namespace ucxx
Definition: address.h:15
std::shared_ptr< Worker > createWorker(std::shared_ptr< Context > context, const bool enableDelayedSubmission, const bool enableFuture)