ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
stage_bridge.hpp File Reference
#include "../global-params.hpp"
#include <reusex/pipeline/stages.hpp>
#include <fmt/format.h>
#include <nlohmann/json.hpp>
#include <functional>
#include <string>
#include <string_view>
#include <type_traits>
Include dependency graph for stage_bridge.hpp:

Go to the source code of this file.

Classes

class  rux::StageParams
 Accumulates stage parameters as a JSON object. More...

Namespaces

namespace  rux

Typedefs

using rux::StageParamsSink
 Receives a subcommand's stage parameters instead of running the stage.

Functions

int rux::exit_code_for (const reusex::pipeline::StageResult &result)
 Map a library stage outcome onto a rux exit code.
void rux::set_stage_params_sink (StageParamsSink sink)
 Test seam for "Kopiér som rux-kommando" (Qt client): while a sink is set, rux create clouds|planes|rooms|instances|mesh and rux optimize hand the parameters their flags produced to it and do nothing else — no project is opened.
bool rux::capture_stage_params (std::string_view stage, const std::string &params)
 Called by each stage subcommand before it runs: true when a sink took params (the subcommand must then return without running).