Closed m8pple closed 3 years ago
I guess the SupervisorOutPin
replaces post
? Or does/did post have a different meaning, e.g.
injecting in to the MPI world?
The note
The supervisor API exposes a set of functions that can be called from supervisor handler (as described in the application definition document)
refers to one of the changes in this PR: https://github.com/POETSII/orchestrator-documentation/pull/9, which has just been approved (and merged).
You'll find calls to stop
, get_output_directory
, and post
referenced therein.
Great, I'll close and then come back to it if nesc. in a more holistic view of 1.0.0-alpha.
Section 5.1 of the stable documentation says:
However, the things that it describes, like
get_safe_directory
,message_leader
,supervisor_broadcast
don't seem to exist. I can't find them anywhere in the master branch or in 1.0.0-alpha.There is a different API described in 1.0.0-alpha docs. This has things like
post
,stop_application
, andget_output_directory
, which I can find inSupervisorAPI.h
in the 1.0.0-alpha supervisor branch. However, it saysThe supervisor API exposes a set of functions that can be called from supervisor handler (as described in the application definition document)
, but I'm not sure which document (or version of document) it means. I looked at:and I couldn't find calls to
stop
,get_output_directory
, orpost
. There is a discussion of a newOnStop
handler, but that seems to be more to react to the user calling stop in the UI. I couldn't see any discussion of how a supervisor sends messages to a device (which I think was the intent ofpost
?)