Tomographer  v5.4
Tomographer C++ Framework Documentation
tpy::WorkerStatusReport Struct Reference

Report of the status of a single worker. More...

#include <py/cxx/tomographerpy/pymultiproc.h>

Public Attributes

int worker_id
 Unique identifier of the worker.
 
py::float_ fraction_done
 Fraction of the job done for this worker (0.0 to 1.0)
 
py::str msg
 Human-readable message summarizing the status of this worker.
 
py::dict data
 Additional task-specific data; see also PyStatusReportAddWorkerDataFields.
 

Detailed Description

Report of the status of a single worker.

Provides basic information, such as worker_id, fraction of the work done (fraction_done), and a human-readable message (msg), but also task-specific data stored in the dictionary data. Anything can be stored in data, this should be documented by the function or class which emits the status reports.

Definition at line 53 of file pymultiproc.h.


The documentation for this struct was generated from the following file: