GetInputObject (Daemon subroutine): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Syntax terms) |
||
Line 10: | Line 10: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%(Daemon)</th> | <tr><th>%(Daemon)</th> | ||
<td>The class name in parentheses denotes a shared method. | <td>The class name in parentheses denotes a shared method. <var>GetInputObject</var> can also be invoked via a <var>Daemon</var> object variable, which may be null.</td></tr> | ||
<tr><th>%inputObj</th> | <tr><th>%inputObj</th> | ||
<td>The object passed to the daemon method object in the last Run method invocation. '''%inputObj''' must be deep copyable, as described in [[Copying objects]].</td></tr> | <td>The object passed to the daemon method object in the last Run method invocation. '''%inputObj''' must be deep copyable, as described in [[Copying objects]].</td></tr> |
Revision as of 21:15, 1 March 2011
Retrieve input object passed by master thread (Daemon class)
GetInputObject is a member of the Daemon class
This shared method retrieves the input object passed by the master thread (in the second argument of the Run method) and makes it available to the daemon.
Syntax
%(Daemon):GetInputObject( object)
Syntax terms
%(Daemon) | The class name in parentheses denotes a shared method. GetInputObject can also be invoked via a Daemon object variable, which may be null. |
---|---|
%inputObj | The object passed to the daemon method object in the last Run method invocation. %inputObj must be deep copyable, as described in Copying objects. |
Usage notes
- GetInputObject may not be issued on a master thread.
- If the input object passed by the Run method does not match the %inputObj argument of GetInputObject, the request containing GetInputObject is cancelled.
- GetInputObject sets its argument to null if no object or a null object is passed by Run, and subsequent references to that object cancel the request.