Skip to content

PyTask

#include <pyxalgospp/scheduling.hh>
class PyTask

Defined in src/lib/pyxalgospp/scheduling.hh:37

Inherits: Task

A minimal trampoline class for allowing Python Task subclassing with DagScheduler.

Name Kind Owner
attach_python_object function Declared here
release_python_object function Declared here
execute function Declared here
is_generator function Declared here
get_data function Declared here
set_data function Declared here
get_parent function Declared here
set_parent function Declared here
m_py_obj variable Declared here
m_parent_obj variable Declared here
m_data variable Declared here
DagScheduler friend Inherited from Task
execute function Inherited from Task
locality function Inherited from Task
set_locality function Inherited from Task
set_locality_resolver function Inherited from Task
resources function Inherited from Task
set_resources function Inherited from Task
add_dependency function Inherited from Task
is_generator function Inherited from Task
m_locality variable Inherited from Task
m_locality_resolver variable Inherited from Task
m_resources variable Inherited from Task
m_children variable Inherited from Task
m_pending_parents variable Inherited from Task
Kind Name Description
friend DagScheduler
function execute virtual
function locality const inline
function set_locality inline
function set_locality_resolver inline
function resources const inline
function set_resources inline
function add_dependency inline
function is_generator virtual const inline This flag determines whether the Task will generate new sub-DAGs.
variable m_locality
variable m_locality_resolver
variable m_resources
variable m_children
variable m_pending_parents
Return Name Description
void attach_python_object inline
void release_python_object inline
void execute virtual inline override
bool is_generator virtual const inline override This flag determines whether the Task will generate new sub-DAGs.
py::object get_data const inline
void set_data inline
py::object get_parent const inline
void set_parent inline

inline

inline void attach_python_object(py::object obj)

Defined in src/lib/pyxalgospp/scheduling.hh:41


inline

inline void release_python_object()

Defined in src/lib/pyxalgospp/scheduling.hh:47


virtual inline override

virtual inline void execute() override

Defined in src/lib/pyxalgospp/scheduling.hh:61


virtual const inline override

virtual inline bool is_generator() const override

Defined in src/lib/pyxalgospp/scheduling.hh:69

This flag determines whether the Task will generate new sub-DAGs.


const inline

inline py::object get_data() const

Defined in src/lib/pyxalgospp/scheduling.hh:74


inline

inline void set_data(py::object data)

Defined in src/lib/pyxalgospp/scheduling.hh:83


const inline

inline py::object get_parent() const

Defined in src/lib/pyxalgospp/scheduling.hh:85


inline

inline void set_parent(py::object task)

Defined in src/lib/pyxalgospp/scheduling.hh:86

Return Name Description
py::object m_py_obj
py::object m_parent_obj
py::object m_data

py::object m_py_obj

Defined in src/lib/pyxalgospp/scheduling.hh:95


py::object m_parent_obj

Defined in src/lib/pyxalgospp/scheduling.hh:96


py::object m_data

Defined in src/lib/pyxalgospp/scheduling.hh:97