PyTask
PyTask
Section titled “PyTask”#include <pyxalgospp/scheduling.hh>class PyTaskDefined in src/lib/pyxalgospp/scheduling.hh:37
Inherits:
Task
A minimal trampoline class for allowing Python Task subclassing with DagScheduler.
List of all members
Section titled “List of all members”| 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 |
Inherited from Task
Section titled “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 |
Public Methods
Section titled “Public Methods”| 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 |
attach_python_object
Section titled “attach_python_object”inline
inline void attach_python_object(py::object obj)Defined in src/lib/pyxalgospp/scheduling.hh:41
release_python_object
Section titled “release_python_object”inline
inline void release_python_object()Defined in src/lib/pyxalgospp/scheduling.hh:47
execute
Section titled “execute”virtual inline override
virtual inline void execute() overrideDefined in src/lib/pyxalgospp/scheduling.hh:61
Reimplements
Section titled “Reimplements”is_generator
Section titled “is_generator”virtual const inline override
virtual inline bool is_generator() const overrideDefined in src/lib/pyxalgospp/scheduling.hh:69
This flag determines whether the Task will generate new sub-DAGs.
Reimplements
Section titled “Reimplements”get_data
Section titled “get_data”const inline
inline py::object get_data() constDefined in src/lib/pyxalgospp/scheduling.hh:74
set_data
Section titled “set_data”inline
inline void set_data(py::object data)Defined in src/lib/pyxalgospp/scheduling.hh:83
get_parent
Section titled “get_parent”const inline
inline py::object get_parent() constDefined in src/lib/pyxalgospp/scheduling.hh:85
set_parent
Section titled “set_parent”inline
inline void set_parent(py::object task)Defined in src/lib/pyxalgospp/scheduling.hh:86
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
py::object |
m_py_obj |
|
py::object |
m_parent_obj |
|
py::object |
m_data |
m_py_obj
Section titled “m_py_obj”py::object m_py_objDefined in src/lib/pyxalgospp/scheduling.hh:95
m_parent_obj
Section titled “m_parent_obj”py::object m_parent_objDefined in src/lib/pyxalgospp/scheduling.hh:96
m_data
Section titled “m_data”py::object m_dataDefined in src/lib/pyxalgospp/scheduling.hh:97