What the card's task gives the runner: the card, the bench as it stands, CANCEL, the progress, the look at the slot, and the room of one chunk.
More...
#include <fm_req.h>
|
| const fm_io_t * | io |
| void(*) | bench (fm_bench_t *out, void *ctx) |
| | The bench now: ARMED, the logger's open files, the IOmcu link. The runner sets the log folders from the request after it.
|
| bool(*) | cancelled (void *ctx) |
| | Whether CANCEL was pressed since the request was handed over.
|
| void(*) | progress (uint64_t done, uint64_t total, void *ctx) |
| | A job's bytes done after a step, for the progress box; may be NULL.
|
| void(*) | look (void *ctx) |
| | Look at the slot, for a request with look set; may be NULL.
|
| uint8_t * | chunk |
| size_t | size |
| void * | ctx |
What the card's task gives the runner: the card, the bench as it stands, CANCEL, the progress, the look at the slot, and the room of one chunk.
◆ bench
The bench now: ARMED, the logger's open files, the IOmcu link. The runner sets the log folders from the request after it.
- Parameters
-
| out | takes the bench; its pointers have to outlive the step |
| ctx | the runner's context |
◆ cancelled
| bool(*) fm_runner_t::cancelled(void *ctx) |
Whether CANCEL was pressed since the request was handed over.
- Parameters
-
- Returns
- true to stop the job at its next chunk
◆ chunk
| uint8_t* fm_runner_t::chunk |
room for one chunk of a copy
◆ ctx
◆ io
◆ look
| void(*) fm_runner_t::look(void *ctx) |
Look at the slot, for a request with look set; may be NULL.
- Parameters
-
◆ progress
| void(*) fm_runner_t::progress(uint64_t done, uint64_t total, void *ctx) |
A job's bytes done after a step, for the progress box; may be NULL.
- Parameters
-
| done | bytes done |
| total | bytes to do; 0 for a single call |
| ctx | the runner's context |
◆ size
bytes chunk takes; FM_CHUNK on the panel
The documentation for this struct was generated from the following file: