C++ wrapper for Python asyncio.Future
class.
More...
#include <PyEventLoop.hh>
◆ Future() [1/3]
PyEventLoop::Future::Future |
( |
PyObject * |
future | ) |
|
|
explicit |
◆ Future() [2/3]
◆ Future() [3/3]
PyEventLoop::Future::Future |
( |
Future && |
old | ) |
|
◆ ~Future()
PyEventLoop::Future::~Future |
( |
| ) |
|
◆ addDoneCallback()
void PyEventLoop::Future::addDoneCallback |
( |
PyObject * |
cb | ) |
|
◆ getException()
PyObject * PyEventLoop::Future::getException |
( |
| ) |
|
◆ getFutureObject()
PyObject * PyEventLoop::Future::getFutureObject |
( |
| ) |
const |
Get the underlying asyncio.Future
Python object.
◆ getResult()
PyObject * PyEventLoop::Future::getResult |
( |
| ) |
|
◆ isCancelled()
bool PyEventLoop::Future::isCancelled |
( |
| ) |
|
◆ setException()
void PyEventLoop::Future::setException |
( |
PyObject * |
exception | ) |
|
◆ setResult()
void PyEventLoop::Future::setResult |
( |
PyObject * |
result | ) |
|
◆ _future
PyObject* PyEventLoop::Future::_future |
|
protected |
The documentation for this struct was generated from the following files: