Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
mm::AutoTuningStartup Struct Reference

The startup outcome, as the HTTP layer needs it. More...

#include <auto_tuning_setup.h>

Collaboration diagram for mm::AutoTuningStartup:
[legend]

Public Attributes

auto_tuning::Status status
 
std::optional< auto_tuning::Clientclient
 

Detailed Description

The startup outcome, as the HTTP layer needs it.

Member Data Documentation

◆ client

std::optional<auto_tuning::Client> mm::AutoTuningStartup::client

Bound to the running process, and left empty when there is none: an unset callback is how the routes answer 503 without naming any of this.

◆ status

auto_tuning::Status mm::AutoTuningStartup::status

The snapshot GET /api/auto-tuning serves. A page needs to tell the four states apart — switched off, not installed, would not start, running — because each asks something different of the person reading it.


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