Tomographer  v2.0
Tomographer C++ Framework Documentation
TaskCData Interface

This is a ‘type interface.’ See Type Interfaces for more info on what that is.

This type is meant to store all constant, shared data which may be accessed by the tasks while they run. It also provides the inputs to the tasks.

Note that the TaskCData type interface is only used if you use the ‘low-level’ task interface and implement the tasks yourself. If you use the higher-level Tomographer::MHRWTasks or Tomographer::MHRWTasks::ValueHistogramTasks, your CData-type class should inherit the respective CData classes for those.

InputType getTaskInput(unsigned int k) const
Provide input to a new task. k is the task iteration number and pcdata is a pointer to the shared const data.
The return value may be any type. It will be passed directly to the first argument of the constructor.