|
Gocator API
|
Represents a collection of tools.
Inherits kObject.
Public Member Functions | |
| kStatus | GoTools_AddTool (GoTools tools, GoToolType type, GoTool *tool) |
| Adds a tool and returns a handle to it. More... | |
| kStatus | GoTools_AssignMeasurementId (GoTools tools, GoMeasurement measurement) |
| Automatically update a given measurement to use a valid ID within the set of tools contained in the GoTools object. More... | |
| kStatus | GoTools_ClearTools (GoTools tools) |
| Removes all tools in the given GoTools instance. More... | |
| GoMeasurement | GoTools_FindMeasurementById (GoTool tools, k32u id) |
| Returns an enabled measurement handle if the specified ID is valid. More... | |
| kStatus | GoTools_RemoveTool (GoTools tools, kSize index) |
| Removes a tool at the given index. More... | |
| GoTool | GoTools_ToolAt (GoTools tools, kSize index) |
| Returns a tool handle at the given index. More... | |
| kSize | GoTools_ToolCount (GoTools tools) |
| Returns the current number of tools. More... | |
| kStatus GoTools_AddTool | ( | GoTools | tools, |
| GoToolType | type, | ||
| GoTool * | tool | ||
| ) |
Adds a tool and returns a handle to it.
| tools | GoTools object. |
| type | The tool type enumerator value representing the type of tool to add. |
| tool | A pointer to the newly added tool. |
| kStatus GoTools_AssignMeasurementId | ( | GoTools | tools, |
| GoMeasurement | measurement | ||
| ) |
Automatically update a given measurement to use a valid ID within the set of tools contained in the GoTools object.
| tools | GoTools object. |
| measurement | GoMeasurement object to update. |
| kStatus GoTools_ClearTools | ( | GoTools | tools | ) |
| GoMeasurement GoTools_FindMeasurementById | ( | GoTool | tools, |
| k32u | id | ||
| ) |
Returns an enabled measurement handle if the specified ID is valid.
| tools | GoTools object. |
| id | The measurement ID to search for. |
| kStatus GoTools_RemoveTool | ( | GoTools | tools, |
| kSize | index | ||
| ) |
Removes a tool at the given index.
| tools | GoTools object. |
| index | The index with which to remove a tool. |
Returns a tool handle at the given index.
| tools | GoTools object. |
| index | The index with which to retrieve a tool. |
| kSize GoTools_ToolCount | ( | GoTools | tools | ) |