GoWebScan API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
GoWebScanCalInputItem.h
Go to the documentation of this file.
1 /**
2 * @file GoWebScanCalInputItem.h
3 * @brief Declares a GoWebScanCalInputItem object.
4 *
5 * @internal
6 * Copyright (C) 2017-2022 by LMI Technologies Inc.
7 * Licensed under the MIT License.
8 * Redistributed files must retain the above copyright notice.
9 */
10 
11 #ifndef GO_WEB_SCAN_CAL_INPUT_ITEM_H
12 #define GO_WEB_SCAN_CAL_INPUT_ITEM_H
13 
15 
16 /**
17 * @struct GoWebScanCalInputStamp
18 * @extends kValue
19 * @ingroup GoWebScanSdk-Calibration
20 * @brief Represents a stamp containing properties of the input message.
21 */
22 typedef struct GoWebScanCalInputStamp
23 {
24  GoWebScanDataSource source; ///< Data source of message.
25  GoWebScanSystemPlane plane; ///< System plane of message.
26  k32s column; ///< Node column index.
27  k32s deviceId; ///< Sensor ID. Profile ID for vision systems.
28  k32s bankId; ///< Bank index.
29  k64s position; ///< Y-axis position (mils).
30  k64s timeStamp; ///< Timestamp of message (internal units approximating microseconds). See GoStamp.
31  k64s frame; ///< Frame index.
32  k64s encoder; ///< Encoder value (ticks).
34 
35 /**
36 * @class GoWebScanCalInputItem
37 * @extends kObject
38 * @ingroup GoWebScanSdk-Calibration
39 * @brief Represents a raw sensor message used for calibration collection
40 * and processing.
41 */
43 
44 /**
45  * Constructs a GoWebScanCalInputItem object.
46  *
47  * @public @memberof GoWebScanCalInputItem
48  * @param item Receives the constructed GoWebScanCalInputItem object.
49  * @param allocator Memory allocator (or kNULL for default).
50  * @return Operation status.
51  */
53 
54 /**
55  * Clones a GoWebScanCalInputItem object.
56  *
57  * @public @memberof GoWebScanCalInputItem
58  * @param item GoWebScanCalInputItem object.
59  * @param clone Receives the constructed cloned GoWebScanCalInputItem object.
60  * @return Operation status.
61  */
63 
64 /**
65  * Sets the stamp for an input item.
66  *
67  * @public @memberof GoWebScanCalInputItem
68  * @param item GoWebScanCalInputItem object.
69  * @param stamp Stamp of input item.
70  * @return Operation status.
71  */
73 
74 /**
75 * Gets a pointer to the stamp for an input item.
76 *
77 * @public @memberof GoWebScanCalInputItem
78 * @param item GoWebScanCalInputItem object.
79 * @return Pointer to stamp of input item.
80 */
82 
83 /**
84  * Adds data to an input item. The class takes ownership of the data object.
85  *
86  * @public @memberof GoWebScanCalInputItem
87  * @param item GoWebScanCalInputItem object.
88  * @param data Message data.
89  * @return Operation status.
90  */
92 
93 /**
94 * Gets data of an input item. The class continues to own the data object.
95 *
96 * @public @memberof GoWebScanCalInputItem
97 * @param item GoWebScanCalInputItem object.
98 * @return Message data.
99 */
101 
102 #include <GoWebScanSdk/GoWebScanCalInputItem.x.h>
103 
104 #endif
k64s frame
Frame index.
Definition: GoWebScanCalInputItem.h:31
kStatus GoWebScanCalInputItem_Clone(GoWebScanCalInputItem item, GoWebScanCalInputItem *clone)
Clones a GoWebScanCalInputItem object.
kStatus GoWebScanCalInputItem_Construct(GoWebScanCalInputItem *item, kAlloc allocator)
Constructs a GoWebScanCalInputItem object.
k32s bankId
Bank index.
Definition: GoWebScanCalInputItem.h:28
kObject GoWebScanCalInputItem_Data(GoWebScanCalInputItem item)
Gets data of an input item.
GoWebScanSystemPlane plane
System plane of message.
Definition: GoWebScanCalInputItem.h:25
GoWebScanCalInputStamp * GoWebScanCalInputItem_GetStamp(GoWebScanCalInputItem item)
Gets a pointer to the stamp for an input item.
Represents a type of sensor data.
Essential GoWebScan declarations.
GoWebScanDataSource source
Data source of message.
Definition: GoWebScanCalInputItem.h:24
k64s timeStamp
Timestamp of message (internal units approximating microseconds). See GoStamp.
Definition: GoWebScanCalInputItem.h:30
k32s deviceId
Sensor ID. Profile ID for vision systems.
Definition: GoWebScanCalInputItem.h:27
Represents a raw sensor message used for calibration collection and processing.
kStatus GoWebScanCalInputItem_SetStamp(GoWebScanCalInputItem item, GoWebScanCalInputStamp *stamp)
Sets the stamp for an input item.
k32s column
Node column index.
Definition: GoWebScanCalInputItem.h:26
k64s encoder
Encoder value (ticks).
Definition: GoWebScanCalInputItem.h:32
Represents a stamp containing properties of the input message.
Definition: GoWebScanCalInputItem.h:22
Represents the top or bottom plane of the system.
kStatus GoWebScanCalInputItem_SetData(GoWebScanCalInputItem item, kObject data)
Adds data to an input item.
k64s position
Y-axis position (mils).
Definition: GoWebScanCalInputItem.h:29