Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
GdkToolOutput.h
Go to the documentation of this file.
1 /**
2 * @file GdkToolOutput.h
3 * @brief Declares the GdkToolOutput class.
4 *
5 * Copyright (C) 2015 by LMI Technologies Inc. All rights reserved.
6 */
7 #ifndef GDK_TOOL_OUTPUT_H
8 #define GDK_TOOL_OUTPUT_H
9 
10 #include <Gdk/GdkDef.h>
11 #include <Gdk/Data/GdkGraphic.h>
12 
13 kBeginHeader()
14 
15 /**
16 * Represents a tool output collection.
17 *
18 * @class GdkToolOutput
19 * @extends kObject
20 * @ingroup Gdk-Tools
21 */
22 typedef kObject GdkToolOutput;
23 kDeclareClass(Gdk, GdkToolOutput, kObject)
24 kDeclareValue(Gdk, GdkToolOutputItem, kValue)
25 
26 /**
27 * Sets the measurement output at a specified index.
28 *
29 * @public @memberof GdkToolOutput
30 * @param output Output object.
31 * @param index Measurement index within the tool.
32 * @param value Output value.
33 * @param decision Output decision.
34 * @return Operation status.
35 */
36 GdkFx(kStatus) GdkToolOutput_SetResult(GdkToolOutput output, kSize index, k64f value, GdkMeasurementDecision decision);
37 
38 /**
39 * Sets the measurement rendering at a specified index.
40 *
41 * @public @memberof GdkToolOutput
42 * @param output Output object.
43 * @param index Measurement index within the tool.
44 * @param graphic GdkGraphic object (ownership is transferred).
45 * @return Operation status.
46 */
47 GdkFx(kStatus) GdkToolOutput_SetRendering(GdkToolOutput output, kSize index, GdkGraphic graphic);
48 
49 kEndHeader()
50 
51 #endif
Essential Gdk declarations.
kObject kValue kStatus GdkToolOutput_SetResult(GdkToolOutput output, kSize index, k64f value, GdkMeasurementDecision decision)
Sets the measurement output at a specified index.
Represents a collection of vector graphics.
kStatus GdkToolOutput_SetRendering(GdkToolOutput output, kSize index, GdkGraphic graphic)
Sets the measurement rendering at a specified index.
Declares the GdkGraphic class.
Represents a measurement result decision.
Represents a tool output collection.