Tomographer  v5.2
Tomographer C++ Framework Documentation
tpy::PyStatusReportAddWorkerDataFields< TaskType > Struct Template Reference

C++ utility to populate the data field of a WorkerStatusReport for a given TaskType. More...

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

Static Public Member Functions

static void addDataFields (py::dict &, const typename TaskType::StatusReportType &)
 Add fields to the given dict, from a status report sent in by a TaskType. The default implementation does nothing.
 

Detailed Description

template<typename TaskType>
struct tpy::PyStatusReportAddWorkerDataFields< TaskType >

C++ utility to populate the data field of a WorkerStatusReport for a given TaskType.

Specialize this class template to all requested Task Interface types in order to provide meaningful status reports.

This class should provide a single static member, which should add fields to a dictionary based on a status report emanating from that task type.

Definition at line 111 of file pymultiproc.h.


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