GoWebScan API
GoWebScanProfileInputMsg.h
Go to the documentation of this file.
1 /**
2 * @file GoWebScanProfileInputMsg.h
3 * @brief Declares a GoWebScanProfileInputMsg object.
4 *
5 * @internal
6 * Copyright (C) 2017-2026 by LMI Technologies Inc.
7 * Licensed under the MIT License.
8 * Redistributed files must retain the above copyright notice.
9 */
10 #ifndef GO_SCANNER_PROFILE_INPUT_MSG_H
11 #define GO_SCANNER_PROFILE_INPUT_MSG_H
12 
16 #include <GoSdk/GoSdk.h>
17 
18 /**
19 * @class GoWebScanProfileInputMsg
20 * @extends GoWebScanPipeMsg
21 * @ingroup GoWebScanSdk-Messages
22 * @brief Represents a message containing a raw profile message from a sensor.
23 */
25 
26 /**
27 * Constructs a GoWebScanProfileInputMsg object.
28 *
29 * @public @memberof GoWebScanProfileInputMsg
30 * @param msg Receives the constructed GoWebScanProfileInputMsg object.
31 * @param pool Message pool of GoWebScanProfileInputMsg objects
32 * @param allocator Memory allocator (or kNULL for default).
33 * @return Operation status.
34 */
36 
37 /**
38 * Destroys a GoWebScanProfileInputMsg object.
39 *
40 * @public @memberof GoWebScanProfileInputMsg
41 * @param msg GoWebScanProfileInputMsg object.
42 * @return Operation status.
43 */
45 
46 /**
47  * Imports a GoProfilePointCloudMsg msg into a GoWebScanProfileInputMsg object. The messages are
48  * cloned into internal objects. As such, the GoProfilePointCloudMsg object is still owned by the
49  * calling function and must be destroyed by it.
50  *
51  * @public @memberof GoWebScanProfileInputMsg
52  * @param msg GoWebScanProfileInputMsg object.
53  * @param deviceId Serial number of device from which message originates.
54  * @param stampMsg Message stamp.
55  * @param profileMsg Profile message.
56  * @param config System configuration.
57  * @return Operation status.
58  */
60 
61 /**
62 * Gets the size, in bytes, of the profile data buffer.
63 *
64 * @public @memberof GoWebScanProfileInputMsg
65 * @param msg GoWebScanProfileInputMsg object.
66 * @return Buffer size (bytes).
67 */
69 
70 /**
71 * Gets the count of profile arrays in this message.
72 *
73 * @public @memberof GoWebScanProfileInputMsg
74 * @param msg GoWebScanProfileInputMsg object.
75 * @return Profile array count.
76 */
78 
79 /**
80 * Gets the width of profile arrays in this message
81 *
82 * @public @memberof GoWebScanProfileInputMsg
83 * @param msg GoWebScanProfileInputMsg object.
84 * @return Profile array width.
85 */
87 
88 /**
89 * Gets a pointer to the message attributes for a profile array.
90 *
91 * @public @memberof GoWebScanProfileInputMsg
92 * @param msg GoWebScanProfileInputMsg object.
93 * @param rowIndex Profile message index.
94 * @return Pointer to profile message attributes.
95 */
97 
98 /**
99 * Gets a pointer to the start of a profile array at a given index.
100 *
101 * @public @memberof GoWebScanProfileInputMsg
102 * @param msg GoWebScanProfileInputMsg object.
103 * @param rowIndex Profile message index.
104 * @return Pointer to profile array.
105 */
107 
108 #include <GoWebScanSdk/GoWebScanProfileInputMsg.x.h>
109 
110 #endif
111 
kStatus GoWebScanProfileInputMsg_Destroy(GoWebScanProfileInputMsg msg)
Destroys a GoWebScanProfileInputMsg object.
kSize GoWebScanProfileInputMsg_Count(GoWebScanProfileInputMsg msg)
Gets the count of profile arrays in this message.
Represents a message containing a raw profile message from a sensor.
kPoint16s * GoWebScanProfileInputMsg_DataAt(GoWebScanProfileInputMsg msg, kSize rowIndex)
Gets a pointer to the start of a profile array at a given index.
kStatus GoWebScanProfileInputMsg_Construct(GoWebScanProfileInputMsg *msg, GoWebScanPipeMsgPool pool, kAlloc allocator)
Constructs a GoWebScanProfileInputMsg object.
Declares the GoWebScanPipeMsg class.
Essential GoWebScan declarations.
kSize GoWebScanProfileInputMsg_Width(GoWebScanProfileInputMsg msg)
Gets the width of profile arrays in this message.
kStatus GoWebScanProfileInputMsg_Import(GoWebScanProfileInputMsg msg, k32s deviceId, GoStampMsg stampMsg, GoProfilePointCloudMsg profileMsg, GoWebScanConfig config)
Imports a GoProfilePointCloudMsg msg into a GoWebScanProfileInputMsg object.
Represents the attributes of an input GoWebScan message object. These values are copied from the raw ...
Definition: GoWebScanSdkDef.h:527
GoWebScanInputAttr * GoWebScanProfileInputMsg_AttrAt(GoWebScanProfileInputMsg msg, kSize rowIndex)
Gets a pointer to the message attributes for a profile array.
Represents a pool of GoWebScanPipeMsg objects. The pool allocates GoWebScanPipeMsg objects with a def...
Base class for a msg that can be processed with a GoWebScanPipeTask and submitted to the GoWebScanPip...
kSize GoWebScanProfileInputMsg_Size(GoWebScanProfileInputMsg msg)
Gets the size, in bytes, of the profile data buffer.
Represents a container for system-level parameters which are translated from user parameters set in G...
Declares a GoWebScanConfig object.