mvm_gui_try_get_message — Try to get a message from the message loop of a server.
mvm_gui_try_get_message( : PayloadObject : ServerHandle : ConnectionHandle, Id, PayloadClass, PayloadTuple)
Try to get a message from the message loop of a server. This is a non-blocking call that returns immediately.
In error cases or if no message is available, an empty ConnectionHandle and empty Id will be returned.
If a payload is attached to this message (see parameter PayloadClass), the payload is returned in PayloadObject or PayloadTuple.
Returned tuples in PayloadTuple may be an empty array or an array containing only integers, floats, or strings. Especially, the sender is not
allowed to send for example null, an array of arrays or undefined values.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
This operator modifies the state of the following input parameter:
The value of this parameter may not be shared across multiple threads without external synchronization.
PayloadObject (output_object) image(-array) → object
object payload if PayloadClass is 'image', 'region', 'xld_cont', 'xld_poly', or 'xld_parallel'
ServerHandle (input_control, state is modified) serial → (handle)
GUI server handle
ConnectionHandle (output_control) socket → (handle)
the connection handle corresponding to the message. Might be empty if an error occurred.
Id (output_control) proc_name → (string)
a GUI Id. Predefined messages start with __.
PayloadClass (output_control) string → (string)
class of the attached payload. May be 'none', 'tuple', 'image', 'region', 'xld_cont', 'xld_poly', or 'xld_parallel'
PayloadTuple (output_control) integer(-array) → (string / integer / real)
tuple payload if PayloadClass is 'tuple'
mvm_gui_get_message,
mvm_gui_get_ui
Foundation