|
Gocator API
|
Represents a script tool.
Inheritance diagram for GoScript:Public Member Functions | |
| kStatus | GoScript_AddOutput (GoScript tool, k32u id) |
| Adds a script output. More... | |
| kStatus | GoScript_Code (GoScript tool, kChar **code) |
| Gets the code for the script. More... | |
| GoScriptOutput | GoScript_OutputAt (GoScript tool, kSize index) |
| Returns a handle to a script output at the given index. More... | |
| kSize | GoScript_OutputCount (GoScript tool) |
| Returns the count of script tool outputs. More... | |
| kStatus | GoScript_RemoveOutput (GoScript tool, k32u id) |
| Removes a script output with the specific ID. More... | |
| kStatus | GoScript_SetCode (GoScript tool, kChar *code) |
| Sets the code for the script. More... | |
| GoMeasurement | GoTool_FindMeasurementByType (GoTool tool, GoMeasurementType type) |
| Retrieves the first found instance of a measurement for a given enumeration type. More... | |
| GoMeasurement | GoTool_MeasurementAt (GoTool tool, kSize index) |
| Retrieves the measurement at the given index. More... | |
| kSize | GoTool_MeasurementCount (GoTool tool) |
| Returns the measurement count. More... | |
| kStatus | GoTool_Name (GoTool tool, kChar *name, kSize capacity) |
| Retrieves the name of the tool. More... | |
| kStatus | GoTool_SetName (GoTool tool, const kChar *name) |
| Sets the name of the tool. More... | |
| GoToolType | GoTool_Type (GoTool tool) |
| Retrieves the tool type enumeration value of the tool. More... | |
| kStatus GoScript_AddOutput | ( | GoScript | tool, |
| k32u | id | ||
| ) |
Adds a script output.
| tool | GoScript object. |
| id | An ID(must not already be used by other measurements) of the script output to add. |
| kStatus GoScript_Code | ( | GoScript | tool, |
| kChar ** | code | ||
| ) |
Gets the code for the script.
| tool | GoScript object. |
| code | Receives a null-terminated string containing the script code. |
| GoScriptOutput GoScript_OutputAt | ( | GoScript | tool, |
| kSize | index | ||
| ) |
Returns a handle to a script output at the given index.
| tool | GoScript object. |
| index | The index with which to return a corresponding script output. |
| kSize GoScript_OutputCount | ( | GoScript | tool | ) |
Returns the count of script tool outputs.
| tool | GoScript object. |
| kStatus GoScript_RemoveOutput | ( | GoScript | tool, |
| k32u | id | ||
| ) |
Removes a script output with the specific ID.
| tool | GoScript object. |
| id | An ID of the script output to remove. |
| kStatus GoScript_SetCode | ( | GoScript | tool, |
| kChar * | code | ||
| ) |
Sets the code for the script.
| tool | GoScript object. |
| code | The code to set. |
|
inherited |
Retrieves the first found instance of a measurement for a given enumeration type.
| tool | GoTool object. |
| type | A GoMeasurementType representing the measurement type to find in the given tool. |
|
inherited |
Retrieves the measurement at the given index.
| tool | GoTool object. |
| index | The index of the measurement. |
|
inherited |
|
inherited |
Retrieves the name of the tool.
| tool | GoTool object. |
| name | Receives the name of the tool. |
| capacity | The maximum capacity of the name array. |
|
inherited |
Sets the name of the tool.
| tool | GoTool object. |
| name | The name to be set for the tool. |
|
inherited |
Retrieves the tool type enumeration value of the tool.
| tool | GoTool object. |