Skip to main content

Module action

Module action 

Source
Expand description

The closed vocabulary an actor may ask for, and the record of one request.

PrintAction has no arbitrary-command variant, no G-code field and no escape hatch, which is the whole point of the vocabulary being closed: it is the reason an agent is allowed near a machine that can destroy itself. The only free-form text any variant carries is the reason every action carries, and the only caller-supplied text that reaches the printer’s own file API is a FileName, which validates itself.

Filtration is deliberately not a variant: nobody has yet confirmed that the target printer exposes filtration through OctoPrint at all, and an action the machine cannot perform is one an agent can call that silently does nothing.

Structs§

ActionRecord
One request, the decision taken on it, and what became of it.
ActionRequest
One request an actor made, at the instant it made it.

Enums§

AcknowledgementDisposition
What an operator’s acknowledgement of a failure event asks for next.
ActionKind
One action of the closed vocabulary, named without its payload.
Actor
Who asked for something.
ActorClass
An actor class, which is what a safety envelope grants actions to.
ExecutionOutcome
What happened when an accepted action reached the printer.
PrintAction
The whole vocabulary an actor may ask for, and there is no other.