|
| void | mm::node::to_json (nlohmann::json &j, const ProgressStep &step) |
| |
| std::vector< ProgressStep > | mm::node::stepsFrom (std::initializer_list< std::string_view > ids) |
| | A procedure's step template: the given ids, in order, all idle.
|
| |
| ProcedureSnapshot | mm::node::idleSnapshot (std::vector< ProgressStep > steps) |
| | A well-formed snapshot for a procedure that never ran — idle, no timestamps, and every step idle from steps.
|
| |
| void | mm::node::to_json (nlohmann::json &j, const ProcedureSnapshot &snapshot) |
| |
| void | mm::node::to_json (nlohmann::json &j, const ParameterOption &option) |
| |
| void | mm::node::to_json (nlohmann::json &j, const ProcedureParameter ¶meter) |
| |
| ProcedureParameter | mm::node::integerParameter (std::string name, std::string title, std::string description, nlohmann::json defaultValue, int64_t minValue, int64_t maxValue) |
| | A whole-number parameter accepting minValue to maxValue inclusive.
|
| |
| ProcedureParameter | mm::node::booleanParameter (std::string name, std::string title, std::string description, nlohmann::json defaultValue) |
| | A true/false parameter. defaultValue as in integerParameter.
|
| |
| ProcedureParameter | mm::node::enumParameter (std::string name, std::string title, std::string description, nlohmann::json defaultValue, std::vector< ParameterOption > options) |
| | A parameter whose value is one of options. defaultValue as in integerParameter, and it should be one of the option values.
|
| |
| ProcedureParameter | mm::node::byteArrayParameter (std::string name, std::string title, std::string description, size_t length) |
| | A parameter taking exactly length byte values.
|
| |
| ProcedureParameter | mm::node::stringParameter (std::string name, std::string title, std::string description, nlohmann::json defaultValue) |
| | A free-text parameter. defaultValue as in integerParameter.
|
| |
| ProcedureParameter | mm::node::stringArrayParameter (std::string name, std::string title, std::string description, nlohmann::json defaultValue) |
| | A parameter taking a list of strings, which the client renders as an editable list.
|
| |
| ProcedureParameter | mm::node::fileParameter (std::string name, std::string title, std::string description, nlohmann::json defaultValue) |
| | A parameter carrying a whole file, base64-encoded in a JSON string.
|
| |
| void | mm::node::to_json (nlohmann::json &j, const ProcedureDescriptor &descriptor) |
| |