Gocator API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
GoDataSet.h
Go to the documentation of this file.
1 /**
2  * @file GoDataSet.h
3  * @brief Declares the GoDataSet class.
4  *
5  * @internal
6  * Copyright (C) 2015 by LMI Technologies Inc.
7  * Licensed under the MIT License.
8  * Redistributed files must retain the above copyright notice.
9  */
10 #ifndef GO_SDK_DATA_SET_H
11 #define GO_SDK_DATA_SET_H
12 
13 #include <GoSdk/GoSdkDef.h>
14 kBeginHeader()
15 
16 /**
17  * @class GoDataSet
18  * @extends kObject
19  * @ingroup GoSdk-Data
20  * @brief Represents a collection of data channel or health channel messages.
21  */
22 typedef kObject GoDataSet;
23 
24 /**
25  * Gets the sender ID (serial number) associated with this message collection.
26  *
27  * @public @memberof GoDataSet
28  * @version Introduced in firmware 4.0.10.27
29  * @param set Message collection.
30  * @return Sender ID.
31  */
32 GoFx(k32u) GoDataSet_SenderId(GoDataSet set);
33 
34 /**
35  * Returns the message count in this collection.
36  *
37  * @public @memberof GoDataSet
38  * @version Introduced in firmware 4.0.10.27
39  * @param set Message collection.
40  * @return Count of messages.
41  */
42 GoFx(kSize) GoDataSet_Count(GoDataSet set);
43 
44 /**
45  * Gets the message at the specified index.
46  *
47  * @public @memberof GoDataSet
48  * @version Introduced in firmware 4.0.10.27
49  * @param set Message collection.
50  * @param index Message index.
51  * @return Message object.
52  */
53 GoFx(kObject) GoDataSet_At(GoDataSet set, kSize index);
54 
55 kEndHeader()
56 #include <GoSdk/Messages/GoDataSet.x.h>
57 
58 #endif
kSize GoDataSet_Count(GoDataSet set)
Returns the message count in this collection.
k32u GoDataSet_SenderId(GoDataSet set)
Gets the sender ID (serial number) associated with this message collection.
Essential SDK declarations.
Represents a collection of data channel or health channel messages.
kObject GoDataSet_At(GoDataSet set, kSize index)
Gets the message at the specified index.