OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
JobController.hpp File Reference
#include <functional>
#include <string>
Include dependency graph for JobController.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::sla::JobController
 A Control structure for the support calculation. Consists of the status indicator callback and the stop condition predicate. More...

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::sla

Class Documentation

◆ Slic3r::sla::JobController

struct Slic3r::sla::JobController

A Control structure for the support calculation. Consists of the status indicator callback and the stop condition predicate.

Class Members
typedef function< void(void)> CancelFn std::function<void(void)>
typedef function< void(unsigned, const string &)> StatusFn std::function<void(unsigned, const std::string&)>
typedef function< bool(void)> StopCond std::function<bool(void)>
Class Members
CancelFn cancelfn = [](){}
StatusFn statuscb = [](unsigned, const std::string&){}
StopCond stopcondition = [](){ return false; }