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 std::shared_ptr<::ucxx::Future> createFuture(std::shared_ptr<::ucxx::Notifier> notifier);
23 
24 std::shared_ptr<::ucxx::Future> createFutureWithEventLoop(
25  PyObject* asyncioEventLoop, std::shared_ptr<::ucxx::Notifier> notifier);
26 
27 std::shared_ptr<::ucxx::Notifier> createNotifier();
28 
29 std::shared_ptr<::ucxx::Worker> createWorker(std::shared_ptr<ucxx::Context> context,
30  const bool enableDelayedSubmission,
31  const bool enableFuture);
32 
33 } // namespace python
34 
35 } // namespace ucxx
Definition: address.h:15
std::shared_ptr< Worker > createWorker(std::shared_ptr< Context > context, const bool enableDelayedSubmission, const bool enableFuture)